-
Notifications
You must be signed in to change notification settings - Fork 23
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
Clarify distribution summary docs #182
Changes from 2 commits
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 |
---|---|---|
|
@@ -28,7 +28,7 @@ via a filter, or use one of the operators below to generate a useful response. | |
|
||
### Average Measurement (:dist-avg) | ||
|
||
To compute the average latency across an arbitrary group, use the [:dist-avg] function: | ||
To compute the average size across an arbitrary group, use the [:dist-avg] function: | ||
|
||
@@@ atlas-stacklang | ||
/api/v1/graph?q=nf.cluster,foo,:eq,name,http.req.payload.size,:eq,:and,:dist-avg,(,nf.asg,),:by | ||
|
@@ -38,12 +38,17 @@ To compute the average latency across an arbitrary group, use the [:dist-avg] fu | |
|
||
### Maximum Measurement (:dist-max) | ||
|
||
To compute the maximum latency across a group, use [:dist-max]: | ||
To compute the maximum size across a group, use [:dist-max]: | ||
|
||
@@@ atlas-stacklang | ||
/api/v1/graph?q=nf.cluster,foo,:eq,name,http.req.payload.size,:eq,:and,:dist-max,(,nf.asg,),:by | ||
@@@ | ||
|
||
!!! Note | ||
Distribution summaries do not aggregate well over dimensions. Each measurement is recorded with a mapping of tags. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This doesn't really have anything to do with
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I moved this to the IPC spec for inflight metrics, and modified the wording to include some of your rewording. I don't want to make it sound like we shouldn't use distribution summary at all for inflight metrics, since we aren't deprecating it (for now). I still think it can be useful for customers to see the dist-max on certain filters, but we've added new dashboards for queueing approximation. |
||
Therefore, when using [:dist-max] to query over a set of filters, the response will represent the maximum size for a | ||
given set of tag values within the group, **not** the accumulate value of measurements across the entire group. | ||
|
||
[:dist-max]: ../../../asl/ref/dist-max.md | ||
|
||
### Standard Deviation of Measurement (:dist-stddev) | ||
|
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.
Good catch, thanks.