You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Metrics in the base node should be an optional compile-in. This should not be an always-enabled option and should be opt-in.
The library used Prometheus is full of unwrap code and features no error handles.
The text was updated successfully, but these errors were encountered:
Description
---
This make the node metrics opt-in instead of opt-out at compile time.
It is strange we need to leave metrics on in the integration tests. This
is mostly because clippy is often run with `--all-features` which means
metrics would be on in the node, and then required in the integration
configuration.
Closes: #5787
Motivation and Context
---
Mostly the metrics library has a chance of failure (panics) and it's
generally better (and more private) if we just have metrics off by
default.
How Has This Been Tested?
---
CI
Breaking Changes
---
- [x] None
- [ ] Requires data directory on base node to be deleted
- [ ] Requires hard fork
- [ ] Other - Please specify
Metrics in the base node should be an optional compile-in. This should not be an always-enabled option and should be opt-in.
The library used Prometheus is full of unwrap code and features no error handles.
The text was updated successfully, but these errors were encountered: