Skip to content

Support custom metrics provider for controller_runtime metrics #3094

@jonathan-innis

Description

@jonathan-innis
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.

Activity

changed the title [-]Support registering a custom metrics provider for `controller_runtime` metrics[/-] [+]Support custom metrics provider for `controller_runtime` metrics[/+] on Jan 28, 2025
k8s-triage-robot

k8s-triage-robot commented on Apr 28, 2025

@k8s-triage-robot

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

added
lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.
on Apr 28, 2025
jonathan-innis

jonathan-innis commented on May 5, 2025

@jonathan-innis
MemberAuthor

/remove-lifecycle stale

removed
lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.
on May 5, 2025
austince

austince commented on Jul 8, 2025

@austince

Related #2238

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @austince@k8s-ci-robot@jonathan-innis@k8s-triage-robot

      Issue actions

        Support custom metrics provider for `controller_runtime` metrics · Issue #3094 · kubernetes-sigs/controller-runtime