opentelemetry-erlang icon indicating copy to clipboard operation
opentelemetry-erlang copied to clipboard

Namespace instruments by Meter

Open tsloughter opened this issue 3 years ago • 0 comments

The name of an instrument must be namespaced by the Meter it was created with:

https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/metrics/api.md#instrument-naming-requirements

Currently the name of the meter is ignored by new_instrument in otel_meter_default.

Obviously this also means that when looking up an instrument the name of the Meter must be included.

tsloughter avatar Nov 26 '20 15:11 tsloughter