Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable builtin metrics and add default ServiceMonitor #159

Merged
merged 8 commits into from
Jul 10, 2024

Conversation

stone-z
Copy link
Contributor

@stone-z stone-z commented Jul 4, 2024

Towards #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
Copy link
Contributor Author

stone-z commented Jul 4, 2024

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

@stone-z stone-z mentioned this pull request Jul 4, 2024
stone-z and others added 6 commits July 9, 2024 08:57
Signed-off-by: Zach Stone <zach@giantswarm.io>
Signed-off-by: Zach Stone <zach@giantswarm.io>
…yverno#119)

Signed-off-by: Mike Dougherty <mike.dougherty@missionlane.com>
Co-authored-by: Jim Bugwadia <jim@nirmata.com>
Signed-off-by: Zach Stone <zach@giantswarm.io>
Signed-off-by: Zach Stone <zach@giantswarm.io>
Signed-off-by: Zach Stone <zach@giantswarm.io>
Signed-off-by: Zach Stone <zach@giantswarm.io>
Signed-off-by: Zach Stone <zach@giantswarm.io>
Signed-off-by: Zach Stone <zach@giantswarm.io>
@stone-z
Copy link
Contributor Author

stone-z commented Jul 9, 2024

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
Copy link
Contributor Author

stone-z commented Jul 9, 2024

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

@vishal-chdhry vishal-chdhry merged commit a52d85d into kyverno:main Jul 10, 2024
18 of 19 checks passed
@stone-z stone-z deleted the default-metrics branch July 10, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants