-1

How to call TelemetryClient trackevent within azure api policy.

To log all unhandled and custom exception and informative logging from azure api policy to application insights.

user3711357
  • 1,425
  • 7
  • 32
  • 54

1 Answers1

0

If it's about Azure API Management policies - it's not possible at the moment to log custom telemetry to AI, but AI integration is there: https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-app-insights, and it should by default log any request processing exceptions.

Vitaliy Kurokhtin
  • 7,205
  • 1
  • 19
  • 18