blob: 0899a4443063656d6a61e283f4cd383cf07dc68a [file] [log] [blame]
{{- if eq .Values.prometheus_enable true }}
{{/*
# Copyright 2021-present Open Networking Foundation
# SPDX-License-Identifier: Apache-2.0
*/}}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: dbuf
labels:
{{- include "dbuf.labels" . | nindent 4 }}
spec:
selector:
matchLabels:
{{- include "dbuf.selectorLabels" . | nindent 6 }}
endpoints:
- port: exporter
path: /metrics
scheme: HTTP
{{ end }}