-
Notifications
You must be signed in to change notification settings - Fork 710
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
[tmpnet] Misc cleanup for monitoring tooling #3527
Conversation
- monitoring scripts output the command to kill the collector they start - make script output uniformly cased - write the monitoring url for a local node and tmpnet nodes to their respective node paths for later use
|
||
// Write link to the network path and to stdout | ||
metricsPath := filepath.Join(n.Dir, "metrics.txt") | ||
if err := os.WriteFile(metricsPath, []byte(metricsURL+"\n"), perms.ReadWrite); err != nil { |
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.
perms.ReadWrite
this is genius!
|
It seems like the intent is for this to be written exactly as written, without evaluating any expressions. |
Ah - it is causing CI to fail |
Updated to ignore shellcheck failures, since the intent is to output the literal rather than evaluated version of the text. |
Why this should be merged
Cleanup DX for local monitoring in preparation for lightning talk.
How this works
How this was tested
Manually
Need to be documented in RELEASES.md?
No