blob: 4290b0b971275801f7edb0460b37a6028730c036 [file] [log] [blame]
{{- if eq .Values.prometheus_enable true }}
{{/*
# Copyright 2021-present Open Networking Foundation
# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.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 }}