-
Notifications
You must be signed in to change notification settings - Fork 522
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
[DOC] Add missing doc for metrics #3726
[DOC] Add missing doc for metrics #3726
Conversation
These functions can be added as an operator at the end of any TraceQL query. | ||
|
||
`rate` | ||
: Provides the percentage of |
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.
?
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.
What does rate actually do? I was trying to figure out the best way to define it.
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.
Rate is like count_over_time, but normalized to spans per second. They are based on the granularity of the step
parameter in the request. If your step is 1 minute, then rate = count_over_time / 60 (there are 60 seconds in a minute).
Co-authored-by: Martin Disibio <[email protected]>
Co-authored-by: Martin Disibio <[email protected]>
This PR must be merged before a backport PR will be created. |
* Add missing doc for metrics * Update docs/sources/tempo/operations/traceql-metrics.md * Apply suggestions from code review Co-authored-by: Martin Disibio <[email protected]> * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Martin Disibio <[email protected]> --------- Co-authored-by: Martin Disibio <[email protected]> (cherry picked from commit 56a0b8c)
* [DOC] Add missing doc for metrics (#3726) * Add missing doc for metrics * Update docs/sources/tempo/operations/traceql-metrics.md * Apply suggestions from code review Co-authored-by: Martin Disibio <[email protected]> * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Martin Disibio <[email protected]> --------- Co-authored-by: Martin Disibio <[email protected]> (cherry picked from commit 56a0b8c) * Update docs/sources/tempo/operations/traceql-metrics.md --------- Co-authored-by: Kim Nylander <[email protected]>
What this PR does:
Adds missing doc for quantile_over_time, histrogram, and rate.
Related: #3605, #3633, #3644
Questions for reviewers:
Which issue(s) this PR fixes:
Fixes #
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]