Skip to content

Latest commit

 

History

History

specification

OpenTelemetry Semantic Conventions

The Semantic Conventions define a common set of (semantic) attributes which provide meaning to data when collecting, producing and consuming it. The Semantic Conventions specify among other things span names and kind, metric instruments and units as well as attribute names, types, meaning and valid values. For a detailed definition of the Semantic Conventions' scope see Semantic Conventions Stability. The benefit to using Semantic Conventions is in following a common naming scheme that can be standardized across a codebase, libraries, and platforms. This allows easier correlation and consumption of data.

Semantic Conventions are defined for the following areas:

  • HTTP: Semantic Conventions for HTTP client and server operations.
  • Other areas can be found in the signal specific Semantic Conventions below

Semantic Conventions by signals:

  • Resource: Semantic Conventions for resources.
  • Trace: Semantic Conventions for traces and spans.
  • Metrics: Semantic Conventions for metrics.
  • Logs: Semantic Conventions for logs and event data.