Skip to content
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

Include time series temporal ranges to get data stream api for data streams in time series index mode #83518

Closed
martijnvg opened this issue Feb 4, 2022 · 1 comment · Fixed by #86395
Assignees
Labels
:Data Management/Data streams Data streams and their lifecycles Team:Data Management Meta label for data/management team

Comments

@martijnvg
Copy link
Member

martijnvg commented Feb 4, 2022

Change the get data stream api to include the following properties of a data stream:

  • Add index_mode from DataStream to the response.
  • For each backing index of a data stream with time series index mode, include the temporal range the backing index represents (based on the index.time_series.start_time and index.time_series.end_time index settings.
@martijnvg martijnvg added the :Data Management/Data streams Data streams and their lifecycles label Feb 4, 2022
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Feb 4, 2022
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@martijnvg martijnvg changed the title Expose more tsdb related information Include tsdb attributes to get data stream api Feb 4, 2022
@martijnvg martijnvg assigned martijnvg and unassigned danhermann Apr 19, 2022
@martijnvg martijnvg changed the title Include tsdb attributes to get data stream api Include time series temporal ranges to get data stream api for data streams in time series index mode May 2, 2022
martijnvg added a commit to martijnvg/elasticsearch that referenced this issue May 3, 2022
In case if a data stream is a time series data stream then include time series information.
This includes the continuous temporal ranges a time series data stream encapsulates.
This is computed based on combing the index.time_series.start_time and index.time_series.end_time
ranges of all backing indices of a time series data stream

Closes elastic#83518
martijnvg added a commit that referenced this issue May 9, 2022
In case if a data stream is a time series data stream then include time series information.
This includes the continuous temporal ranges a time series data stream encapsulates.
This is computed based on combing the index.time_series.start_time and index.time_series.end_time
ranges of all backing indices of a time series data stream

Closes #83518
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Data streams Data streams and their lifecycles Team:Data Management Meta label for data/management team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants