Prometheus.Client.MetricServer
Extension for Prometheus.Client
Quik start
Install:
PM> Install-Package Prometheus.Client.MetricServer
Use:
static void Main(string[] args)
{
IMetricServer metricServer = new MetricServer("localhost", 9091);
metricServer.Start();
...
var counter = Metrics.CreateCounter("test_count", "helptext");
counter.Inc();
...
metricServer.Stop();
}