Prometheus.Client.AspNetCore 5.0.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package Prometheus.Client.AspNetCore --version 5.0.0
NuGet\Install-Package Prometheus.Client.AspNetCore -Version 5.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Prometheus.Client.AspNetCore" Version="5.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Prometheus.Client.AspNetCore --version 5.0.0
#r "nuget: Prometheus.Client.AspNetCore, 5.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Prometheus.Client.AspNetCore as a Cake Addin
#addin nuget:?package=Prometheus.Client.AspNetCore&version=5.0.0

// Install Prometheus.Client.AspNetCore as a Cake Tool
#tool nuget:?package=Prometheus.Client.AspNetCore&version=5.0.0

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.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 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

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
5.0.0 46,227 7/2/2023
4.8.0 536,819 8/27/2022
4.7.0 5,363 8/22/2022
4.6.0 73,504 4/6/2022
4.5.1 236,579 1/5/2022
4.5.0 128,150 7/12/2021
4.4.0 24,365 5/25/2021
4.3.0 50,163 3/22/2021
4.2.0 135,843 1/29/2021
4.1.1 97,716 10/22/2020
4.1.0 14,379 8/20/2020
3.1.0 244,913 1/15/2020
3.0.1 104,389 6/4/2019
3.0.0 3,591 4/27/2019
2.2.0 241,009 3/24/2019
2.1.0 151,309 9/19/2018
2.0.0 1,284 9/13/2018
1.5.1 1,206 9/7/2018
1.5.0 14,634 4/24/2018