-
Notifications
You must be signed in to change notification settings - Fork 163
Add dedicated metrics view docs #3557
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
base: main
Are you sure you want to change the base?
Conversation
🔍 Preview links for changed docs |
|
||
The dedicated metrics view is only available in ES|QL mode. Select **Try ES|QL** from the **Discover** main page. | ||
|
||
% not sure if the above is true, but wasn't able to access in classic view. |
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.
% not sure if the above is true, but wasn't able to access in classic view. | |
% not sure if the above is true, but wasn't able to access in classic view. |
@miguel-sanchez-elastic I could only get this to work in ES|QL mode, not sure if there's a way in classic?
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.
Yes, it only works in ES|QL mode, the user needs to go to Try ES|QL and type TS metrics-* or any other time series index.
Note: it also work with FROM instead of TS, but we want to avoid saying it, we need to focus on TS
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.
Sounds good, I can update the FROM
language. I wonder if we want to do the same on the Logs view for consistency.
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.
TS is only for metrics, you can see more context here https://github.com/elastic/metrics-program/discussions/224
The summary is that FROM is for documents (Logs, etc) and TS is for metrics (Time series).
Some functionality that is specific for metrics only works when the data is time series hence the TS command.
Furthermore, when typing:
- TS space, only time series indixes appear
- FROM space, all indexes appear (at least for now) and there is a "UX enhancement" that if a user picks a time series indexes it automatically changes it to TS
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.
Makes sense, thanks for the explanation!
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, left a few minor suggestions 🚀
This PR closes #3019 and adds docs for the metrics-specific Discover view.