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

How to implement the class and my metrics? #99

Open ayrtonyagami opened 6 years ago

ayrtonyagami commented 6 years ago

Hello everyone, this is the first time I come into contact with this tool. And I'm using it to measure a winform application. With the help of the documentation I have already been able to put Metrins.Net running normally, but I also want to put my own metrics and I do not know where to implement or create the class with the metrics. The initial setting: Metric.Config.WithHttpEndpoint ("http: // localhost: 1234 /") .WithAllCounters (); I put it in the Program class.

I know this is very basic, but only you can help me.