-
Notifications
You must be signed in to change notification settings - Fork 473
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
test: metrics improvements #4639
test: metrics improvements #4639
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4639 +/- ##
==========================================
- Coverage 54.46% 54.44% -0.03%
==========================================
Files 407 407
Lines 52389 52394 +5
==========================================
- Hits 28534 28525 -9
- Misses 21467 21480 +13
- Partials 2388 2389 +1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
config/localTemplate.go
Outdated
|
||
// EnableUsageLog enables 10Hz log of CPU and RAM usage. | ||
// Also adds 'algod_ram_usage` (number of bytes in use) to /metrics | ||
EnableUsageLog bool `version[23]:"false"` |
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.
bump version?
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.
I don't think we need to for a new field not different than the Go field default.
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.
okay, now we have v24. Please update version[24]:"false"
and I'll merge
Summary
Add local config
"EnableUsageLog": true
which adds 10Hz logging of CPU and heap usage, and adds /metricsalgod_ram_usage
heap bytes gauge.metrics_delta.py gains --html-summary report fragment generation.
Fixes for block history scripts to deal with some real world data.
Test Plan
This has been use in manual testing for some weeks now.