-
Notifications
You must be signed in to change notification settings - Fork 197
Add time series histogram to the TSDB docs. #4548
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
Conversation
✅ Vale Linting ResultsNo issues found on modified lines! The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale. |
🔍 Preview links for changed docs |
Co-authored-by: Kostas Krikellas <131142368+kkrik-es@users.noreply.github.com>
|
|
||
| `counter` | ||
| : A cumulative metric that only monotonically increases or resets to `0` (zero). For example, a count of errors or completed tasks that resets when a serving process restarts. | ||
| : A cumulative metric that only monotonically increases or resets to `0` (zero). For example, a count of errors or completed tasks that resets when a serving process restarts. A counter is supported by all [numeric field types](elasticsearch://reference/elasticsearch/mapping-reference/number.md) |
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.
Is this int, long and double?
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.
The mapping accepts all numeric fields, I have tried scaled_float, float, byte, short. I haven't tested it end to end though, I mean index data, downsample, run ESQL queries. Do you think this is something we need to explore further?
manage-data/data-store/data-streams/time-series-data-stream-tsds.md
Outdated
Show resolved
Hide resolved
manage-data/data-store/data-streams/time-series-data-stream-tsds.md
Outdated
Show resolved
Hide resolved
kkrik-es
left a comment
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.
Just a few nits. It'd be nice to have Marci take a look too.
marciw
left a comment
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.
LGTM with small suggestions.
Co-authored-by: Marci W <333176+marciw@users.noreply.github.com>
Summary
This PR is documenting the a new time series metric type that is added in
9.3the histogram. A time series metric histogram supports two types, histogram and exponential histogram. Furthermore, we document that it can be downsampled and what happens when it's downsampled with the aggregate method.The last value downsampling method will be documented in a follow up PR.
Part of #136294
Generative AI disclosure