indexer
indexer copied to clipboard
Requests for indexer process guides
There is an ever growing set of indexer tools, scripts, and processes that are often described well in discord conversations but are not easily searchable there. I've created this issue to track all requests for guides and additional documentation to solicit input from the community and help organize prioritization.
I'd like to write and/or make available the following guides:
- [ ] Indexer management using the indexer-cli (may be able to simply make the guide from mission control available)
- [ ] Configuring transaction management in the agent: there is a tradeoff space between gas efficiency and transaction immediacy that I would like to make clear and provide several example scenarios.
- [ ] Guide to debugging PoI issues and using PoI analysis tools
Also (maybe related to 3rd item) "closing manually" (remix, cli.ts, etc)
For POI issues we need those for stuck/not on chain head which need to redeploy the subgraphs, closing manually via remix etc, like Koen said.. and then there are those that die and we need to find the last valid POI then manually close it with that.
Then theres also the one where subgraphs need to be replaced:
- Stop agent
- Stop index/query nodes
- Remove deployment with graphman
- Drop eth_call_cache
- Start index/query nodes
- Start agent
For PoI issues Gary contributed https://docs.thegraph.academy/technical-documentation/tips-and-tricks/manuallyclosingallocationsforfailedsubgraphs
Would be great if we could exploit the efforts already being made to avoid doubling up on the documentation work.