prom-client-net / prom-client-httprequestdurations Goto Github PK
View Code? Open in Web Editor NEWMetrics logging of request durations for the Prometheus.Client
License: MIT License
Metrics logging of request durations for the Prometheus.Client
License: MIT License
Hi,
thanks for this tool! Would it be please possible to implement own bucket sizes to Histogram? Histogram supports this operation so it shouldn't be complicated (Metrics.CreateHistogram("my_histogram", "help text", buckets: new[] { 0, 0.2, 0.4, 0.6, 0.8, 0.9 });
).
Thanks.
Martin
Add custom labels for all metrics
Quite often services using convention '/api/...' to avoid conflicts with routes and for other reasons. It'll be beneficial to have some way of telling the framework to ignore all routes which don't match the convention.
Measure requests to Prometheus endpoint so that it is included, because from what I'm seeing it isn't.
Would allow us to understand how fast we can serve metrics.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
This repository currently has no open or pending branches.
.github/workflows/automerge.yml
.github/workflows/ci.yml
Directory.Build.props
StyleCop.Analyzers 1.1.118
Microsoft.SourceLink.GitHub 8.0.0
src/Prometheus.Client.HttpRequestDurations.csproj
Prometheus.Client 5.2.0
tests/Prometheus.Client.HttpRequestDurations.Tests.csproj
xunit.runner.visualstudio 2.8.1
xunit 2.8.1
coverlet.msbuild 6.0.2
coverlet.collector 6.0.2
Microsoft.NET.Test.Sdk 17.10.0
Add 'Path Normalization' with regex.
Dirty version: https://github.com/PrometheusClientNet/Prometheus.Client.HttpRequestDurations/pull/1/files
We are migrating our applications from Prometheus-net to Prometheus.Client.
Prometheus-net had an extension method to IApplicationBuilder
called UseHttpMetrics()
. With the implementation in Prometheus.Client.HttpRequestDurations, I have been unable to identify a way to incorporate the controller name as a label in the metric. We really need this as if we use the path instead -- we end up with significant label explosion due to many parameters that are inorporated into our api route paths.
Is there an existing way to get 'Controller' name as a label? and if not, is this something that could be added?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.