Skip to content

Conversation

@cwasicki
Copy link
Contributor

@cwasicki cwasicki commented Nov 27, 2024

This adds support for streaming: By omitting the end date in the request, the client will return any historical data from timestamp until now and keep streaming new data as it arrives.

Also the start date can be omitted which let's the data start at the earliest time stamp that is available.

Omitting the end date retrieves all historical data until now and
then keep streaming any new data that arrives.

Omitting the start date sets the start date to the earliest time stamp
for which data for the request is available.

Signed-off-by: cwasicki <[email protected]>
@github-actions github-actions bot added the part:docs Affects the documentation label Nov 27, 2024
@cwasicki cwasicki changed the title Allow omitting start or end datetime in requests Support for streaming Nov 27, 2024
@cwasicki cwasicki marked this pull request as ready for review November 27, 2024 14:41
Copy link
Collaborator

@flora-hofmann-frequenz flora-hofmann-frequenz left a comment

Choose a reason for hiding this comment

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

LGTM!

@cwasicki
Copy link
Contributor Author

Fixes #23.

@cwasicki cwasicki added this pull request to the merge queue Nov 27, 2024
Merged via the queue into frequenz-floss:v0.x.x with commit 5fa8a62 Nov 27, 2024
14 checks passed
@cwasicki cwasicki deleted the stream branch November 27, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:docs Affects the documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants