Please update the changelog as part of any significant pull request.
- Update json-schema version, remove properties that are not used anymore. (#344)
- Remove json-schema and documentation, add link to new location. (#345)
- Added display_name as an allowed property on semconv attribute groups (#316)
- BREAKING: Remove unused semantic convention types:
UnitSemanticConvention
,MetricGroupSemanticConvention
andScopeSemanticConvention
(#309)
- BREAKING: Add
stability
(required) anddeprecated
(optional) properties toEnumMember
(#267) - Change minimum support python version to 3.10 in setup.cfg and Dockerfile (#285)
- BREAKING: Add dedicated column for stability to Markdown tables. (#278)
- BREAKING: Make stability required (also: fix ref and extends, render badges on metrics). (#272)
- BREAKING: Make stability and deprecation independent properties. (#244)
- Add backward-compatibility check mode. (#271)
- Add link to requirement levels definition from Markdown table title. (#222)
- Added code-generation mode that groups attributes by the root namespace and ability to write each group into individual file.
[BREAKING] The
--file-per-group <pattern>
that used to create multiple directories (likeoutput/<pattern>/file
) now generates multiple files (output/<pattern>file
) instead. (#243) - Update
semconvgen.yml
workflow to run on feature/* branches. (#256) - Allow --output to be templatized when generating multiple files. (#263)
- Add
metrics
to the context of non-scoped code generation (#270) - Add
enum_attributes
to the context, addsprint_member_value
helper (#266) - Sort attribute tables by requirement level and attribute name (#260)
- Support suppressing all validation errors via flag that allows to parse previous versions of semantic conventions for backward compatibility checks and use code generation improvements on older semantic convention version. (#300)
- Rephrase and relax sampling-relevant description (#230)
- When an attribute is referenced using
ref:
from a group that already inherits the attribute withextends:
, resolve the reference to the closest inherited attribute instead of the primary definition. This makes a difference in case the inherited reference overwrites any properties. (#204) - Sort attributes by name (#205)
- Fix referencing template attributes (#206)
- Render template-type attributes from yaml files (#186)
- Added
omit_requirement_level
option for markdown table rendering (#190) - Fix conditionally_required definition in semconv.schema.json (#201)
- Change default stability level to experimental (#189)
- Render notes on metric semconv tables (#177)
- Allow multiple semconv in --only flag (#157)
- Rename Optional attribute requirement level to Opt-In (#135)
- No changes.
- Move footnotes back together with the rendered table in Markdown (#131)
- Add a semantic convention type for Metrics ("metric" and "metric_group") (#79)
- Add a semantic convention type for generic attribute group ("attribute_group") (#124).
- Add a semantic convention type for Instrumentation Scope ("scope") (#114).
- Allow customising whitespace control in Jinja templates (#101).
- Clarify warning about convention group type & fix line number (#109).
- Apply requirement level and msg of referenced attribute by default (#102).
- BREAKING: Introduced attribute requirement levels (#92):
- Schema: Attribute property
required
is removed and replaced byrequirement_level
, supported values are changed torequired
(previouslyalways
),conditionally_required
(previouslyconditional
),recommended
, andoptional
. - Templates:
opentelemetry.semconv.model.semantic_attribute.Required
enum is replaced byRequirementLevel
with supported values listed above,required_msg
is renamed torequirement_level_msg
- Schema: Attribute property
- Add
name
field for events. It defaults to theprefix
(#67). - Better explanation for sampling_relevant attributes (#70).
- Support sampling_relevant attribute fields (#68).
- Enforce enum member IDs follow the same rules as other IDs (#64).
- Improve some enum-related error messages to point to more precise locations (also #64).
- Add event semantic convention type & events span field (#57).
- Add stability fields. (#35)
- Add Markdown render for code generation.
- Fix markdown generator for int enums. (#36)
- BREAKING CHANGE: Removed
number
andnumber[]
attribute types in favor ofint
,int[]
,double
anddouble[]
. (#30)