pokerface/k8s/servicemonitor.yaml
Jan Willem Mannaerts ae3569e897
All checks were successful
Build & Push Container Image / build (push) Successful in 4s
Add Kubernetes manifests for Grafana dashboard and Prometheus scraping
ConfigMap with grafana_dashboard label for sidecar auto-discovery,
and ServiceMonitor for kube-prometheus-stack scrape target.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 01:06:19 +01:00

18 lines
337 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: pokerface
namespace: monitoring
labels:
release: kube-prometheus-stack
spec:
namespaceSelector:
matchNames:
- pokerface
selector:
matchLabels:
app: pokerface
endpoints:
- port: http
path: /metrics
interval: 15s