/Prometheus.Client.MetricServer

MetricServer for the Prometheus.Client

Primary LanguageC#MIT LicenseMIT

Prometheus.Client.MetricServer

MyGet NuGet NuGet

Build status License MIT Codacy Badge

Extension for Prometheus.Client

Installation:

dotnet add package Prometheus.Client.MetricServer

Quik start:

There are Examples

static void Main(string[] args)
{
    IMetricServer metricServer = new MetricServer("localhost", 9091);
    metricServer.Start();
    ...
    
    var counter = Metrics.CreateCounter("test_count", "helptext");
    counter.Inc();
    ...     
    
    metricServer.Stop();
}

Support

If you are having problems, send a mail to prometheus@phnx47.net. I will try to help you.

I would also very much appreciate your support by buying me a coffee.

Buy Me A Coffee

License

All contents of this package are licensed under the MIT license.