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

Add deployment_synced metric #5816

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

isum
Copy link
Member

@isum isum commented Feb 12, 2025

This PR adds a new deployment_synced metric that indicates whether a deployment has reached the chain head since it was deployed.

Possible values for the metric:

  • 0 - means that the deployment is not synced;
  • 1 - means that the deployment is synced;

If a deployment is not running, the metric reports no value for that deployment.

Closes #5813

Example of the metric in use

deployment_synced_metric

* All values in the example are for the same subgraph deployment.

@isum isum added the metrics label Feb 12, 2025
@isum isum self-assigned this Feb 12, 2025
@isum isum marked this pull request as ready for review February 12, 2025 13:21
@isum isum requested a review from mangas February 12, 2025 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add metric tracking synced status of a subgraph deployment
2 participants