Semantic conventions
Use this section when you want to instrument code with the attribute keys and metric definitions generated from the OpenTelemetry semantic conventions.
Start here
- Add generated attribute keys to spans, metrics, or logs: Use semantic attributes
- Create metric instruments with the name, unit, and description defined by a semantic convention: Create metrics from semantic metric specs
Related material
- To understand the stable and experimental module split, see Semantic conventions and stability.
- To look up artifacts, packages, and generated types, see the Semantic conventions reference.
- To verify a metric implementation against a generated spec, see Test metrics against semantic conventions.