blob: 60b1a437feb85e3fe5075d34a019181cc5c71a57 [file] [log] [blame]
Hung-Wei Chiue3c15972021-04-28 15:52:09 -07001{{/*
2# Copyright 2021-present Open Networking Foundation
3
Scott Baker4cad5ee2022-06-09 14:17:35 -07004# SPDX-License-Identifier: Apache-2.0
Hung-Wei Chiue3c15972021-04-28 15:52:09 -07005*/}}
6
7apiVersion: monitoring.coreos.com/v1
8kind: ServiceMonitor
9metadata:
10 name: tost-telegraf
11spec:
12 selector:
13 matchLabels:
14 app.kubernetes.io/name: telegraf
15 endpoints:
16 - port: prometheus-client
17 path: /metrics
18 scheme: HTTP
Yi Tseng3e5a15f2021-10-22 17:58:36 -070019 interval: {{ .Values.service_monitor_interval }}