Skip to content

[Feature]: Prometheus Metrics Abstraction #30394

@mladjan-gadzic

Description

@mladjan-gadzic

🚀 The feature, motivation and pitch

There is a need for OpenTelemetry metrics support.

Just adding OTel metrics support on top of current state of the project is going to increase maintenance effort. Any metric added to OTel needs to be added to Prometheus and vise-versa. To simplify it - instead of adding metric to a single place, it needs to be added to two places.

Because of above reasoning, the idea is to create metrics abstraction so that metrics are maintainable. To change or add new metrics - modification is needed only in one place. User can decide further whether he'd like to use Prometheus based metrics (default) or opt for OTel metrics or both.

Alternatives

No response

Additional context

For more context check this PR #30258

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions