Skip to content

spanmetrics: Add a default namespace #32818

@gouthamve

Description

@gouthamve

Component(s)

connector/spanmetrics

Is your feature request related to a problem? Please describe.

calls and duration are the default metrics output by the spanmetrics connector. They are pretty bad default names imo, and converting them into Prometheus yields calls_total and duration_seconds_.* which are also pretty bad.

It is different in servicegraph connector with traces_service_graph_request_total . It's just a better metric name.

Describe the solution you'd like

Make traces.span.metrics as the default for namespace , so the metrics end up being traces_span_metrics_calls_total.

Describe alternatives you've considered

No response

Additional context

No response

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