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

API: support wal replay status api #944

merged 1 commit into from Jan 5, 2022


Copy link

@yeya24 yeya24 commented Dec 5, 2021

Signed-off-by: Ben Ye

Support the WAL Replay Status API

From the document, there should be another field state:

$ curl http://localhost:9090/api/v1/status/walreplay
  "status": "success",
  "data": {
    "min": 2,
    "max": 5,
    "current": 40,
    "state": "in progress"

But I cannot find it from the prometheus code

Signed-off-by: Ben Ye <>
Copy link
Contributor Author

yeya24 commented Jan 5, 2022

Anyone could help with reviewing this? @beorn7 @kakkoyun Thank you!

@kakkoyun kakkoyun changed the title support wal replay status api API: support wal replay status api Jan 5, 2022
Copy link

@kakkoyun kakkoyun left a comment


@kakkoyun kakkoyun merged commit e6e54e8 into prometheus:master Jan 5, 2022
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants