Skip to content

Add node metrics#1479

Merged
nazar-pc merged 1 commit intomainfrom
rsub/metrics-a
Jun 8, 2023
Merged

Add node metrics#1479
nazar-pc merged 1 commit intomainfrom
rsub/metrics-a

Conversation

@rahulksnv
Copy link
Copy Markdown
Contributor

The PR adds metrics for primary chain: counters for blocks/extrinsics. This will be used for monitoring as part of load tests.

Code contributor checklist:

@nazar-pc nazar-pc merged commit 4a4dd86 into main Jun 8, 2023
@nazar-pc nazar-pc deleted the rsub/metrics-a branch June 8, 2023 09:22
i1i1 added a commit to autonomys/subspace-pulsar-sdk that referenced this pull request Jun 22, 2023
if let Some(registry) = config.prometheus_registry().as_ref() {
match NodeMetrics::new(
client.clone(),
client.import_notification_stream(),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@rahulksnv this was actually slightly incorrect and fixed in dfda03c

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

sg thanks

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