Prometheus.Client.AspNetCore
6.0.0
Prefix Reserved
dotnet add package Prometheus.Client.AspNetCore --version 6.0.0
NuGet\Install-Package Prometheus.Client.AspNetCore -Version 6.0.0
<PackageReference Include="Prometheus.Client.AspNetCore" Version="6.0.0" />
<PackageVersion Include="Prometheus.Client.AspNetCore" Version="6.0.0" />
<PackageReference Include="Prometheus.Client.AspNetCore" />
paket add Prometheus.Client.AspNetCore --version 6.0.0
#r "nuget: Prometheus.Client.AspNetCore, 6.0.0"
#:package Prometheus.Client.AspNetCore@6.0.0
#addin nuget:?package=Prometheus.Client.AspNetCore&version=6.0.0
#tool nuget:?package=Prometheus.Client.AspNetCore&version=6.0.0
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.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- Prometheus.Client (>= 6.0.0)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Prometheus.Client.AspNetCore:
| Package | Downloads |
|---|---|
|
Motor.Extensions.Diagnostics.Metrics
Motor.NET is a microservice framework based on Microsoft.Extensions.Hosting. |
|
|
ShayganTadbir.Framework.Core
Package description |
|
|
Itage.Prometheus.RouteMetrics
Package Description |
|
|
JonjubNet.Metrics
Biblioteca de métricas para aplicaciones .NET con soporte para contadores, gauges, histogramas y timers, integración con Prometheus y exportación a múltiples formatos. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Prometheus.Client.AspNetCore:
| Repository | Stars |
|---|---|
|
tomkerkhove/promitor
Bringing Azure Monitor metrics where you need them.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 6.0.0 | 21,407 | 5/24/2025 |
| 5.0.0 | 387,615 | 7/2/2023 |
| 4.8.0 | 2,010,028 | 8/27/2022 |
| 4.7.0 | 12,875 | 8/22/2022 |
| 4.6.0 | 155,977 | 4/6/2022 |
| 4.5.1 | 306,267 | 1/5/2022 |
| 4.5.0 | 190,450 | 7/12/2021 |
| 4.4.0 | 30,916 | 5/25/2021 |
| 4.3.0 | 71,286 | 3/22/2021 |
| 4.2.0 | 141,622 | 1/29/2021 |
| 4.1.1 | 111,010 | 10/22/2020 |
| 4.1.0 | 18,632 | 8/20/2020 |
| 3.1.0 | 265,366 | 1/15/2020 |
| 3.0.1 | 133,330 | 6/4/2019 |
| 3.0.0 | 7,463 | 4/27/2019 |
| 2.2.0 | 553,097 | 3/24/2019 |
| 2.1.0 | 165,493 | 9/19/2018 |
| 2.0.0 | 5,143 | 9/13/2018 |
| 1.5.1 | 5,031 | 9/7/2018 |
| 1.5.0 | 20,692 | 4/24/2018 |