Skip to content

Conversation

mdbirnstiehl
Copy link
Contributor

This PR closes #3019 and adds docs for the metrics-specific Discover view.

Copy link

github-actions bot commented Oct 20, 2025


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.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
% 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?

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

Copy link
Contributor Author

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.

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

Copy link
Contributor Author

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!

Copy link
Contributor

@benironside benironside left a 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 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update docs for Discover profile: Metrics

3 participants