Sha256: c372d089b8e2926b05528b61caa03a15a247492164f3eb37abb6b1089e2863ac

Contents?: true

Size: 851 Bytes

Versions: 5

Compression:

Stored size: 851 Bytes

Contents

{{- if .Values.serviceMonitor.enabled }}
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: {{ template "sidekiq-prometheus-exporter.fullname" . }}
  namespace: {{ .Release.Namespace | quote }}
  labels:
    {{- include "sidekiq-prometheus-exporter.labels" . | nindent 4 }}
    {{- with .Values.serviceMonitor.labels }}
      {{- toYaml . | nindent 4 }}
    {{- end }}
spec:
  jobLabel: {{ template "sidekiq-prometheus-exporter.fullname" . }}
  selector:
    matchLabels:
      {{- include "sidekiq-prometheus-exporter.labels" . | nindent 6 }}
  namespaceSelector:
    matchNames:
      - {{ .Release.Namespace | quote }}
  endpoints:
  - port: metrics
    path: {{ .Values.serviceMonitor.path }}
    interval: {{ .Values.serviceMonitor.interval }}
    scrapeTimeout: {{ .Values.serviceMonitor.scrapeTimeout }}
{{- end }}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sidekiq-prometheus-exporter-0.2.0 helm/sidekiq-prometheus-exporter/templates/servicemonitor.yaml
sidekiq-prometheus-exporter-0.1.17 helm/sidekiq-prometheus-exporter/templates/servicemonitor.yaml
sidekiq-prometheus-exporter-0.1.16 helm/sidekiq-prometheus-exporter/templates/servicemonitor.yaml
sidekiq-prometheus-exporter-0.1.15 helm/sidekiq-prometheus-exporter/templates/servicemonitor.yaml
sidekiq-prometheus-exporter-0.1.14 helm/sidekiq-prometheus-exporter/templates/servicemonitor.yaml