feat: implement ThanosClient for historical data queries and hybrid Prometheus+Thanos architecture
This commit is contained in:
@@ -91,6 +91,11 @@ spec:
|
||||
configMapKeyRef:
|
||||
name: resource-governance-config
|
||||
key: PROMETHEUS_URL
|
||||
- name: THANOS_URL
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: resource-governance-config
|
||||
key: THANOS_URL
|
||||
- name: REPORT_EXPORT_PATH
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
|
||||
@@ -23,6 +23,9 @@ data:
|
||||
# URL do Prometheus
|
||||
PROMETHEUS_URL: "https://prometheus-k8s.openshift-monitoring.svc.cluster.local:9091"
|
||||
|
||||
# URL do Thanos
|
||||
THANOS_URL: "https://thanos-query.openshift-monitoring.svc.cluster.local:9091"
|
||||
|
||||
# Configurações de relatório
|
||||
REPORT_EXPORT_PATH: "/tmp/reports"
|
||||
|
||||
|
||||
@@ -103,6 +103,11 @@ spec:
|
||||
configMapKeyRef:
|
||||
name: resource-governance-config
|
||||
key: PROMETHEUS_URL
|
||||
- name: THANOS_URL
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: resource-governance-config
|
||||
key: THANOS_URL
|
||||
- name: REPORT_EXPORT_PATH
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
|
||||
Reference in New Issue
Block a user