Breaking change: some HTTP metrics implementation classes were changed from public to internal. Allow arbitrary ASP.NET Core route parameters to be exposed as HTTP metric labels. Added request filtering (authorization) support to standalone MetricServer. Fix overflow in Summary after observing more than uint.MaxValue events. Ignore /metrics URL by default in HTTP request metrics. Added ICollectorRegistry and IMetricFactory for mocking in test code. Added support for defining static labels on registry or metric level.
MetricPusher now supports a callback for logging push errors.
#PROMETHEUS IOS TOOL DOWNLOAD WINDOWS#
NetFx target is now conditional for Windows builds only, to allow easier development work on nonwindows platforms. is now strong named, just like all the other assemblies. Fixed HttpClient metrics duration that was incorrectly measured. Bugfix: HTTP request metrics in 4.1.0 got broken due to typo in middleware helper. No longer need to manually reference ASP.NET Core SDK in csproj file when installing prometheus-net.AspNetCore library. Fix defect where MetricPusher terminated when HttpClient signaled timeout. Added ConfigureAwait(false) to MetricHandler to help avoid deadlocks in some rare scenarios. Improved accuracy of histogram bucket calculations to reduce the likelyhood of seeing 0.00000000000000000001 offsets from expected value due to floating point math. Added Histogram.PowersOfTenDividedBuckets() HTTP client metrics are now published via the netstandard package, without requiring ASP.NET Core. Also renamed metric to httpclient_requests_sent_total since it said "received" previously (due to copy-paste error from HTTP server metrics). HTTP client metrics now count responses when they are completed, not when started, to match with HTTP server metrics.
#PROMETHEUS IOS TOOL DOWNLOAD CODE#
Added "code" label with HTTP response code to HTTP client metrics. Added "client" label containing the name of HTTP client to HTTP client metrics.
Added HTTP client metric that measures the response duration (time until response content reading is finished). Now skips overlapping region of generated series. Bugfix: PowersOfTenDividedBuckets did not work with >= 10 buckets due to overlap. Bugfix: HttpClientMetrics under concurrent load with long-running requests were leading to broken response streams.