Add certificate expiration metric to the static TLS certificate provider#6594
Add certificate expiration metric to the static TLS certificate provider#6594sharpeye wants to merge 1 commit into
Conversation
|
Note This is an automated comment that will be appended during run. Note All workloads for linux-x86_64-relwithdebinfo have completed. Tip Planned checks for linux-x86_64-relwithdebinfo.
🟢 linux-x86_64-relwithdebinfo target: cloud/storage/ (test time: 65s): all tests PASSED for commit 6d9e926.
🟢 linux-x86_64-relwithdebinfo target: cloud/filestore/ (test time: 7285s): all tests PASSED for commit 6d9e926.
|
106d315 to
15a3f3c
Compare
|
Note This is an automated comment that will be appended during run. Note All workloads for linux-x86_64-relwithdebinfo have completed. Tip Planned checks for linux-x86_64-relwithdebinfo.
|
15a3f3c to
7566def
Compare
|
Note This is an automated comment that will be appended during run. Note All workloads for linux-x86_64-relwithdebinfo have completed. Tip Planned checks for linux-x86_64-relwithdebinfo.
🟢 linux-x86_64-relwithdebinfo target: cloud/storage/ (test time: 73s): all tests PASSED for commit 7566def.
🟢 linux-x86_64-relwithdebinfo target: cloud/filestore/ (test time: 7186s): all tests PASSED for commit 7566def.
🟢 linux-x86_64-relwithdebinfo target: cloud/blockstore/ (test time: 11933s): all tests PASSED for commit 7566def.
|
7566def to
721e998
Compare
|
Note This is an automated comment that will be appended during run. Note All workloads for linux-x86_64-relwithdebinfo have completed. Tip Planned checks for linux-x86_64-relwithdebinfo.
🟢 linux-x86_64-relwithdebinfo target: cloud/storage/ (test time: 90s): all tests PASSED for commit 721e998.
|
721e998 to
831cbe5
Compare
|
Note This is an automated comment that will be appended during run. Note All workloads for linux-x86_64-relwithdebinfo have completed. Tip Planned checks for linux-x86_64-relwithdebinfo.
🟢 linux-x86_64-relwithdebinfo target: cloud/storage/ (test time: 71s): all tests PASSED for commit 831cbe5.
🟢 linux-x86_64-relwithdebinfo target: cloud/filestore/ (test time: 7194s): all tests PASSED for commit 831cbe5.
🟢 linux-x86_64-relwithdebinfo target: cloud/blockstore/ (test time: 11841s): all tests PASSED for commit 831cbe5.
|
| NTlsUtils::GetCertificateNotAfterTimestampSec(cert.CertChain); | ||
| if (HasError(error)) { | ||
| STORAGE_WARN( | ||
| "Unable to parse certificate notAfter date for " |
There was a problem hiding this comment.
If an error occurs here, ExpireTs will be set to zero, which will trigger the expired certificate alerts. I think that should be enough to draw attention to the issue.
Add the ExpireTs metric with the certificate expiration timestamp to the static TLS certificate provider.