Skip to content

Generate semantic convention constants/classes #1022

@aabmass

Description

@aabmass

Part of #932

open-telemetry/build-tools#5 and open-telemetry/opentelemetry-specification#571 introduce a tool that feeds semantic conventions (yaml files in spec repo) into a Jinja template to generate code. It would great if we could use this to generate constants for e.g. resource semantic conventions.

They have already used this in OT java to generate some things like https://github.com/heyams/opentelemetry-java/blob/master/api/src/main/java/io/opentelemetry/trace/attributes/SemanticAttributes.java


Not needed for GA I don't think, but nice to have

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions