Skip to content

Commit 2ad707a

Browse files
erikevertsjkroepke
andauthored
[kube-prometheus-stack]Add urlDisplayLabel to exemplar config (#5341)
Co-authored-by: Jan-Otto Kröpke <github@jkroepke.de>
1 parent 533d516 commit 2ad707a

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

charts/kube-prometheus-stack/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ name: kube-prometheus-stack
3131
sources:
3232
- https://github.com/prometheus-community/helm-charts
3333
- https://github.com/prometheus-operator/kube-prometheus
34-
version: 69.4.0
34+
version: 69.4.1
3535
appVersion: v0.80.0
3636
kubeVersion: ">=1.19.0-0"
3737
home: https://github.com/prometheus-operator/kube-prometheus

charts/kube-prometheus-stack/templates/grafana/configmaps-datasources.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ data:
4545
exemplarTraceIdDestinations:
4646
- datasourceUid: {{ .Values.grafana.sidecar.datasources.exemplarTraceIdDestinations.datasourceUid }}
4747
name: {{ .Values.grafana.sidecar.datasources.exemplarTraceIdDestinations.traceIdLabelName }}
48+
urlDisplayLabel: {{ .Values.grafana.sidecar.datasources.exemplarTraceIdDestinations.urlDisplayLabel }}
4849
{{- end }}
4950
{{- if .Values.grafana.sidecar.datasources.createPrometheusReplicasDatasources }}
5051
{{- range until (int .Values.prometheus.prometheusSpec.replicas) }}
@@ -60,6 +61,7 @@ data:
6061
exemplarTraceIdDestinations:
6162
- datasourceUid: {{ $.Values.grafana.sidecar.datasources.exemplarTraceIdDestinations.datasourceUid }}
6263
name: {{ $.Values.grafana.sidecar.datasources.exemplarTraceIdDestinations.traceIdLabelName }}
64+
urlDisplayLabel: {{ .Values.grafana.sidecar.datasources.exemplarTraceIdDestinations.urlDisplayLabel }}
6365
{{- end }}
6466
{{- end }}
6567
{{- end }}

charts/kube-prometheus-stack/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,6 +1346,7 @@ grafana:
13461346
exemplarTraceIdDestinations: {}
13471347
# datasourceUid: Jaeger
13481348
# traceIdLabelName: trace_id
1349+
# urlDisplayLabel: View traces
13491350
alertmanager:
13501351
enabled: true
13511352
name: Alertmanager

0 commit comments

Comments
 (0)