Azure API Management dependency telemetry has arrived in Application Insights for a first set of APIM policies. This sounds like an observability improvement, but its architectural impact is larger: API platform teams can finally see how much time policy-driven downstream work consumes instead of treating the gateway as one opaque block of latency.
Microsoft announced the first release on 13 August 2026. It covers fifteen policies, including validate-jwt, send-request, send-service-bus-message and forward-request. Those policies can call identity providers, messaging services, data sources and backend APIs before APIM returns a response. The new dependency records expose that hidden execution path in Application Insights.
What Azure API Management dependency telemetry changes
Before this release, Application Insights could show that an incoming APIM request took several seconds, yet the reason could remain unclear. The delay might be in the backend, but it could also be caused by policy execution: retrieving OpenID Connect metadata, requesting a managed identity token, retrying a backend call, querying a data source or publishing a message.
The gateway was observable as a request boundary, but policy-driven calls inside that boundary were not always represented with enough detail for an operator to explain the end-to-end duration. This creates a familiar support pattern: an API owner sees high latency, the backend team sees a fast request, and the platform team has to reconstruct the missing time from traces, policy definitions and support diagnostics.
The first release creates dependency telemetry for these policies:
authentication-managed-identityauthentication-tokenazure-openai-semantic-cache-lookupcosmosdb-request-handlerforward-requestget-authorization-contexthttp-data-sourceinvoke-dapr-bindingllm-content-safetyllm-semantic-cache-lookupsend-requestsend-one-way-requestsend-service-bus-messagesql-data-sourcevalidate-jwt
That list matters because these policies are not just formatting instructions. They can cross process, network, identity and service boundaries. Once represented as dependencies, operators can distinguish gateway processing from external waiting time and identify fan-out, retry behaviour and slow downstream components.
From opaque gateway time to visible dependencies
One operation and one correlation context
- Validate identity
- Publish integration event
- Forward to backend
Request plus correlated dependency durations
Why this matters for enterprise integration teams
APIM policies increasingly perform integration work. They authenticate callers, enrich requests, invoke supporting services, route traffic, publish messages and protect AI endpoints. That power is useful, but it can turn the gateway into a distributed application runtime whose internal call graph is owned by several teams.
Without dependency-level evidence, troubleshooting becomes organisational as much as technical. The API team blames the integration team, the integration team points at the backend, and the platform team has to prove where the time was spent. Dependency telemetry creates a shared operational fact model: which external call ran, how long it took, whether it succeeded and how it correlated with the incoming request.
Microsoft describes three representative scenarios. One request retried a backend call and waited between attempts. Another validated a JWT, retrieved OpenID Connect metadata and then made more than one backend call. A third combined JWT validation, a Service Bus publication and a backend request. All three can look like “APIM is slow” until their dependency timeline is visible.
This is especially valuable when you use APIM as an integration boundary rather than a thin proxy. A single API operation may synchronously validate identity, asynchronously publish an event and call a system of record. Each dependency has a different owner, availability model and latency profile. The client only sees the combined response time.
Architecture consequences: visibility does not remove coupling
The new telemetry makes policy coupling observable; it does not make that coupling safe. If a policy performs three sequential dependency calls, the availability and latency of the API operation still depend on all three. Better charts do not change the critical path.
Use the dependency view to challenge policy design:
- Keep authentication calls intentional. Understand metadata and token caching behaviour, certificate rotation and failure modes.
- Limit synchronous fan-out. Several sequential calls make tail latency additive. Parallelism can reduce duration but may increase load and complicate failure handling.
- Treat retries as budget consumers. A retry can improve resilience, but every attempt consumes time from the caller’s timeout budget and may repeat a non-idempotent action.
- Separate commands from notifications. Publishing to Service Bus from APIM can decouple processing, but decide whether a failed publication must fail the client request.
- Do not hide business orchestration in policies. APIM is an excellent enforcement and routing boundary. Long-running or stateful workflows belong in an orchestration runtime.
The telemetry should therefore feed architecture reviews, not only incident dashboards. If the same dependency is consistently responsible for most p95 latency, you may need caching, a different call sequence, a shorter timeout, asynchronous messaging or ownership changes.
How to adopt Azure API Management dependency telemetry
1. Confirm Application Insights integration
Start with the existing APIM-to-Application Insights integration. Verify the logger, diagnostic configuration, sampling settings and the gateway types you operate. Microsoft notes that observability capabilities vary between managed and self-hosted gateway offerings, so validate behaviour in every deployment model rather than assuming one configuration covers the estate.
2. Inventory policies that create external calls
Search global, workspace, product, API and operation scopes. A policy inherited from a higher scope may create a dependency that the API owner does not see in the local policy fragment. Record which calls are on the synchronous critical path and which are best-effort side effects.
Pay particular attention to validate-jwt, send-request, send-service-bus-message and forward-request. These four commonly represent identity, enrichment, messaging and backend delivery—the core boundaries in many integration APIs.
3. Establish a latency budget
Define an end-to-end target and allocate part of that budget to gateway processing and each dependency. For a one-second target, it is not acceptable to let a token call, Service Bus publication and backend request each use independent multi-second timeouts. A budget forces trade-offs before production traffic exposes them.
4. Build dependency-focused queries
Application Insights dependency data becomes most useful when aggregated by operation, target, result and duration. A starting KQL query can look like this:
dependencies
| where timestamp > ago(24h)
| summarize
calls = count(),
failures = countif(success == false),
p95 = percentile(duration, 95)
by name, target, type, resultCode
| order by p95 descThen correlate a slow dependency with its parent request using operation_Id. Keep queries generic until you have observed the exact names emitted for your policies, gateways and backends. Build alerts on service objectives and meaningful failure ratios, not on every isolated slow call.
5. Validate with controlled failure tests
Run a small test matrix: slow backend, rejected token, unavailable metadata endpoint, Service Bus authorization failure and a retryable backend response. Confirm that each scenario creates the dependency evidence you expect and that correlation survives across APIM and the downstream platform.
Example: validate, publish and forward
Consider an order API that validates a partner JWT, publishes an “order received” event to Service Bus and forwards the command to an ERP-facing backend. Previously, the client might report a three-second response while the ERP team proves its request took only 400 milliseconds.
The dependency timeline can reveal that OpenID metadata retrieval consumed 700 milliseconds, the Service Bus call took 150 milliseconds and forward-request retried the backend after a transient response, adding a wait plus a second call. The gateway is not simply slow; the operation is executing a chain whose behaviour was hidden inside policies.
The response is not automatically “remove the policies.” Instead:
- Confirm whether identity metadata is being cached as expected.
- Decide whether the Service Bus publication is part of the command’s success contract.
- Verify that retrying the ERP command is safe and idempotent.
- Align APIM, client and backend timeouts with one end-to-end budget.
- Give each dependency an operational owner and alert route.
For the messaging part of this pattern, see publishing directly from Azure API Management to Service Bus. For business-level correlation across Boomi, APIM and downstream systems, see Boomi Functional Integration Tracing.
Enterprise Integration Patterns behind the update
This capability is closely related to three Enterprise Integration Patterns.
Message History records where a message has been and what happened to it. APIM dependency telemetry provides a technical history for policy-driven calls within an API request. It is not a complete business history, but it closes an important gap at the gateway.
Wire Tap copies relevant observations to a monitoring channel without changing the business route. Application Insights plays that independent observation role. The usual cautions still apply: avoid sensitive payload logging, control cardinality and ensure monitoring failure does not become business failure. See the deeper article on Wire Tap observability with Azure and Boomi.
Control Bus provides operational visibility and control across integration components. Dependency telemetry supplies facts that a platform-level control plane can use for latency objectives, dependency ownership and incident triage.
Risks and operational attention points
- Sampling can hide rare paths. A low sampling rate may miss intermittent retries or uncommon dependency failures. Balance diagnostic value, cost and data volume.
- Telemetry has cost. More dependency records increase Application Insights ingestion and retention. Estimate volume before applying long retention to high-throughput APIs.
- Correlation is not business identity.
operation_Idhelps engineers follow a transaction, but support teams may still need a safe order, invoice or case identifier. - Names may create cardinality. Avoid turning dynamic identifiers into dependency names or custom dimensions.
- Sensitive data still needs protection. Do not log tokens, authorization headers, complete payloads or personal data merely because deeper telemetry is available.
- Initial coverage is not universal. Microsoft calls this the first release and plans more policies and scenarios. Maintain other diagnostics for uncovered calls.
- Self-hosted gateways require explicit validation. Telemetry delivery and buffering behaviour can differ during network loss or shutdown.
Production checklist
- Application Insights integration is enabled and tested for every APIM gateway model in scope.
- Policy inheritance is documented across global, workspace, product, API and operation scopes.
- External policy calls have named owners, timeouts and failure contracts.
- Retry behaviour is bounded and safe for non-idempotent operations.
- Request, dependency and downstream telemetry share usable correlation.
- Business identifiers are logged only where justified and protected.
- Sampling, retention and ingestion cost are reviewed against traffic volume.
- Dashboards show p50, p95 and p99 latency by dependency—not only averages.
- Alerts use SLOs and sustained failure ratios instead of noisy single events.
- Failure tests prove what operators will see before the first production incident.
Frequently asked questions
Does dependency telemetry require policy changes?
Microsoft presents this as dependency telemetry for supported APIM policies through the existing Application Insights integration. Validate it in your own gateway and diagnostic configuration, but do not start by adding custom trace statements to every policy.
Does it replace APIM request tracing?
No. Dependency telemetry supports continuous operational analysis in Application Insights. Request tracing remains useful for focused investigation, while Azure Monitor logs, metrics and Event Hubs can serve other operational and reporting requirements.
Will it show Azure Service Bus calls from APIM?
The first release explicitly includes send-service-bus-message. Confirm the emitted dependency name, result and correlation in a non-production test before relying on it for alerts.
Can it identify why a JWT validation is slow?
It can expose dependency work associated with validate-jwt, including external metadata retrieval in Microsoft’s example. That helps separate identity-related waiting time from backend duration.
Is this the same as functional integration tracing?
No. APIM dependency telemetry explains technical calls and latency within the gateway request. Functional tracing follows a business record across platforms and over time. Mature operations use both and correlate them safely.
Final recommendation
Enable and validate the new dependency view, then use it to review the architecture of policy-heavy APIs. The greatest value is not another chart. It is the ability to replace “APIM is slow” with a precise statement about which policy dependency consumed the latency, whether it retried, who owns it and what design change will improve the client experience.





0 Comments