Skip to content

Commit

Permalink
prometheus-statsd-exporter - Fix statsd service monitor config (prome…
Browse files Browse the repository at this point in the history
…theus-community#732)

Addresses prometheus-community#649
Signed-off-by: Duncan Schulze <[email protected]>
  • Loading branch information
duncaan authored Mar 10, 2021
1 parent 46c8e5a commit 8318ce1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/prometheus-statsd-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: prometheus-statsd-exporter
description: A Helm chart for prometheus stats-exporter
version: 0.3.0
version: 0.3.1
appVersion: 0.20.0
home: https://github.com/prometheus/statsd_exporter
sources:
Expand Down
2 changes: 1 addition & 1 deletion charts/prometheus-statsd-exporter/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ Check if there is any mappings available
{{- if .Values.statsd.mappingConfigMapName }}
{{ default .Values.statsd.mappingConfigMapName }}
{{- else }}
{{ template "prometheus-statsd-exporter.fullname" . }}
{{- template "prometheus-statsd-exporter.fullname" . -}}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ metadata:
spec:
selector:
matchLabels:
app.kubernetes.io/component: metrics
{{- include "prometheus-statsd-exporter.selectorLabels" . | nindent 6 }}
endpoints:
- port: metrics
- port: http
path: "/metrics"
{{- if .Values.serviceMonitor.interval }}
interval: {{ .Values.serviceMonitor.interval }}
Expand Down

0 comments on commit 8318ce1

Please sign in to comment.