Prometheus.Client.DependencyInjection 1.5.1

Prefix Reserved
dotnet add package Prometheus.Client.DependencyInjection --version 1.5.1                
NuGet\Install-Package Prometheus.Client.DependencyInjection -Version 1.5.1                
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.DependencyInjection" Version="1.5.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Prometheus.Client.DependencyInjection --version 1.5.1                
#r "nuget: Prometheus.Client.DependencyInjection, 1.5.1"                
#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.DependencyInjection as a Cake Addin
#addin nuget:?package=Prometheus.Client.DependencyInjection&version=1.5.1

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

Prometheus.Client.DependencyInjection

ci nuget nuget codecov license

Install

dotnet add package Prometheus.Client.DependencyInjection

Use

public IServiceProvider ConfigureServices(IServiceCollection services)
{
    services.AddMetricFactory();
}

or compatible with static Metrics.DefaultCollectorRegistry:

public IServiceProvider ConfigureServices(IServiceCollection services)
{
    services.AddMetricFactory(Metrics.DefaultCollectorRegistry);
}

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 was computed.  net5.0-windows was computed.  net6.0 is compatible.  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 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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Prometheus.Client.DependencyInjection:

Package Downloads
ShayganTadbir.Framework.Core

Package description

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Prometheus.Client.DependencyInjection:

Repository Stars
RayTale/Ray
项目停止更新,新项目:https://github.com/RayTale/Vertex
tomkerkhove/promitor
Bringing Azure Monitor metrics where you need them.
Version Downloads Last updated
1.5.1 210 12/18/2024
1.5.0 90 12/18/2024
1.4.0 23,701 6/16/2024
1.3.0 136,135 8/20/2023
1.2.1 1,196,503 8/28/2022
1.2.0 846 8/25/2022
1.1.0 67,453 4/6/2022
1.0.0 215,088 10/23/2021
0.7.0 16,341 7/24/2021
0.6.2 2,141 7/12/2021
0.6.1 396 7/12/2021
0.5.0 29,860 4/29/2021
0.4.0 154,352 1/29/2021
0.2.0 70,537 9/17/2020
0.1.0 2,568 8/20/2020