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 | 5,487 | 10/19/2024 |
3.6.0 | 222,163 | 8/26/2022 |
3.5.0 | 39,940 | 4/6/2022 |
3.4.1 | 204,213 | 1/6/2022 |
3.4.0 | 126,638 | 3/22/2021 |
3.3.0 | 122,011 | 1/29/2021 |
3.2.1 | 44,495 | 10/30/2020 |
3.2.0 | 11,842 | 10/24/2020 |
3.1.0 | 6,322 | 8/20/2020 |
2.2.0 | 48,038 | 1/16/2020 |
2.1.2 | 65,234 | 11/24/2019 |
2.0.1 | 10,900 | 6/4/2019 |
2.0.0 | 3,844 | 4/27/2019 |
1.2.2 | 6,528 | 3/24/2019 |
1.2.0 | 5,956 | 2/11/2019 |
1.1.1 | 654 | 2/11/2019 |
1.1.0 | 695 | 2/2/2019 |
1.0.0 | 96,265 | 9/14/2018 |
0.6.0 | 1,114 | 9/14/2018 |
0.5.0 | 1,288 | 8/15/2018 |
0.4.0 | 6,252 | 4/12/2018 |
0.3.0 | 2,126 | 3/9/2018 |
0.2.0 | 993 | 3/9/2018 |
0.1.1 | 1,453 | 12/2/2017 |
0.1.0 | 1,094 | 12/2/2017 |