1bbcb8e28a
Validate Flux manifests / kustomize-build (pull_request) Failing after 17s
- flux/monitoring/prometheusrule-apis.yaml: extend all 5 SLO alert rules to include vin-decoder in the job regex filter - flux/monitoring/grafana-dashboard-apis.yaml: update all PromQL expressions to include vin-decoder in the api regex filter; update dashboard description - flux/monitoring/vin-decoder-dashboard.yaml: new dedicated Grafana dashboard for VIN Decoder showing request rate by route, 5xx error rate, P50/P95/P99 latency by route, and data freshness gauge - flux/monitoring/kustomization.yaml: add vin-decoder-dashboard.yaml - flux/vin-decoder/servicemonitor.yaml: Prometheus ServiceMonitor for auto-discovery of /metrics on the vin-decoder service - flux/vin-decoder/kustomization.yaml: add servicemonitor.yaml Closes leeworks-agents/api-company#129
16 lines
287 B
YAML
16 lines
287 B
YAML
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
name: vin-decoder
|
|
namespace: vin-decoder
|
|
labels:
|
|
release: kube-prometheus-stack
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: vin-decoder
|
|
endpoints:
|
|
- port: http
|
|
path: /metrics
|
|
interval: 30s
|