Prometheus.Client.MetricServer
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.
License
All contents of this package are licensed under the MIT license.