This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
client/authority-discovery: Instrument code with Prometheus #5195
Merged
gavofyork
merged 5 commits into
paritytech:master
from
mxinden:authority-discovery-prometheus
Mar 11, 2020
Merged
client/authority-discovery: Instrument code with Prometheus #5195
gavofyork
merged 5 commits into
paritytech:master
from
mxinden:authority-discovery-prometheus
Mar 11, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Introduce Prometheus metrics into the authority discovery module enabling one to observe: - authority_discovery_times_published_total - authority_discovery_amount_external_addresses_last_published - authority_discovery_times_requested_total - authority_discovery_dht_event_received
expenses
suggested changes
Mar 9, 2020
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.
Generally looks good, metric documentation could be improved a little bit (English 🤷♀️).
expenses
suggested changes
Mar 9, 2020
Co-Authored-By: Ashley <[email protected]>
Thanks @expenses, appreciated! Can you take another look? |
expenses
approved these changes
Mar 10, 2020
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.
LGTM!
Co-Authored-By: Ashley <[email protected]>
@mxinden tests failing? |
gavofyork
added
A7-looksgoodtestsfail
and removed
A0-please_review
Pull request needs code review.
labels
Mar 10, 2020
@mxinden merging master should fix it. |
General-Beck
pushed a commit
to General-Beck/substrate
that referenced
this pull request
Mar 12, 2020
…ch#5195) * client/authority-discovery: Instrument code with Prometheus Introduce Prometheus metrics into the authority discovery module enabling one to observe: - authority_discovery_times_published_total - authority_discovery_amount_external_addresses_last_published - authority_discovery_times_requested_total - authority_discovery_dht_event_received * client/authority-discovery/src/lib.rs: Reword metric help texts Co-Authored-By: Ashley <[email protected]> * client/authority-discovery/src/lib.rs: Reword metric help text Co-Authored-By: Ashley <[email protected]> * client/authority-discovery/tests: Fix struct instantiation + basic test Co-authored-by: Ashley <[email protected]>
General-Beck
pushed a commit
to General-Beck/substrate
that referenced
this pull request
Mar 17, 2020
…ch#5195) * client/authority-discovery: Instrument code with Prometheus Introduce Prometheus metrics into the authority discovery module enabling one to observe: - authority_discovery_times_published_total - authority_discovery_amount_external_addresses_last_published - authority_discovery_times_requested_total - authority_discovery_dht_event_received * client/authority-discovery/src/lib.rs: Reword metric help texts Co-Authored-By: Ashley <[email protected]> * client/authority-discovery/src/lib.rs: Reword metric help text Co-Authored-By: Ashley <[email protected]> * client/authority-discovery/tests: Fix struct instantiation + basic test Co-authored-by: Ashley <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduce Prometheus metrics into the authority discovery module
enabling one to observe:
authority_discovery_times_published_total
authority_discovery_amount_external_addresses_last_published
authority_discovery_times_requested_total
authority_discovery_dht_event_received
This is still missing a corresponding Polkadot pull request given that one now needs to pass a registry to the authority discovery module.Corresponding Polkadot pull request: paritytech/polkadot#893