Skip to content

Commit

Permalink
feat: Expose configuration for transformation of metric labels (promi…
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveOHenry authored Jul 8, 2021
1 parent 04174e1 commit 874483e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions promitor-agent-scraper/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ data:
metricUnavailableValue: {{ .Values.metricSinks.prometheusScrapingEndpoint.metricUnavailableValue | quote }}
enableMetricTimestamps: {{ .Values.metricSinks.prometheusScrapingEndpoint.enableMetricTimestamps | quote }}
baseUriPath: {{ .Values.metricSinks.prometheusScrapingEndpoint.baseUriPath | quote }}
labels:
transformation: {{ .Values.metricSinks.prometheusScrapingEndpoint.labelTransformation | quote }}
{{- end }}
{{- if .Values.metricSinks.atlassianStatuspage.enabled }}
atlassianStatuspage:
Expand Down
1 change: 1 addition & 0 deletions promitor-agent-scraper/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ metricSinks:
baseUriPath: /metrics
enableMetricTimestamps: true
metricUnavailableValue: NaN
labelTransformation: None
enableServiceDiscovery: true
serviceMonitor:
enabled: false
Expand Down

0 comments on commit 874483e

Please sign in to comment.