etishor / 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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

It's possible to intergrate Metrics.NET with ASP.NET MVC or ASP.NET WebForm ?

XIEBBS opened this issue · comments

It's possible to intergrate Metrics.NET with ASP.NET MVC or ASP.NET WebForm ?
Because we have a lot of old solution with ASP.NET MVC or ASP.NET WebForm。

I have added it to a ASP.NET WebForms app, but I am not happy with it.
Main topics are:

  • creates an own webserver
  • does only run on localhost:port all other configurations result in an error
  • recommended owin solution to integrate with IIS is too complex
  • Looses counter values on IIS Recycle of process
  • After IIS recyle of process the own webserver is not terminated in time, so "new" process gets a "port in use" error and you have to manually recylce the process again for it to work.

As I also need a point or range in time perspective for my logged data and am not happy with only seeing "current" events, I am developing an own solution that is logging in mongoDB.

The first target for me : GETTING Metrics . @NTTAKR

Lol... That's ONE way of seeing it.

But as customers are.... as soon as you show them Metrics they want to know about history.