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(streaming): query progress #2186

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat(streaming): query progress #2186

wants to merge 1 commit into from

Conversation

hekike
Copy link
Contributor

@hekike hekike commented Jan 31, 2025

Track query progress by tracking scanned rows:

GET http://localhost:8888/api/v1/meters/tokens_total/query?from=2024-06-01T00:00:00Z&clientId=my-client-id-1
GET http://localhost:8888/api/v1/meters/events?clientId=my-client-id-2

GET http://localhost:8888/api/v1/info/progress/my-client-id-1
GET http://localhost:8888/api/v1/info/progress/my-client-id-2

{
  "failed": 0,
  "success": 500000,
  "total": 1000000,
  "updatedAt": "2025-01-31T12:49:37.368695-08:00"
}

@hekike hekike added area/processor release-note/feature Release note: Exciting New Features labels Jan 31, 2025
@hekike hekike changed the title Feat/query progress feat(streaming): query progress Jan 31, 2025
@hekike hekike force-pushed the feat/query-progress branch from 7725350 to 920b853 Compare February 2, 2025 03:57
@hekike hekike marked this pull request as ready for review February 2, 2025 15:54
@hekike hekike force-pushed the feat/query-progress branch from 3df41fe to c511033 Compare February 3, 2025 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/processor release-note/feature Release note: Exciting New Features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant