Skip to content

Add request duration metrics as a gauge #4000

@pafi-code

Description

@pafi-code

What problem do you want to solve?

Currently in the otel middleware you define different sort of metrics.

One add the request duration as a histogram. What I would like to have is to see request duration over time via a gauge. Can this be done via the histogram data or do we need to add an additional metric here?

Describe the solution you'd like

Add an additional metric into the OpenTelemetryMiddleware.

Describe alternatives you've considered

No response

Additional Context

No response

Would you like to implement a fix?

Yes

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions