kyverno / reports-server

Alternate reports storage in Kubernetes outside etcd
Apache License 2.0
16 stars 8 forks source link

Enable builtin metrics and add default ServiceMonitor #159

Closed stone-z closed 1 month ago

stone-z commented 2 months ago

Towards https://github.com/kyverno/reports-server/issues/118

Enables the default unauthenticated endpoint for scraping the built-in apiserver and go metrics. Also adds a ServiceMonitor to have the metrics scraped by Prometheus.

stone-z commented 2 months ago

Looks like the ServiceMonitor CRD doesn't actually exist in e2e tests. Happy to proceed however the maintainers like

stone-z commented 1 month ago

I realized that the main kyverno project does not enable the ServiceMonitor by default, so I've kept that behavior for this project.

stone-z commented 1 month ago

The codecov failure is due to rate limiting, which I think is unrelated to these changes