Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump prometheus-net.AspNetCore from 8.0.0 to 8.2.1 #1408

Merged
merged 1 commit into from
May 17, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 25, 2024

Bumps prometheus-net.AspNetCore from 8.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.

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.
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 <dependency name> 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)

Bumps [prometheus-net.AspNetCore](https://github.com/prometheus-net/prometheus-net) from 8.0.0 to 8.2.1.
- [Release notes](https://github.com/prometheus-net/prometheus-net/releases)
- [Changelog](https://github.com/prometheus-net/prometheus-net/blob/master/History)
- [Commits](prometheus-net/prometheus-net@v8.0.0...v8.2.1)

---
updated-dependencies:
- dependency-name: prometheus-net.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Apr 25, 2024
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link
Contributor

@martyn-w martyn-w left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

@martyn-w martyn-w merged commit a10f858 into master May 17, 2024
10 checks passed
@martyn-w martyn-w deleted the dependabot/nuget/prometheus-net.AspNetCore-8.2.1 branch May 17, 2024 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file .NET Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant