You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# current is a tuple of [event_count, byte_size] store the reference locally to avoid repeatedly
177
177
# reading and retrieve unrelated values
178
178
current_data_point=stats[:batch][:current]
179
-
# average return a FlowMetric which and we need to invoke getValue to obtain the map with metric details.
179
+
# FlowMetric (from stats[:batch][:event_count][:average]) returns a composite object containing lifetime/last_1_minute/etc values. In order to get the map of sub-metrics we must use `.value`.
0 commit comments