1
0
mirror of synced 2026-02-06 19:05:55 +00:00

Change labels in prometheus and grafana dashboard

Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
This commit is contained in:
Somtochi Onyekwere
2021-05-06 10:20:48 +01:00
parent 8922753591
commit be65cf8052
4 changed files with 15 additions and 15 deletions

View File

@@ -19,7 +19,7 @@ spec:
serviceAccountName: prometheus
containers:
- name: prometheus
image: prom/prometheus:v2.21.0
image: prom/prometheus:v2.26.0
imagePullPolicy: IfNotPresent
args:
- '--storage.tsdb.retention=2h'

View File

@@ -45,8 +45,8 @@ scrape_configs:
- action: replace
source_labels:
- __meta_kubernetes_namespace
target_label: kubernetes_namespace
target_label: namespace
- action: replace
source_labels:
- __meta_kubernetes_pod_name
target_label: kubernetes_pod_name
target_label: pod