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

CAD-2564: trace KES metrics even if there is error #2373

Merged
merged 1 commit into from
Feb 25, 2021

Conversation

denisshevchenko
Copy link
Contributor

@denisshevchenko denisshevchenko commented Feb 16, 2021

Previously, KES-related information wasn't traced if the node has expired KES-key. Now KES-related information will be traced anyway.

Now, even if KES-key is poisoned, KES-metrics is here:

$ curl 0.0.0.0:12798/metrics | grep KES
cardano_node_metrics_operationalCertificateExpiryKESPeriod_int 72
cardano_node_metrics_currentKESPeriod_int 0
cardano_node_metrics_remainingKESPeriods_int 0
cardano_node_metrics_operationalCertificateStartKESPeriod_int 10

Copy link
Contributor

@deepfire deepfire left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@Jimbo4350 Jimbo4350 left a comment

Choose a reason for hiding this comment

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

LGTM

@denisshevchenko
Copy link
Contributor Author

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Feb 25, 2021

@iohk-bors iohk-bors bot merged commit 40c46ec into master Feb 25, 2021
@iohk-bors iohk-bors bot deleted the cad-2564-kes-metrics-when-expired branch February 25, 2021 09:09
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.

3 participants