Hung-Wei Chiu | e3c1597 | 2021-04-28 15:52:09 -0700 | [diff] [blame] | 1 | {{/* |
| 2 | # Copyright 2021-present Open Networking Foundation |
| 3 | |
| 4 | # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
| 5 | */}} |
| 6 | |
| 7 | apiVersion: monitoring.coreos.com/v1 |
| 8 | kind: ServiceMonitor |
| 9 | metadata: |
| 10 | name: tost-telegraf |
| 11 | spec: |
| 12 | selector: |
| 13 | matchLabels: |
| 14 | app.kubernetes.io/name: telegraf |
| 15 | endpoints: |
| 16 | - port: prometheus-client |
| 17 | path: /metrics |
| 18 | scheme: HTTP |
Yi Tseng | 3e5a15f | 2021-10-22 17:58:36 -0700 | [diff] [blame] | 19 | interval: {{ .Values.service_monitor_interval }} |