Skip to content

Commit 1c3f7b3

Browse files
Merge pull request #3935 from stuarta/tempo-distributed-fix-servicemonitor-for-use-with-argocd
[tempo-distributed] Add action to the servicemonitor relabling for the cluster label
2 parents 70951e3 + f0fa131 commit 1c3f7b3

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

charts/tempo-distributed/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: tempo-distributed
33
description: Grafana Tempo in MicroService mode
44
type: application
5-
version: 1.51.0
5+
version: 1.51.1
66
appVersion: 2.9.0
77
engine: gotpl
88
home: https://grafana.com/docs/tempo/latest/

charts/tempo-distributed/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# tempo-distributed
22

3-
![Version: 1.51.0](https://img.shields.io/badge/Version-1.51.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.9.0](https://img.shields.io/badge/AppVersion-2.9.0-informational?style=flat-square)
3+
![Version: 1.51.1](https://img.shields.io/badge/Version-1.51.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.9.0](https://img.shields.io/badge/AppVersion-2.9.0-informational?style=flat-square)
44

55
Grafana Tempo in MicroService mode
66

charts/tempo-distributed/templates/lib/service-monitor.tpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ spec:
5252
replacement: "{{ $.ctx.Release.Namespace }}/{{ $.component }}"
5353
targetLabel: job
5454
{{- if kindIs "string" .clusterLabel }}
55-
- replacement: "{{ .clusterLabel | default (include "tempo.clusterName" $.ctx) }}"
55+
- action: replace
56+
replacement: "{{ .clusterLabel | default (include "tempo.clusterName" $.ctx) }}"
5657
targetLabel: cluster
5758
{{- end }}
5859
{{- with .relabelings }}

0 commit comments

Comments
 (0)