Recognos / Metrics.NET

The Metrics.NET library provides a way of instrumenting applications with custom metrics (timers, histograms, counters etc) that can be reported in various ways and can provide insights on what is happening inside a running application.
Apache License 2.0
639 stars 110 forks source link

WithHttpEndpoint working in IIS Express not IIS local #89

Open beinguam opened 7 years ago

beinguam commented 7 years ago

When I used IIS Express in the Properties of the project (in the Web tab) the metrics page works just fine, but if I used Local IIS instead it doesn't work at all. Thoughts?

Liwoj commented 7 years ago

What does it mean "doesn't work at all" ? What HTTP code you getting, whats in IIS log ?

WithHttpEndpoint is using HttpListener and is tailored to be used inside standalone exe (console program etc). If your app is running inside IIS (regular or Express), OWIN adapter is much better option...

beinguam commented 7 years ago

Thanks for the suggestion - it is unusual - no error in the logs or http code, just a blank browser when I hit it...