-
Notifications
You must be signed in to change notification settings - Fork 38
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
Fixes #20944: Broken reporting for double nested method calls #1348
Fixes #20944: Broken reporting for double nested method calls #1348
Conversation
"stack_len" int => length("method_id_unique.stack"); | ||
"method_id" string => nth("method_id_unique.stack", "0"); |
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 think that method_id should be only the stack is not empty
so here
not_empty_stack.!pass2::
"method_id" string => nth("method_id_unique.stack", "0");
and
pass1.!pass2::
"not_empty_stack" expression => isgreaterthan("${stack_len}", "0");
PR updated with a new commit |
PR updated with a new commit |
@@ -48,7 +48,6 @@ bundle agent service_stopped(name) | |||
"${report_data.method_id}_${name}" usebundle => call_method("ncf_services_check"); | |||
"${report_data.method_id}_${name}" usebundle => ncf_services("${name}", "is-active"); | |||
"${report_data.method_id}_${name}" usebundle => call_method_classes("${report_data.method_id}_ncf_services_check"); | |||
"${report_data.method_id}_${name}" usebundle => call_method_classes_caller; |
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.
why are you removing it ?
OK, squash merging this PR |
091dce2
to
ea8bd35
Compare
https://issues.rudder.io/issues/20944