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 Prometheus metrics for unrelayed-packets and unrelayed-acknoledgments #1356

Merged
merged 3 commits into from
Dec 18, 2023

Conversation

boojamya
Copy link
Contributor

@boojamya boojamya commented Dec 6, 2023

This PR add two new prometheus metrics:

  • cosmos_relayer_unrelayed_packets
  • cosmos_relayer_unrelayed_acks

This metric is updated after each "flush". The default flush interval is 5 min.

Closes #1333

Copy link
Member

@jtieri jtieri left a comment

Choose a reason for hiding this comment

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

couple small comments but otherwise this looks good!

relayer/processor/metrics.go Outdated Show resolved Hide resolved
relayer/processor/metrics.go Outdated Show resolved Hide resolved
relayer/processor/metrics.go Outdated Show resolved Hide resolved
@boojamya boojamya enabled auto-merge (squash) December 18, 2023 18:41
@boojamya boojamya merged commit ba17805 into main Dec 18, 2023
19 checks passed
@boojamya boojamya deleted the dan/unrelayed-seqs-metric2 branch December 18, 2023 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: Metrics TYPE: Metrics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Export Prom Metrics Count for: unrelayed-packets and unrelayed-acks
2 participants