이 페이지는 아직 한국어로 제공되지 않습니다. 번역 작업 중입니다. 현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우 언제든지 연락주시기 바랍니다.
Datadog APM can create inferred spans for requests that pass through Azure API Management to your backend services. The spans enable end-to-end traces, service maps, and sampling based on the API Management gateway.
Inferred spans for Azure API Management are supported for .NET, JavaScript (Node.js), and Python only. Other runtimes (for example Go, Java, or PHP) do not emit Azure API Management inferred spans, even if they support inferred spans for other gateways.
Prerequisites
DD_TRACE_INFERRED_PROXY_SERVICES_ENABLED=true is set in your application settings.
Your backend uses a supported runtime, minimum tracer version, and web framework from the table below.
Supported runtimes and web frameworks
Runtime
Datadog Tracer
Minimum tracer version
Frameworks
Node.js
dd-trace-js
v5.87.0+
express, fastify, hapi, koa, microgateway-core, next, paperplane, restify, router, apollo
You can add this policy at the API level in the Azure portal under API Management > your API > Design → Inbound processing → Code view (see Set or edit Azure API Management policies), using the Azure API Management REST API, or policies in your API definition.
Update sampling rules
Head-based sampling still applies when using Azure API Management tracing. Because the inferred span becomes the new trace root, update your rules so the service value matches the API Management service name shown in Datadog.
Update the rule so the service value matches your API Management API name as it appears in Datadog, or remove the service key to apply the rule to all root spans: