![]() |
VOOZH | about |
The Telemetry source query modifier controls whether a metric query uses only the queried metric or combines equivalent Datadog and OpenTelemetry metrics. For more information about querying across both sources, see Query Across Datadog and OpenTelemetry Metrics.
In the query editor, select Modify and then choose an option in the Telemetry sources section.
| UI option | JSON value | Behavior |
|---|---|---|
| Native telemetry (default) | "semantic_mode": "native" | Returns only the queried metric. Does not include equivalent metrics from another telemetry source. |
| Combined telemetry | "semantic_mode": "combined" | Combines equivalent Datadog and OpenTelemetry metrics into a single query result. |
To set the telemetry source in the JSON editor, add the semantic_mode key to your query object:
"queries": [
{
"name": "query1",
"data_source": "metrics",
"query": "sum:go.goroutine.count{*}",
"semantic_mode": "combined"
}
]Consult the other available functions:
Additional helpful documentation, links, and articles:
| |