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.

This
kestrel.queued_connectionsindicator is forKestrelweb server, not forIISweb server.You can verify it via double-click the
.exeand open the/metricssite, then you can seekestrel_queued_connectionsagain.