Home

Awesome

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.