Awesome
Prometheus.Client.AspNetCore
Extension for Prometheus.Client
Installation
dotnet add package Prometheus.Client.AspNetCore
Use
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!
- Report any bugs or issues you find on the issue tracker.
- You can grab the source code at the package's git repository.
License
All contents of this package are licensed under the MIT license.