blob: 794394ba6af91766151adb8949597911bc86e8d1 [file] [log] [blame]
Hung-Wei Chiue3c15972021-04-28 15:52:09 -07001{{/*
2# Copyright 2021-present Open Networking Foundation
3
4# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
5*/}}
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 }}