kube-prometheus/manifests/examples/example-app/servicemonitor-frontend.yaml
2016-10-24 16:54:48 +02:00

14 lines
241 B
YAML

apiVersion: prometheus.coreos.com/v1alpha1
kind: ServiceMonitor
metadata:
name: frontend
namespace: default
labels:
team: frontend
spec:
selector:
matchLabels:
team: frontend
endpoints:
- port: web
interval: 10s