Extension for Prometheus.Client
dotnet add package Prometheus.Client.Owin
There are Examples
public void Configuration(IAppBuilder app)
{
app.UsePrometheusServer();
}
or
public void Configuration(IAppBuilder app)
{
app.UsePrometheusServer(q =>
{
q.MapPath = "/api/metrics";
});
}