Skip to content

Support custom metrics provider for controller_runtime metrics #3094

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

Open
jonathan-innis opened this issue Jan 28, 2025 · 2 comments · May be fixed by #3213
Open

Support custom metrics provider for controller_runtime metrics #3094

jonathan-innis opened this issue Jan 28, 2025 · 2 comments · May be fixed by #3213

Comments

@jonathan-innis
Copy link
Member

We have use-cases for using different metric providers for metrics that are provided by controller runtime (e.g. printing EMF logs rather than using a Prometheus client). Currently, there is no way to register a custom metrics provider with controller runtime like is allowed through metrics like client-go.

Metrics are registered here but are statically configured to use Prometheus as their metric publisher. It would be great if we could support a similar provider registration mechanism like we have with client-go.

@jonathan-innis jonathan-innis changed the title Support registering a custom metrics provider for controller_runtime metrics Support custom metrics provider for controller_runtime metrics Jan 28, 2025
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 28, 2025
@jonathan-innis
Copy link
Member Author

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants