-
Notifications
You must be signed in to change notification settings - Fork 598
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
revert: remove enable_stream_row_count config #10261 #11328
Conversation
Interesting. May I ask for the motivation? |
With 500+ MV on a single machine, one user's Prometheus takes 16GB. |
I am thinking just giving MV and sinks two dedicated metrics, or judging |
Added a Sink and MV still always get the metrics. Other executors do not, but it is configurable. @BugenZhao Please take another look after and only after you come back from the vacation |
Codecov Report
@@ Coverage Diff @@
## main #11328 +/- ##
==========================================
- Coverage 70.28% 70.26% -0.03%
==========================================
Files 1366 1366
Lines 228417 228458 +41
==========================================
- Hits 160541 160515 -26
- Misses 67876 67943 +67
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 7 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
LGTM. PTAL @hzxa21 🥰
@@ -38,14 +39,16 @@ pub async fn trace( | |||
|
|||
let span_name = pretty_identity(&info.identity, actor_id, executor_id); | |||
|
|||
let is_sink_or_mv = info.identity.contains("Materialize") || info.identity.contains("Sink"); |
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.
This seems fragile but I'm unsure if there's a better way.
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.
let me open an issue to track this, a quick fix for Kaito
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.
+1. It seems a little bit hacky here.
@@ -38,14 +39,16 @@ pub async fn trace( | |||
|
|||
let span_name = pretty_identity(&info.identity, actor_id, executor_id); | |||
|
|||
let is_sink_or_mv = info.identity.contains("Materialize") || info.identity.contains("Sink"); |
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.
+1. It seems a little bit hacky here.
After this PR, the resulted file size can still be as large as 400MB.
The file is too large to attach here. |
Storage metric takes up 80%.
|
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Checklist
./risedev check
(or alias,./risedev c
)Documentation
Click here for Documentation
Types of user-facing changes
Please keep the types that apply to your changes, and remove the others.
Release note