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,128 | 10/19/2024 |
3.6.0 | 205,623 | 8/26/2022 |
3.5.0 | 38,919 | 4/6/2022 |
3.4.1 | 202,751 | 1/6/2022 |
3.4.0 | 123,276 | 3/22/2021 |
3.3.0 | 121,987 | 1/29/2021 |
3.2.1 | 44,335 | 10/30/2020 |
3.2.0 | 11,770 | 10/24/2020 |
3.1.0 | 6,314 | 8/20/2020 |
2.2.0 | 47,916 | 1/16/2020 |
2.1.2 | 64,718 | 11/24/2019 |
2.0.1 | 10,741 | 6/4/2019 |
2.0.0 | 3,837 | 4/27/2019 |
1.2.2 | 6,521 | 3/24/2019 |
1.2.0 | 5,948 | 2/11/2019 |
1.1.1 | 647 | 2/11/2019 |
1.1.0 | 688 | 2/2/2019 |
1.0.0 | 96,240 | 9/14/2018 |
0.6.0 | 1,102 | 9/14/2018 |
0.5.0 | 1,275 | 8/15/2018 |
0.4.0 | 6,240 | 4/12/2018 |
0.3.0 | 2,114 | 3/9/2018 |
0.2.0 | 979 | 3/9/2018 |
0.1.1 | 1,441 | 12/2/2017 |
0.1.0 | 1,073 | 12/2/2017 |