Semantic Conventions

Semantic conventions are a crucial part of observability data collection, providing consistent attribute naming across your entire telemetry dataset. Dash0's semantic conventions extend the OpenTelemetry standard with additional attributes that enhance your observability experience.

Semantic Conventions Reference

This reference document details the Dash0-specific semantic conventions for resources, spans, logs and metrics to help you maximize the value of your observability data. These attributes are automatically derived from your incoming telemetry data, enabling enhanced filtering, intelligent grouping, AI-powered insights, and improved visualization capabilities without requiring manual instrumentation changes to your code.

Resource Attributes

Resource attributes describe the entity producing the telemetry data. These attributes help you identify and categorize the sources of your telemetry. See our dedicated documentation on resource equality to learn more about resource classification and identity.

AttributeDescriptionExamples
dash0.resource.idUnique identifier for the resource in Dash0, based on the resource equality rules.12958705279560104980
dash0.resource.typeType classification of the resource, based on the resource equality rules.k8s.pod, host, vercel.project
dash0.resource.nameHuman-readable name for the resource
dash0.auth.tokenAuth token used to transmit telemetry about this resource. Note: Only the first few characters of the auth token are stored.abcdef1

Scope Attributes

The following otel.scope.* attributes map directly to fields within the OTLP protocol and provide the foundation for telemetry correlation and analysis in Dash0.

AttributeDescriptionExamples
otel.scope.nameThe name of the instrumentation scopeio.opentelemetry.contrib.mongodb
otel.scope.versionThe version of the instrumentation scope1.0.0

Span Attributes

Span attributes provide context for distributed tracing data, helping you understand the nature and details of operations within your system. The underlying rules for naming and typing, specifically for operations, are described within our operation naming document.

AttributeDescriptionExamples
dash0.span.nameDash0-normalized name for the span, which may differ from the original span nameSELECT … FROM my-table WHERE …
dash0.span.typeClassification of the span type in Dash0's taxonomyhttp, rpc, database, messaging
dash0.operation.nameName of the logical operation this span is part ofGET /articles/<article-id>
dash0.operation.typeType classification of the operation.http, rpc, database, messaging
otel.trace.idThe unique identifier for a trace, representing the entire operation across multiple services4bf92f3577b34da6a3ce929d0e0e4736
otel.span.idThe unique identifier for a span within a trace00f067aa0ba902b7
otel.parent.idThe identifier of the parent span, establishing the causal relationshipff11bbcc22dd44ee
otel.span.nameThe official OpenTelemetry span nameGET /users/:id
otel.span.kindDescribes the relationship between the span, its parents, and its childrenSERVER, CLIENT, PRODUCER
otel.span.durationThe duration of a span in seconds (float value)0.125
otel.span.start_timeThe start time of a span in Unix nanoseconds1610000000000000000
otel.span.end_timeThe end time of a span in Unix nanoseconds1610000000125000000
otel.span.status.codeThe status code of a spanOK, ERROR
otel.span.status.messageAdditional information about the span statusConnection timed out

Log Attributes

Log attributes enrich log data with additional context and AI-enhanced information to make troubleshooting faster and more effective.

AttributeDescriptionExamples
dash0.log.processor.typeType of log processor that handled this log entryjson
dash0.log.templateLog AI inferred log template with variables replaced by placeholders[Batch <batch_id>] Reconciling batch of <topic_count> topics
dash0.log.attribute.<key>Log attributes automatically extracted through log AIdash0.log.attribute.topic_count=10
otel.log.bodyThe main content of the log recordRequest processed successfully
otel.log.timeThe timestamp when the log was created2023-04-01T12:34:56.789Z
otel.log.severity.numberNumerical representation of log severity17 (for ERROR)
otel.log.severity.textText representation of log severityERROR, INFO
otel.log.severity.rangeCategorical range of severity, where smaller numbers indicate less severe eventsERROR, WARN, INFO

Metric Attributes

AttributeDescriptionExamples
otel.metric.nameThe name of the metric (not necessarily the Prometheus-compatible name)http.server.active_requests
otel.metric.descriptionHuman-readable description of what the metric representsNumber of active HTTP server requests
otel.metric.typeThe type of the metricGAUGE, HISTOGRAM
otel.metric.unitThe unit of measure for the metricms, bytes, 1

Last updated: May 19, 2025