Skip to content

prom-client-net/prom-client-aspnetcore

Repository files navigation

Prometheus.Client.AspNetCore

ci nuget nuget codecov codefactor license

Extension for Prometheus.Client

Installation

dotnet add package Prometheus.Client.AspNetCore

Use

Examples

public void Configure(IApplicationBuilder app)
{
    app.UsePrometheusServer();
}
public void Configure(IApplicationBuilder app)
{
    app.UsePrometheusServer(q =>
    {
        q.MapPath = "/prom";
        q.MetricPrefixName = "my_app_";
    });
}

Contribute

Contributions to the package are always welcome!

License

All contents of this package are licensed under the MIT license.

About

ASP.NET Core middleware

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

 
 
 

Contributors 9

Languages