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
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
Commits
60e9106 De-confusify histogram1 in .NET Meters API sample
6a88ea9 Fix occasional "Collection was modified" exception when serializing metrics. ...
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)
Bumps prometheus-net.AspNetCore from 8.1.0 to 8.2.1.
Release notes
Sourced from prometheus-net.AspNetCore's releases.
Changelog
Sourced from prometheus-net.AspNetCore's changelog.
Commits
60e9106
De-confusify histogram1 in .NET Meters API sample6a88ea9
Fix occasional "Collection was modified" exception when serializing metrics. ...a2c1c8f
Merge branch 'master' of https://github.com/prometheus-net/prometheus-net4787691
History update36b4750
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 dictionaries78cd754
ServerGC in benchmarks99f640f
Optimize StringSequence Concat() for one-empty cases31ebd1b
Use slightly maybe sort of a bit faster atomic logic in random placesDependabot 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