-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Expose more information and stats about a data stream #58316
Comments
Pinging @elastic/es-core-features (:Core/Features/Data streams) |
@cjcenizal If we add a data stream stats api then means that for the data stream overview, two api calls would need to be made. I know just invoking a single api, would be the easiest way to build the data stream overview, but given that computing the more expensive stats changes the runtime characteristics of the get data stream api completely, I wonder whether it would be ok if we add stats to the data stream stats api? Alternatively we can add the information returned by the get data stream also to the data stream stats api, since those bits of information don't affect how data stream stats is executed, but then there is overlap between these two apis. |
Thanks @martijnvg! As long as the stats API supports wildcards, I think it's OK for the UI to make two API calls to retrieve the data it needs. We'll retrieve all data streams and stats for all data streams with two parallel API requests, and then merge this information together so we can present it in the table.
Thanks for mentioning this possibility as well. I'm comfortable with moving forward with the implementation I mentioned above, and then exploring merging data stream info into the stats API if we discover a concrete need for that level of optimization. |
The get data stream api currently returns for each returned data stream the following properties:
The data stream ui and telemetry requires more information about the data stream in order to become more useful. There is interest in adding the following data stream related information:
Some of these stats are relatively expensive to compute compared to the information returned from the get data streams api (which reads from cluster state). I think therefor we should add the expensive stats to a be added get data stream stats api.
Relates to #53100
The text was updated successfully, but these errors were encountered: