Skip to content

anisimovyuriy/Prometheus.Client.AspNetCore

 
 

Repository files navigation

Prometheus.Client.AspNetCore

NuGet Badge Build status License MIT Codacy Badge

Extension for Prometheus.Client

Installation:

 dotnet add package Prometheus.Client.AspNetCore

Quik start:

There are Examples

public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory, IApplicationLifetime appLifetime)
{
    app.UsePrometheusServer();
}
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory, IApplicationLifetime appLifetime)
{
    app.UsePrometheusServer(q =>
                {
                    q.MapPath = "/metrics1";
                });
}

About

Middleware for the Prometheus.Client

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%