Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Issue-43 Add Node Health Prom Metrics per Chain #44

Merged

Conversation

Maxitosh
Copy link
Contributor

Github issue

#43

Description

This PR enhances the node health metrics by introducing detailed per-chain gauges.
It adds three new metrics:

  • Number of healthy nodes per chain.
  • Number of synced nodes per chain.
  • Number of nodes in timeout per chain.

These metrics will be exported in Prometheus format and available for scraping at the /metrics endpoint, providing improved visibility and monitoring capabilities.

Type of change

Please delete option that is not relevant.

  • New feature (non-breaking change which adds functionality)

@nodiesBlade nodiesBlade self-requested a review May 26, 2024 21:27
Copy link
Collaborator

@nodiesBlade nodiesBlade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty clean and exactly how I would've done it. LGTM

@nodiesBlade nodiesBlade merged commit fd302f2 into pokt-network:main May 27, 2024
2 checks passed
@Maxitosh Maxitosh deleted the enhancement/43/node-health-metrics branch May 27, 2024 17:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants