Skip to content

Use semantic metrics in the Service Dashboard #1595

@sgarfinkel

Description

@sgarfinkel

Now that Count is a supported aggregation function for histograms, it would be nice to swap over the metrics derived from traces to metric semantic conventions defined by OTEL since these aren't subject to sampling.

The main one would be http.server.request.duration which can be used to calculate throughput, error rate, etc. https://opentelemetry.io/docs/specs/semconv/http/http-metrics/#metric-httpserverrequestduration

Likewise, there is a semantic convention http.client.request.duration that could be used for displaying visualizations of outbound requests. Unfortunately, the low-cardinality path attribute is optional, but the Services tab could at least display external error per outbound host.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions