Skip to content

Make stability required, fix ref and extends, render badges on metrics#272

Merged
arminru merged 3 commits into
open-telemetry:mainfrom
lmolkova:stability-fixes
Feb 27, 2024
Merged

Make stability required, fix ref and extends, render badges on metrics#272
arminru merged 3 commits into
open-telemetry:mainfrom
lmolkova:stability-fixes

Conversation

@lmolkova
Copy link
Copy Markdown
Member

@lmolkova lmolkova commented Feb 23, 2024

Follow up on #267 (comment)

See open-telemetry/semantic-conventions#763

This PR:

  • requires stability on attributes and metrics
  • allows to deprecate metrics
  • allows to render stability/deprecation labels on metrics
  • fixes stability and deprecation inheritance (there was no inheritance and according to semconvgen all attributes except their original definitions in the registry are experimental)

It would result in all metrics and attributes, referenced or declared to be able to have a badge (can turn on/off with cmd arg) - example with everything on:

Attribute Type Description Examples Requirement Level
test.deprecated_experimental_attr boolean Deprecated
Required
test.deprecated_stable_attr boolean Deprecated
Required
test.exp_attr boolean Experimental
Required
test.stable_attr boolean Stable
Required
Name Instrument Type Unit (UCUM) Description
stable_metric Histogram s Stable
stable_metric
Name Instrument Type Unit (UCUM) Description
experimental_metric Counter {e} Experimental
experimental_metric
Name Instrument Type Unit (UCUM) Description
deprecated_metric UpDownCounter {d} Deprecated
deprecated_metric

(PS: sorry for the huge PR, most of it is adding stability to all test data attributes 😴)

@lmolkova lmolkova requested review from a team February 23, 2024 07:08
Comment thread semantic-conventions/syntax.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants