Reputation: 3967
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:
Upvotes: 2
Views: 2277
Reputation: 6508
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.
Upvotes: 2