canonical / prometheus-k8s-operator

https://charmhub.io/prometheus-k8s
Apache License 2.0
21 stars 35 forks source link

validate incoming scrape jobs #441

Closed dstathis closed 1 year ago

dstathis commented 1 year ago

Issue

Fixes #314

Solution

Create a minimal Prometheus config and check it with cos-tool.

Testing Instructions

Provide an invalid scrape config and check that it does not get written to disk.

Release Notes

Prometheus-k8s now validates incoming scrape jobs