Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 2.08 KB

README.md

File metadata and controls

49 lines (36 loc) · 2.08 KB

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.