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

feat: add a new stream info API #720

Merged
merged 2 commits into from
Mar 28, 2024

Conversation

nikhilsinhaparseable
Copy link
Contributor

API - GET /logstream/{logstream}/info
Response -
{
"created-at": "2024-03-27T15:58:28.418792+05:30",
"first-event-at": "2024-03-27T15:59:08.980+05:30",
"cache_enabled": false,
"time_partition": "source_time"
}

Fixes #691 .

Description


This PR has:

  • been tested to ensure log ingestion and log query works.
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added documentation for new or modified features or behaviors.

API - GET /logstream/{logstream}/info
Response -
{
    "created-at": "2024-03-27T15:58:28.418792+05:30",
    "first-event-at": "2024-03-27T15:59:08.980+05:30",
    "cache_enabled": false,
    "time_partition": "source_time"
}
@nitisht nitisht merged commit dc9e0c5 into parseablehq:main Mar 28, 2024
6 checks passed
nikhilsinhaparseable added a commit to nikhilsinhaparseable/parseable that referenced this pull request Apr 20, 2024
Add API - GET /logstream/{logstream}/info
Response -
{
    "created-at": "2024-03-27T15:58:28.418792+05:30",
    "first-event-at": "2024-03-27T15:59:08.980+05:30",
    "cache_enabled": false,
    "time_partition": "source_time"
}

Also removed logic of first-event-at and created-at 
from stats API response
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.

feat: add a new stream info API
2 participants