Skip to content

Could we use add ENABLE_METRICS_LEGACY instead of using ENABLE_METRICS_PREVIEW to decide whether to use legacy metrics SDK and exporter? #1310

@owent

Description

@owent

Is your feature request related to a problem?

Could we use add ENABLE_METRICS_LEGACY instead of using ENABLE_METRICS_PREVIEW to decide whether to use legacy metrics SDK and exporter?

The legacy metrics depends RTTI, by use a new option, we can enable new metrics without RTTI.

Describe the solution you'd like

Add ENABLE_METRICS_LEGACY and replace all checking in _metrics.

Additional context

If this is acceptable, it can be assigned to me.

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