- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
The otel_equiv()
function is in Preview. If you have feedback related to this feature, reach out to your account team to provide input.
Datadog and OpenTelemetry (OTel) use different naming conventions for integration metrics. This guide explains how to combine metrics from both systems in a single query using Datadog’s equiv_otel
function.
When working with both Datadog and OTel metrics, two main challenges arise. Let’s examine these using NGINX connection monitoring as an example:
Datadog and OTel handle the same measurements differently:
nginx.net.connections
(a specific metric for active connections)nginx.connections_current
(captures all connection states in a single metric)state:active
to match Datadog’s active connections metricSimply combining separate metric queries can lead to incorrect results. For example, if you try to combine these queries:
avg:nginx.net.connections
avg:nginx.connections_current{state:active}
You get an average of averages, not the true average across all timeseries. This happens because traditional metrics functions combine the results of separate queries rather than treating the data as a single metric.
The equiv_otel
function automatically combines equivalent Datadog and OTel metrics in a single query. It:
To include the equivalent OTel metrics in your query, wrap your Datadog query in equiv_otel
:
equiv_otel(avg:nginx.net.connections)
This query:
nginx.connections_current{state:active}
)avg
) across all datapointsThe same works for including Datadog metrics in an OTel query:
equiv_otel(avg:nginx.connections_current{state:active})
The function works the same way in reverse, automatically including the equivalent Datadog metric (nginx.net.connections
).
추가 유용한 문서, 링크 및 기사: