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

sum peers clock skew into metric #1695

Merged
merged 6 commits into from
Jul 12, 2023

Conversation

najeal
Copy link
Contributor

@najeal najeal commented Jul 5, 2023

Why this should be merged

it closes #1542

How this works

It creates a prometheus Gauge and adds clock skew each time it handles a valid Version message just before sending a PeerList message.

How this was tested

network/peer/metrics.go Outdated Show resolved Hide resolved
network/peer/metrics.go Outdated Show resolved Hide resolved
network/peer/metrics.go Outdated Show resolved Hide resolved
network/peer/peer.go Outdated Show resolved Hide resolved
@StephenButtolph StephenButtolph added the monitoring This primarily focuses on logs, metrics, and/or tracing label Jul 6, 2023
@StephenButtolph StephenButtolph added this to the v1.10.5 milestone Jul 6, 2023
Copy link
Contributor

@joshua-kim joshua-kim left a comment

Choose a reason for hiding this comment

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

Minor nits, thanks for the PR!

network/peer/metrics.go Outdated Show resolved Hide resolved
network/peer/peer.go Outdated Show resolved Hide resolved
Signed-off-by: Stephen Buttolph <[email protected]>
@StephenButtolph StephenButtolph merged commit aa06de0 into ava-labs:dev Jul 12, 2023
12 checks passed
@najeal najeal deleted the sum-clock-skew-metric branch July 12, 2023 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
monitoring This primarily focuses on logs, metrics, and/or tracing
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants