Files
infrastructure/clusters/cl01tl/manifests/shelly-plug/ServiceMonitor-shelly-plug.yaml

25 lines
588 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: shelly-plug
labels:
app.kubernetes.io/instance: shelly-plug
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: shelly-plug
helm.sh/chart: shelly-plug-4.5.0
namespace: shelly-plug
spec:
jobLabel: "shelly-plug"
namespaceSelector:
matchNames:
- shelly-plug
selector:
matchLabels:
app.kubernetes.io/instance: shelly-plug
app.kubernetes.io/name: shelly-plug
endpoints:
- interval: 30s
path: /metrics
port: metrics
scrapeTimeout: 10s