-
Notifications
You must be signed in to change notification settings - Fork 890
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
Migrate to Prometheus lib 1.x #7880
Changes from 26 commits
0e7db5f
695a53a
5095e68
a4d09ae
a7d8131
43770b4
ea3b2e3
d8ffff4
70b767c
1610025
7281076
0405e2c
539dc5d
5a577d2
f6c79cc
f343ce5
306a140
b76bdee
66eaa69
187ff9b
fd9f323
a58c2cc
ffc7907
1c2da80
4a74167
2d75538
9d7011a
6ccc049
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,21 @@ | |
|
||
### Breaking Changes | ||
- Removed Retesteth rpc service and commands [#7833](https://github.com/hyperledger/besu/pull/7783) | ||
- With the upgrade of the Prometheus Java Metrics library, there are the following changes: | ||
- Gauge names are not allowed to end with `total`, therefore the metric `besu_blockchain_difficulty_total` is losing the `_total` suffix | ||
- The `_created` timestamps are not returned by default, you can set the env var `BESU_OPTS="-Dio.prometheus.exporter.includeCreatedTimestamps=true"` to enabled them | ||
fab-10 marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are either of these metrics used on the Besu full dashboard? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, they are not used by our official dashboard |
||
- Some JVM metrics have changed name to adhere to the OTEL standard (see the table below), [Besu Full Grafana dashboard](https://grafana.com/grafana/dashboards/16455-besu-full/) is updated to support both names | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's great there's a dashboard update to go along with this 👍 . For completeness and extra visibility can you also mention this in the PR desc please? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. updated the description |
||
|
||
| Old Name | New Name | | ||
|---------------------------------|---------------------------------| | ||
| jvm_memory_bytes_committed | jvm_memory_committed_bytes | | ||
| jvm_memory_bytes_init | jvm_memory_init_bytes | | ||
| jvm_memory_bytes_max | jvm_memory_max_bytes | | ||
| jvm_memory_bytes_used | jvm_memory_used_bytes | | ||
| jvm_memory_pool_bytes_committed | jvm_memory_pool_committed_bytes | | ||
| jvm_memory_pool_bytes_init | jvm_memory_pool_init_bytes | | ||
| jvm_memory_pool_bytes_max | jvm_memory_pool_max_bytes | | ||
| jvm_memory_pool_bytes_used | jvm_memory_pool_used_bytes | | ||
|
||
### Upcoming Breaking Changes | ||
- Plugin API will be deprecating the BesuContext interface to be replaced with the ServiceManager interface. | ||
|
@@ -26,6 +41,7 @@ | |
- Add a method to check if a metric category is enabled to the plugin API [#7832](https://github.com/hyperledger/besu/pull/7832) | ||
- Add a new metric collector for counters which get their value from suppliers [#7894](https://github.com/hyperledger/besu/pull/7894) | ||
- Add account and state overrides to `eth_call` [#7801](https://github.com/hyperledger/besu/pull/7801) and `eth_estimateGas` [#7890](https://github.com/hyperledger/besu/pull/7890) | ||
- Prometheus Java Metrics library upgraded to version 1.3.3 [#7880](https://github.com/hyperledger/besu/pull/7880) | ||
|
||
### Bug fixes | ||
- Fix registering new metric categories from plugins [#7825](https://github.com/hyperledger/besu/pull/7825) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there are some projects (eg teku) that use metrics core modules - need to communicate breaking changes to them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, will support them for the upgrade