graph-node icon indicating copy to clipboard operation
graph-node copied to clipboard

Feat: Expose subgraph table sizes in SubgraphIndexingStatus

Open dimitrovmaksim opened this issue 3 months ago • 1 comments

Resolves https://github.com/graphprotocol/graph-node/issues/5470

What this PR does:

  1. Exposes (sum of) the deployments table sizes and rows through SubgraphIndexingStatus. The data is collected from the subgraph_sizes materialized view. Screenshot 2025-10-20 at 15 25 41

  2. Makes the subgraphs argument for ther indexingStatuses query required. After the changes in https://github.com/graphprotocol/graph-node/pull/6143, calling the query without an argument is redundant because it will always return an empty array.

dimitrovmaksim avatar Oct 20 '25 12:10 dimitrovmaksim

Let's wait for this PR https://github.com/graphprotocol/graph-node/pull/6194 to be merged before this one, so I can update to async logic

dimitrovmaksim avatar Oct 23 '25 16:10 dimitrovmaksim