Skip to content

Comments

node: Make output of graphman infomore concise#5825

Merged
lutter merged 1 commit intomasterfrom
lutter/gm-info
Feb 20, 2025
Merged

node: Make output of graphman infomore concise#5825
lutter merged 1 commit intomasterfrom
lutter/gm-info

Conversation

@lutter
Copy link
Collaborator

@lutter lutter commented Feb 17, 2025

graphman info prints one fairly big block of text for each subgraph version. A lot of the information is repetetive since it is tied to a deployment, not a subgraph name. To make the output more usable, it is now organized around deployments, and lists all the names for a deployment in one place, like:

Namespace        | sgd114 [primary]
Hash             | QmVsp1bC9rS3rf861cXgyvsqkpdsTXKSnS4729boXZvZyH
Versions         | u65281/s53035/latest (current)
                 | u65281/s53035/v2 (current)
Chain            | mainnet
Node ID          | default
Active           | true
Paused           | false
Synced           | false
Health           | healthy
Earliest Block   | 9923743
Latest Block     | 9931270
Chain Head Block | 20988707
   Blocks behind | 11057437

The new options --brief and --no-name can be used to further cut down on the output by supressing names for all but active deployments or suppressing all names

@lutter lutter requested a review from isum February 17, 2025 23:36
graphman info prints one fairly big block of text for each subgraph
version. A lot of the information is repetetive since it is tied to a
deployment, not a subgraph name. To make the output more usable, it is now
organized around deployments, and lists all the names for a deployment in
one place, like:

```
Namespace        | sgd114 [primary]
Hash             | QmVsp1bC9rS3rf861cXgyvsqkpdsTXKSnS4729boXZvZyH
Versions         | u65281/s53035/latest (current)
                 | u65281/s53035/v2 (current)
Chain            | mainnet
Node ID          | default
Active           | true
Paused           | false
Synced           | false
Health           | healthy
Earliest Block   | 9923743
Latest Block     | 9931270
Chain Head Block | 20988707
   Blocks behind | 11057437
```

The new options `--brief` and `--no-name` can be used to further cut down
on the output by supressing names for all but active deployments or
suppressing all names
@lutter lutter merged commit 77b278c into master Feb 20, 2025
6 checks passed
@lutter lutter deleted the lutter/gm-info branch February 20, 2025 17:23
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.

2 participants