code/etcd-inmemory-monitoring/servicemonitor.yaml

18 lines
330 B
YAML
Raw Normal View History

2023-04-10 18:52:24 +00:00
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: pantherbackupmonitoring
namespace: monitoring
spec:
endpoints:
- honorLabels: true
path: /metrics
port: http
scheme: http
scrapeTimeout: 30s
selector:
matchLabels:
app: pantherbackupmonitoring
targetLabels:
- app