Prometheus.Client.HttpRequestDurations
4.0.0
Prefix Reserved
dotnet add package Prometheus.Client.HttpRequestDurations --version 4.0.0
NuGet\Install-Package Prometheus.Client.HttpRequestDurations -Version 4.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.HttpRequestDurations" Version="4.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Prometheus.Client.HttpRequestDurations --version 4.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Prometheus.Client.HttpRequestDurations, 4.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.HttpRequestDurations as a Cake Addin #addin nuget:?package=Prometheus.Client.HttpRequestDurations&version=4.0.0 // Install Prometheus.Client.HttpRequestDurations as a Cake Tool #tool nuget:?package=Prometheus.Client.HttpRequestDurations&version=4.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Prometheus.Client.HttpRequestDurations
Installation
dotnet add package Prometheus.Client.HttpRequestDurations
Use
There are Examples
app.UsePrometheusRequestDurations(q =>
{
q.IncludePath = true;
q.IncludeMethod = true;
q.IgnoreRoutesConcrete = new[] // Ignore some concrete routes
{
"/favicon.ico",
"/robots.txt",
"/"
};
q.IgnoreRoutesStartWith = new[]
{
"/swagger" // Ignore '/swagger/*'
};
q.CustomNormalizePath = new Dictionary<Regex, string>
{
{ new Regex(@"\/[0-9]{1,}(?![a-z])"), "/id" } // Replace 'int' in Route
};
});
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 | 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 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Prometheus.Client (>= 5.2.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Prometheus.Client.HttpRequestDurations:
Package | Downloads |
---|---|
ShayganTadbir.Framework.Core
Package description |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Prometheus.Client.HttpRequestDurations:
Repository | Stars |
---|---|
tomkerkhove/promitor
Bringing Azure Monitor metrics where you need them.
|
Version | Downloads | Last updated |
---|---|---|
4.0.0 | 2,455 | 10/19/2024 |
3.6.0 | 206,660 | 8/26/2022 |
3.5.0 | 39,000 | 4/6/2022 |
3.4.1 | 202,837 | 1/6/2022 |
3.4.0 | 123,599 | 3/22/2021 |
3.3.0 | 121,992 | 1/29/2021 |
3.2.1 | 44,343 | 10/30/2020 |
3.2.0 | 11,773 | 10/24/2020 |
3.1.0 | 6,317 | 8/20/2020 |
2.2.0 | 47,919 | 1/16/2020 |
2.1.2 | 64,764 | 11/24/2019 |
2.0.1 | 10,751 | 6/4/2019 |
2.0.0 | 3,840 | 4/27/2019 |
1.2.2 | 6,524 | 3/24/2019 |
1.2.0 | 5,951 | 2/11/2019 |
1.1.1 | 650 | 2/11/2019 |
1.1.0 | 691 | 2/2/2019 |
1.0.0 | 96,246 | 9/14/2018 |
0.6.0 | 1,105 | 9/14/2018 |
0.5.0 | 1,278 | 8/15/2018 |
0.4.0 | 6,243 | 4/12/2018 |
0.3.0 | 2,117 | 3/9/2018 |
0.2.0 | 984 | 3/9/2018 |
0.1.1 | 1,444 | 12/2/2017 |
0.1.0 | 1,076 | 12/2/2017 |