Skip to content

Commit

Permalink
Merge pull request #3044 from KyriosGN0/tempo-distributed-fix-service…
Browse files Browse the repository at this point in the history
…-monitor

[tempo-distributed] fix service monitor
  • Loading branch information
zanhsieh authored May 1, 2024
2 parents 3845cfd + 3f4a3d5 commit f073467
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/tempo-distributed/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: tempo-distributed
description: Grafana Tempo in MicroService mode
type: application
version: 1.9.4
version: 1.9.5
appVersion: 2.4.1
engine: gotpl
home: https://grafana.com/docs/tempo/latest/
Expand Down
2 changes: 1 addition & 1 deletion charts/tempo-distributed/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tempo-distributed

![Version: 1.9.4](https://img.shields.io/badge/Version-1.9.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.4.1](https://img.shields.io/badge/AppVersion-2.4.1-informational?style=flat-square)
![Version: 1.9.5](https://img.shields.io/badge/Version-1.9.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.4.1](https://img.shields.io/badge/AppVersion-2.4.1-informational?style=flat-square)

Grafana Tempo in MicroService mode

Expand Down
3 changes: 2 additions & 1 deletion charts/tempo-distributed/templates/lib/service-monitor.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ spec:
scrapeTimeout: {{ . }}
{{- end }}
relabelings:
- sourceLabels: [job]
- action: replace
sourceLabels: [job]
replacement: "{{ $.ctx.Release.Namespace }}/{{ $.component }}"
targetLabel: job
{{- if kindIs "string" .clusterLabel }}
Expand Down

0 comments on commit f073467

Please sign in to comment.