blob: 4290b0b971275801f7edb0460b37a6028730c036 [file] [log] [blame]
Hung-Wei Chiu3d470152021-03-03 10:47:55 -08001{{- if eq .Values.prometheus_enable true }}
2
3{{/*
4# Copyright 2021-present Open Networking Foundation
5
6# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
7*/}}
8
9apiVersion: monitoring.coreos.com/v1
10kind: ServiceMonitor
11metadata:
12 name: dbuf
13 labels:
14 {{- include "dbuf.labels" . | nindent 4 }}
15spec:
16 selector:
17 matchLabels:
18 {{- include "dbuf.selectorLabels" . | nindent 6 }}
19 endpoints:
20 - port: exporter
21 path: /metrics
22 scheme: HTTP
23{{ end }}