controller-runtime icon indicating copy to clipboard operation
controller-runtime copied to clipboard

Support custom metrics provider for `controller_runtime` metrics

Open jonathan-innis opened this issue 11 months ago • 5 comments

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 avatar Jan 28 '25 17:01 jonathan-innis

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-triage-robot avatar Apr 28 '25 18:04 k8s-triage-robot

/remove-lifecycle stale

jonathan-innis avatar May 05 '25 06:05 jonathan-innis

Related https://github.com/kubernetes-sigs/controller-runtime/issues/2238

austince avatar Jul 08 '25 14:07 austince

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-triage-robot avatar Oct 06 '25 14:10 k8s-triage-robot

/remove-lifecycle stale

jonathan-innis avatar Oct 07 '25 05:10 jonathan-innis