Once you’ve got AI traffic flowing through a gateway, the next question is always the same: what’s actually going on in there? Which apps and agents are calling which models, how many tokens are they burning, and what happens when an MCP tool call goes wrong?

In my Azure AI Gateway unboxing I took a first look at Microsoft’s new dedicated gateway for models and MCP servers. In this video I focus on monitoring: how you get logs, metrics and traces out of Azure AI Gateway, and what you can see once you have them.

How monitoring works in Azure AI Gateway

Azure AI Gateway sits between your users, apps and agents and the models and MCP servers they call. Because every request goes through the gateway, it’s the natural place to capture telemetry without adding logging code to each client.

Monitoring is driven by an observability destination that you configure on the gateway. Logs, metrics and traces are treated as separate signals, so you choose what to export and where, typically to Application Insights.

  • Traces – OpenTelemetry spans for supported model requests, MCP tool calls and policy processing, so you can follow a request through the gateway.
  • Metrics – usage and performance numbers, including token usage and estimated model spend.
  • Logs – the detail behind each call, for troubleshooting and auditing.

What’s covered in the video

  • An overview of the monitoring options in Azure AI Gateway
  • Traces, metrics and logs and how they fit together
  • Usage and performance insights across models and MCP servers
  • A live walkthrough in Azure

Things to watch out for

  • Only gateway traffic is captured. If an app calls the model or MCP server directly, the gateway can’t see it, so make sure your clients use the gateway endpoint.
  • Set the destination up first. Telemetry only flows once the observability destination is configured, and it can take a few minutes for data to appear.
  • Cost figures are estimates. Cost metrics are based on estimated model spend, so reconcile them with your actual billing before using them for chargeback.
  • Using Foundry? Export traces to the same Application Insights resource as your Foundry project and the gateway activity shows up alongside your agent traces.

Wrapping up

Monitoring is one of the main reasons to put a gateway in front of your AI workloads, and it’s good to see it built into Azure AI Gateway from the start. If you’ve been following my Foundry Agent Service telemetry and API Management + Foundry end-to-end telemetry samples, this is the same story told through the new gateway.

Give the video a watch and let me know in the comments what you’d want to see next, or subscribe to the channel to catch the next part of the series.

 

Buy Me A Coffee