Closed
Description
I saw that support for SSL bundles was added to the actuator info
and health
endpoints in #41205 and I think it would be really helpful to make that information available in the metrics
endpoint as well. I would like to utilize this enhancement to set up an alarm in my monitoring software so that I can renew my certificates before they expire.
I would imagine something like this:
GET http://localhost:8080/actuator/metrics/ssl.bundle.expiry
{
"name": "ssl.bundle.expiry",
"baseUnit": "days",
"measurements": [
{
"statistic": "VALUE",
"value": 351.0
}
],
"availableTags": [
{
"tag": "cert_alias",
"values": [
"my-alias"
]
},
{
"tag": "bundle_name",
"values": [
"mybundle"
]
}
]
}