Skip to content

Is it possible to add a custom metadata identifier when using Exemplars? #1994

@Rebwon

Description

@Rebwon

Hello. We are currently upgrading from Prometheus old client 0.x to 1.x.

In the previous version, when using ExemplarSampler and Exemplar, the structure allowed us to include separate custom metadata, so in our system we used one additional identifier for management purposes.

However, while reviewing the 1.x version during the upgrade, it appears that the SpanContext and Exemplar classes only provide trace_id and span_id as identifiers, and do not seem to allow adding separate custom metadata. It is possible that I may have missed an extension point.

Is there any way to include a separate custom metadata identifier when using Exemplars?

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