sledilnik / data-api

Provides REST API to source CSV files
MIT License
6 stars 4 forks source link

Bump prometheus-net.AspNetCore from 7.0.0 to 8.2.1 in /sources/SloCovidServer #164

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 8 months ago

Bumps prometheus-net.AspNetCore from 7.0.0 to 8.2.1.

Release notes

Sourced from prometheus-net.AspNetCore's releases.

8.2.1 - bugfix for occasional exception on metrics scrape

Fix occasional "Collection was modified" exception when serializing metrics. #464

v8.2.0 - performance improvements

  • .WithLabels() & similar now accept ReadOnlyMemory as alternative to string[]. Same behavior, just easier to use if you already have a ReadOnlyMemory.
  • .WithLabels() & similar now accept ReadOnlySpan as alternative to string[]. This enables allocation-free metric instance creation if a metric instance with these labels is already known.
  • Incorporated various optimizations to reduce the required CPU time and allocated memory, including #410, #443 and other contributions.
  • Observation of large histograms is now 10-30% faster on machines that support AVX2 instructions.
  • health checks exposed via ForwardToPrometheus() no longer create a default metric if a custom metric is provided #444

v8.1.0 - Add support for capturing HttpClient metrics from all registered HttpClients

Add support for capturing HttpClient metrics from all registered HttpClients (services.UseHttpClientMetrics()).

v8.0.1 - Allow ObservableCounter to be reset

Allow ObservableCounter to be reset. Previously, the MeterAdapter output got stuck on its previous maximum if the underlying Meter reset its value to a lower value. Now we transform the value 1:1.

v8.0.0 - OpenMetrics, exemplars, performance optimizations and bugfixes

  • Added OpenMetrics exposition format support (#388).
  • Added exemplar support for Counter and Histogram (#388).
  • The ':' character is no longer allowed in metric or label names. For metric names, Prometheus standard practice is to use colon only in recording rules.
  • Publish symbol packages and add Source Link support for easier debugging experience.
  • Fix defect where metrics with different labels could overwrite each other in specific circumstances with multiple metric factories in use (#389).
  • Ensure even harder that MetricPusher flushes the final state before stopping (#383 and #384)
  • Simplify DotNetStats built-in collector code for ease of readability and more best practices (#365, #364)
  • Slightly improve Counter performance under concurrent load.
  • Reduce memory allocations performed during ASP.NET Core HTTP request tracking.
  • By default, EventCounterAdapter will only listen to a small predefined set of general-purpose useful event sources, to minimize resource consumption in the default configuration. A custom event source filter must now be provided to enable listening for additional event sources.
  • EventCounterAdapter will only refresh data every 10 seconds by default, to reduce amount of garbage generated in memory (.NET event counters are very noisy and create many temporary objects).
  • Added IManagedLifetimeMetricFactory.WithLabels() to enable simpler label enrichment in scenarios where lifetime-managed metric instances are used.
  • Added back .NET Standard 2.0 support as some customers had a hard dependency on .NET Standard 2.0 (despite not being a documented feature even earlier).
  • Added (Observable)UpDownCounter support to MeterAdapter (.NET 7 specific feature).
Changelog

Sourced from prometheus-net.AspNetCore's changelog.

  • 8.2.1
  • Fix occasional "Collection was modified" exception when serializing metrics. #464
  • 8.2.0
  • .WithLabels() & similar now accept ReadOnlyMemory as alternative to string[]. Same behavior, just easier to use if you already have a ReadOnlyMemory.
  • .WithLabels() & similar now accept ReadOnlySpan as alternative to string[]. This enables allocation-free metric instance creation if a metric instance with these labels is already known.
  • Incorporated various optimizations to reduce the required CPU time and allocated memory, including #410, #443 and other contributions.
  • Observation of large histograms is now 10-30% faster on machines that support AVX2 instructions.
  • health checks exposed via ForwardToPrometheus() no longer create a default metric if a custom metric is provided #444
  • 8.1.1
  • Fix bug in .NET Meters API adapter for UpDownCounter, which was incorrectly transformed to Prometheus metrics. #452 and #453
  • 8.1.0
  • Add support for capturing HttpClient metrics from all registered HttpClients (services.UseHttpClientMetrics()).
  • 8.0.1
  • Allow ObservableCounter to be reset. Previously, the MeterAdapter output got stuck on its previous maximum if the underlying Meter reset its value to a lower value. Now we transform the value 1:1.
  • 8.0.0
  • Added OpenMetrics exposition format support (#388).
  • Added exemplar support for Counter and Histogram (#388).
  • The ':' character is no longer allowed in metric or label names. For metric names, Prometheus standard practice is to use colon only in recording rules.
  • Publish symbol packages and add Source Link support for easier debugging experience.
  • Fix defect where metrics with different labels could overwrite each other in specific circumstances with multiple metric factories in use (#389).
  • Ensure even harder that MetricPusher flushes the final state before stopping (#383 and #384)
  • Simplify DotNetStats built-in collector code for ease of readability and more best practices (#365, #364)
  • Slightly improve Counter performance under concurrent load.
  • Reduce memory allocations performed during ASP.NET Core HTTP request tracking.
  • By default, EventCounterAdapter will only listen to a small predefined set of general-purpose useful event sources, to minimize resource consumption in the default configuration. A custom event source filter must now be provided to enable listening for additional event sources.
  • EventCounterAdapter will only refresh data every 10 seconds by default, to reduce amount of garbage generated in memory (.NET event counters are very noisy and create many temporary objects).
  • Added IManagedLifetimeMetricFactory.WithLabels() to enable simpler label enrichment in scenarios where lifetime-managed metric instances are used.
  • 7.1.0
  • Added back .NET Standard 2.0 support as some customers had a hard dependency on .NET Standard 2.0 (despite not being a documented feature even earlier).
  • Added (Observable)UpDownCounter support to MeterAdapter (.NET 7 specific feature).
Commits
  • 60e9106 De-confusify histogram1 in .NET Meters API sample
  • 6a88ea9 Fix occasional "Collection was modified" exception when serializing metrics. ...
  • a2c1c8f Merge branch 'master' of https://github.com/prometheus-net/prometheus-net
  • 4787691 History update
  • 36b4750 Create default gauge only if needed (#444)
  • 9cb24e8 Add WithLabels(ROM) and WithLabels (ROS) to ICollector and tidy up some bench...
  • 7837255 Use Dictionary.TryAdd() to reduce CPU cost of adding new items to dictionaries
  • 78cd754 ServerGC in benchmarks
  • 99f640f Optimize StringSequence Concat() for one-empty cases
  • 31ebd1b Use slightly maybe sort of a bit faster atomic logic in random places
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
stefanb commented 2 months ago

@dependabot rebase

dependabot[bot] commented 2 months ago

Looks like prometheus-net.AspNetCore is up-to-date now, so this is no longer needed.