diff --git a/chart/templates/backend/servicemonitor.yaml b/chart/templates/backend/servicemonitor.yaml index d78ad51..86771ac 100644 --- a/chart/templates/backend/servicemonitor.yaml +++ b/chart/templates/backend/servicemonitor.yaml @@ -5,7 +5,7 @@ metadata: labels: {{- include "backend.labels.standard" . | nindent 4 }} prometheus: pitc metrics-monitoring: "true" - name: metrics-monitoring + name: {{ include "common.names.fullname" . }}-servicemonitor namespace: {{ .Release.Namespace }} spec: endpoints: