open-telemetry / semantic-conventions

Defines standards for generating consistent, accessible telemetry across a variety of domains
Apache License 2.0
256 stars 165 forks source link

Metrics semconv should include value type of instrument and requirement levels in yaml and md #591

Open lmolkova opened 10 months ago

lmolkova commented 10 months ago

Metric-specific properties (in yaml) are limited to metric_name, instrument, and unit:

We never document the value type (long or float) in yaml or markdown files.

As a result code generation cannot really generate metric definitions and we leave a wiggle room for instrumentation to decide on (and change) the value type.

Also, we manually include requirement level into md.

We should

lmolkova commented 10 months ago

related to #551, https://github.com/open-telemetry/oteps/pull/243

joaopgrassi commented 8 months ago

Also related to https://github.com/open-telemetry/semantic-conventions/issues/1040