ServiceMonitor Template missing labels
This template does not include labels from service monitor while creating serviceMonitor via helm values.
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ include "livekit-server.serviceMonitorName" . }}
labels:
{{- include "livekit-server.labels" . | nindent 4 }}
{{- with .Values.serviceMonitor.annotations }}
annotations:
# helm-values.yaml
serviceMonitor:
create: true
interval: 15s
labels:
release: prometheus
The template only takes labels from root "livekit-server" but this line is missing and it does not expose metrics to prometheus operator.
{{- with .Values.serviceMonitor.labels }}
Please check and update the template.
ServiceMonitor Template missing labels
This template does not include labels from service monitor while creating serviceMonitor via helm values.
The template only takes labels from root "livekit-server" but this line is missing and it does not expose metrics to prometheus operator.
{{- with .Values.serviceMonitor.labels }}
Please check and update the template.