-
Notifications
You must be signed in to change notification settings - Fork 706
feat(hummock): add aws-s3 dashboards for hummock monitor #413
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
Conversation
| let json_context = fs::read_to_string(&s3_dashboard_path)?; | ||
| fs::write(&s3_dashboard_path, json_context)?; | ||
| let yml = format!( | ||
| r#"# --- THIS FILE IS AUTO GENERATED BY RISEDEV --- |
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.
IIRC, Grafana yaml supports one yaml for multiple dashboards. No need to create two different yaml. You may merge this with the above function.
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.
We hope that risingwabe and third-party service(s3, ec2) on the different dashboards, whereas a grafana yml file corresponding to a dashboards
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.
A grafana yaml file can correspond to multiple dashboards. Anyway, I'm okay with the current approach.
| .to_string_lossy() | ||
| .to_string(); | ||
|
|
||
| let json_context = fs::read_to_string(&s3_dashboard_path)?; |
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 should be a fs::copy function?
Codecov Report
@@ Coverage Diff @@
## main #413 +/- ##
============================================
- Coverage 72.91% 72.91% -0.01%
Complexity 2686 2686
============================================
Files 867 867
Lines 48898 48898
Branches 1579 1579
============================================
- Hits 35655 35653 -2
- Misses 12430 12432 +2
Partials 813 813
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
What's changed and what's your intention?
PLEASE DO NOT LEAVE THIS EMPTY !!!
Please explain IN DETAIL what the changes are in this PR and why they are needed:
AWS-S3 provides CloudWatch and X-Ray for monitoring, this PR add aws-s3 monitoring in risingwave grafana dashboards, and s3 dashboards are as follows:
Checklist
Refer to a related PR or issue link (optional)
#326