Skip to content

Commit

Permalink
Config to specify tags to be excluded in prometheus metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
prathyushpv committed Sep 26, 2024
1 parent 5979785 commit 5947d76
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/temporal/templates/server-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ data:
{{- with $server.metrics.tags }}
{{- toYaml . | nindent 10 }}
{{- end }}
excludeTags:
{{- with $server.metrics.excludeTags }}
{{- toYaml . | nindent 10 }}
{{- end }}
{{- with $server.config.prometheus }}
prometheus:
{{- toYaml . | nindent 10 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/temporal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ server:
enabled: true
# Additional tags to be added to Prometheus metrics
tags: {}
# Tags to be excluded in Prometheus metrics
excludeTags: {}
# Enable Prometheus ServiceMonitor
# Use this if you installed the Prometheus Operator (https://github.com/coreos/prometheus-operator).
serviceMonitor:
Expand Down

0 comments on commit 5947d76

Please sign in to comment.