semantic conventions
OpenTelemetry's agreed names for common attributes, such as http.route and db.system, so every library records the same fact the same way.
In more detail
Shared names mean a query for http.response.status_code works across services written by different teams in different languages. Client libraries follow them automatically, and your own attributes should follow them where a convention exists.
Example
http.route, http.response.status_code, db.system="postgresql"Related terms
- span attribute — A typed key and value recorded on a span, such as http.route="/checkout", that explains what the work did.
- resource attribute — An attribute describing the thing that produced telemetry, such as the service name, version or deployment environment.
- log field — One named value inside a structured log record, such as order_id or event.
Taught in
- The Three Signals: Logs, Metrics And Traces — Full-Stack Observability: Metrics, Tracing & Logging
- Traces, Spans And Context Propagation — Full-Stack Observability: Metrics, Tracing & Logging
- Instrumenting A Service With Client Libraries — Full-Stack Observability: Metrics, Tracing & Logging
- Two Names For One Fact: Semantic Conventions And Resources — OpenTelemetry Certified Associate (OTCA) Exam Prep
- Traces From A Script Nobody Touched: Instrumentation Approaches — OpenTelemetry Certified Associate (OTCA) Exam Prep
- A Warning With An Address: Correlating Signals — OpenTelemetry Certified Associate (OTCA) Exam Prep
- Fundamentals Sprint: One Declined Card — OpenTelemetry Certified Associate (OTCA) Exam Prep
- Three Hundred Milliseconds In One Place: Tracing In Code — OpenTelemetry Certified Associate (OTCA) Exam Prep
- A Histogram That Could Not Answer: Views — OpenTelemetry Certified Associate (OTCA) Exam Prep
- Keep Your Logger: The Logs Bridge And Log Records — OpenTelemetry Certified Associate (OTCA) Exam Prep
- Six Launches, No Code Changes: Language Agents — OpenTelemetry Certified Associate (OTCA) Exam Prep
- Failed Twice, Flushed Fine: Error Handling And Schemas — OpenTelemetry Certified Associate (OTCA) Exam Prep
- Forty Four Of Sixty: The Mock And What It Tells You — OpenTelemetry Certified Associate (OTCA) Exam Prep
- The Evening Before: Final Review — OpenTelemetry Certified Associate (OTCA) Exam Prep
References
- OpenTelemetry semantic conventions
- OpenTelemetry: semantic conventions concept
- OpenTelemetry semantic conventions: HTTP spans