graph-node
graph-node copied to clipboard
Feat: Expose subgraph table sizes in SubgraphIndexingStatus
Resolves https://github.com/graphprotocol/graph-node/issues/5470
What this PR does:
-
Exposes (sum of) the deployments table sizes and rows through
SubgraphIndexingStatus. The data is collected from thesubgraph_sizesmaterialized view. -
Makes the
subgraphsargument for therindexingStatusesquery 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.
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