Skip to content

api metrics missing toString/get implementation #4829

Description

@elliesaber

All classes under io.opentelemetry.api.metrics are missing toString or any get method. e.g:(DoubleCounter, DoubleGaugeBuilder, DoubleHistogram, DoubleUpDownCounter, DoubleUpDownCounterBuilder, LongCounter, LongGaugeBuilder, LongUpDownCounter, LongUpDownCounterBuilder, ...)
After we use the Builder classes and set name, unit, description then there is no way to get the metric name or use toString to get the information about that api metrics. This is becoming more critical each time we need to debug/troubleshoot

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions