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

gossip: Add save_contact_info_time metric #4114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vadorovsky
Copy link
Member

Add save_contact_info_time metric which measures the time spent by the solGossip thread on fetching and saving contact info.

@vadorovsky vadorovsky marked this pull request as draft December 13, 2024 17:18
@vadorovsky vadorovsky force-pushed the sol-gossip-loop-metric branch from 5c2600c to 52aef03 Compare December 14, 2024 04:56
@vadorovsky vadorovsky marked this pull request as ready for review December 14, 2024 08:46
Copy link

@gregcusack gregcusack left a comment

Choose a reason for hiding this comment

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

looks good! just the one nit

Comment on lines 571 to 575
(
"save_contact_info_time",
stats.save_contact_info_time.clear(),
i64
),

Choose a reason for hiding this comment

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

nit: I would put this under cluster_info_stats2 since there are more timing metrics there and cluster_info_stats5 is more packet/count related

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

Add `save_contact_info_time` metric which measures the time spent by the
`solGossip` thread on fetching and saving contact info.
@vadorovsky vadorovsky force-pushed the sol-gossip-loop-metric branch from 52aef03 to a180e52 Compare December 17, 2024 22:11
@gregcusack gregcusack self-requested a review December 17, 2024 23:44
Copy link

@gregcusack gregcusack left a comment

Choose a reason for hiding this comment

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

lgtm! thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants