---
title: "How Datadog resolves evolving OpenTelemetry semantics at query time"
description: "Datadog's Semantic Core is a knowledge graph that encodes equivalences between Datadog-native and OpenTelemetry metrics and span attributes, including deprecation chains across OTel convention versions."
url: "https://swe.quest/articles/how-datadog-resolves-evolving-opentelemetry-semantics-at-query-time-1265063c6021457a"
canonical: "https://www.datadoghq.com/blog/engineering/semantic-translation-otel/"
source: "Datadog Engineering"
published: "2026-11-19"
difficulty: "medium"
kind: "Case study"
reading_minutes: 8
tags: ["observability","system-design","testing"]
---

# How Datadog resolves evolving OpenTelemetry semantics at query time

A post on [Datadog Engineering](https://swe.quest/sources/datadog.md), published 2026-11-19, 8 min read, Case study. Original: [https://www.datadoghq.com/blog/engineering/semantic-translation-otel/](https://www.datadoghq.com/blog/engineering/semantic-translation-otel/)

## Summary

Datadog's Semantic Core is a knowledge graph that encodes equivalences between Datadog-native and OpenTelemetry metrics and span attributes, including deprecation chains across OTel convention versions. Its edges also carry correctness conditions such as tag filters, unit scaling and metric-type constraints, for example \`system.cpu.utilization{state:user}\` scaled by 100 to match \`system.cpu.user\`. A precomputed equivalence configuration lets the Semantics SDK rewrite queries in memory (OR expansion plus result normalization back to the query's vocabulary) without per-query graph lookups. Correctness is checked by an external end-to-end validator that runs the same scenarios across OTel-only, Datadog-only and hybrid setups and flags result mismatches to the owning teams.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)
- [Testing](https://swe.quest/tags/testing.md) (Engineering practices)

## Prerequisites

- OpenTelemetry semantic conventions ([easy posts on Observability](https://swe.quest/tags/observability.md?difficulty=easy))
- metric types and tags
- observability query languages ([easy posts on Observability](https://swe.quest/tags/observability.md?difficulty=easy))

## Keywords

OpenTelemetry, Semantic Core, Semantics SDK, Datadog, OTel Collector, Datadog Agent

## Related posts

- [Migrate Datadog telemetry with the OpenTelemetry Collector](https://swe.quest/articles/migrate-datadog-telemetry-with-the-opentelemetry-collector-3b921608bdac909d.md): ClickHouse · 2026-07-21 · Medium · 9 min read · Observability, Refactoring & migrations
  The OpenTelemetry Collector's Datadog receiver lets existing Datadog agents and SDKs send logs, traces and metrics to a Collector.
- [Naming is hard, semantics are hard(er): Inside Sentry Conventions](https://swe.quest/articles/naming-is-hard-semantics-are-hard-er-inside-sentry-conventions-2c2ecdaa4018c90f.md): Sentry · 2026-11-16 · Medium · 7 min read · Observability, Schema migrations, API design
  Sentry Conventions is a superset of OpenTelemetry Semantic Conventions that defines attribute names, types, scrubbing policies, deprecation chains, span ops, span naming rules and metric specs across Sentry's ~100 SDKs, its Relay ingestion service, Snuba querying and the product UI.
- [Shifting Metrics Right](https://swe.quest/articles/shifting-metrics-right-9cd4911993cdce0d.md): Honeycomb · 2026-03-17 · Medium · 6 min read · Observability
  Instead of pre-aggregating metrics inside applications, generate them as late as responsibly possible in the telemetry pipeline, either in the OpenTelemetry Collector or in the backend from traces and logs.
- [Authors' Cut—Debugging with the Core Analysis Loop, and What to Build vs Buy](https://swe.quest/articles/authors-cut-debugging-with-the-core-analysis-loop-and-what-to-build-vs-buy-0010f426d554ce67.md): Honeycomb · 2022-07-22 · Easy · 6 min read · Observability, Debugging, Analytics & OLAP
  Modern complex systems rarely fail the same way twice, so debugging should proceed from first principles via the Core Analysis Loop: establish what you know, prove or disprove a hypothesis with a graph, look for outliers and correlations to explain why, and repeat until causes are clear.
- [How we measure data completeness at scale](https://swe.quest/articles/how-we-measure-data-completeness-at-scale-1fbada4ceb0e9c2d.md): Datadog Engineering · 2026-07-01 · Medium · 16 min read · Data pipelines, Observability, Distributed systems, Resilience, System design
  Datadog measures ingestion data completeness per customer by splitting pipelines into segments and recording create and acknowledgment events keyed by unique payload IDs in 60-second time buckets.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
