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

add upload delay metrics #2713

Merged
merged 2 commits into from
Sep 9, 2022
Merged

add upload delay metrics #2713

merged 2 commits into from
Sep 9, 2022

Conversation

zhijian-pro
Copy link
Contributor

@zhijian-pro zhijian-pro commented Sep 9, 2022

close #2614

@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 9, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@davies davies marked this pull request as ready for review September 9, 2022 13:06
@davies davies merged commit 48d9b26 into main Sep 9, 2022
@davies davies deleted the add_upload_delay_metrics branch September 9, 2022 13:06
stageBlockDelay: prometheus.NewCounter(prometheus.CounterOpts{
Name: "staging_block_delay_seconds",
Help: "Total seconds of delay for staging blocks",
}),
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this metric be a histogram?

Copy link
Contributor

Choose a reason for hiding this comment

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

A histogram can provide more information with more metrics, but a counter may be enough here (less metrics).

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.

More metrics for delayed blocks
3 participants