OTel: Why kestrel_queued_connections is not exported when asp.net core web api is deployed on IIS

48 views Asked by At

Following this web page I can get the kestrel counters when debugging. But when I deploy the project to IIS and open /metrics url in browser, no kestrel counter is listed. Why?

Here is the metrics when debugging. And the most important counter I need is kestrel_queued_connections.

Metrics when debugging

1

There are 1 answers

5
Jason Pan On

This kestrel.queued_connections indicator is for Kestrel web server, not for IIS web server.

You can verify it via double-click the .exe and open the /metrics site, then you can see kestrel_queued_connections again.

enter image description here