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

✨ Indexer Status Server #54

Merged
merged 7 commits into from
Dec 21, 2023
Merged

✨ Indexer Status Server #54

merged 7 commits into from
Dec 21, 2023

Conversation

EvolveArt
Copy link
Contributor

This PR adds the /status/:id route on the API.

When spinning up a new apibara indexer, you can specify an address for the gRPC status server.
The service assigns a random available port to every indexer it starts.
This port is then passed to the run command with the --status-server-address option.

Finally, one one want to query an indexer's status we simply query the indexer's status server through gRPC.

@EvolveArt EvolveArt merged commit e0206c7 into main Dec 21, 2023
4 checks passed
@EvolveArt EvolveArt deleted the feat/status-server branch December 21, 2023 15:48
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.

1 participant