Skip to content

prom-client-net/prom-client-owin

Repository files navigation

Prometheus.Client.Owin

NuGet NuGet License MIT

Extension for Prometheus.Client

Installation:

 dotnet add package Prometheus.Client.Owin

Use

There are Examples

public void Configuration(IAppBuilder app)
{  
    app.UsePrometheusServer();         
}

or

public void Configuration(IAppBuilder app)
{ 
    app.UsePrometheusServer(q =>
    {
        q.MapPath = "/api/metrics";
    });
}