2
votes

I have an Azure API Management policy which contains a "send-request":

    <send-request mode="new" response-variable-name="response" timeout="5" ignore-error="false">
        <set-url>https://www.bing.com</set-url>
        <set-method>GET</set-method>
    </send-request>

App Insights displays the request to operation, but not the "send-request" URL.

App Insights configuration in API Management:

Sampling: 100% Verbosity: Verbose Request Payload: 8192

Query:

union
requests,
dependencies
| order by timestamp 

Result: enter image description here

1

1 Answers

2
votes

API Management integrated with Application Insights logs only the below items:

  • Request telemetry item, for every incoming request (frontend request, frontend response),
  • Dependency telemetry item, for every request forwarded to a backend service (backend request, backend response),
  • Exception telemetry item, for every failed request.

Unfortunately, it does not log API dependency/requests from policy. It would only log exceptions when something fails.

You can post feedback here.