Skip to content

[feature request] Additional Dynamic Metric Tags #6805

@mseada94

Description

@mseada94

Package

OpenTelemetry

Is your feature request related to a problem?

I am building a multitenant application and I want to be able to collect the metrics from the existing instrumentation packages with additional tag having the TeantIdentifier so that I will be able to separate the telemetry data for each tenant.

I need a way to extend the metric tags on the creation moment not on the exporters, I can't find any possible approach.

What is the expected behavior?

Provide extension point on the SDK that allow adding dynamic metric tags from the scoped context using ServiceProvider services

Which alternative solutions or features have you considered?

I can't find alternative

Additional context

No response

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

    Labels

    enhancementNew feature or requestneeds-triageNew issues which have not been classified or triaged by a community memberpkg:OpenTelemetryIssues related to OpenTelemetry NuGet package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions