-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Exposes average batch metrics at 1, 5 and 15 minutes time window. #18460
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
Changes from 4 commits
e083753
f865a53
c22c384
8f2702c
7a9bd66
aa029b9
ebd0814
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -176,25 +176,52 @@ def refine_batch_metrics(stats) | |||
| # current is a tuple of [event_count, byte_size] store the reference locally to avoid repeatedly | ||||
| # reading and retrieve unrelated values | ||||
| current_data_point = stats[:batch][:current] | ||||
| { | ||||
| # average return a FlowMetric which and we need to invoke getValue to obtain the map with metric details. | ||||
|
||||
| public Map<String, Double> getValue() { |
Usually the paths drive to single value metric objects, but this a composite that needs explicit query to grab the contained values.
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.
@donoghuc let me know if you want me to reword the sentence so that could sound more meaningful (a good suggestion from a native speaker is very welcome :-) )
Uh oh!
There was an error while loading. Please reload this page.