-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Feature] Add telemetry #27
Conversation
// update the metric for unrelayed packets based on the difference between the latest sequences on BandChain and the target chain | ||
relayermetrics.SetUnrelayedPackets( | ||
t.TunnelID, | ||
float64(tunnelBandInfo.LatestSequence-tunnelChainInfo.LatestSequence), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
set twice? at the beginning & at the end?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
set once
relayer/tunnel_relayer.go
Outdated
// increment the packets received metric | ||
relayermetrics.IncPacketsReceived(t.TunnelID) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what increment packet received for? new packet that falcon receive or successfully relayed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change to PacketsRelayedSuccess
pls check
Fixed: #XXXX
Implementation details
SyncTunnels
logicPlease ensure the following requirements are met before submitting a pull request:
CHANGELOG_UNRELEASED.md
Files changed
tab in the Github PR explorer)