Remove SSL status tag from metrics
Update `SslMeterBinder` to the status tag is no longer included in the reported metrics. Instead the expiry date should be used directly by the monitoring system. Closes gh-45602
This commit is contained in:
@@ -836,13 +836,9 @@ To customize the tags, provide a javadoc:org.springframework.context.annotation.
|
||||
|
||||
|
||||
[[actuator.metrics.supported.ssl]]
|
||||
=== SSL bundle metrics
|
||||
|
||||
Spring Boot Actuator publishes two metrics about SSL bundles:
|
||||
|
||||
The metric `ssl.chains` gauges how many certificate chains have been registered.
|
||||
The `status` tag can be used to differentiate between valid, not-yet-valid, expired and soon-to-be-expired certificates.
|
||||
=== SSL Bundle Metrics
|
||||
|
||||
Spring Boot Actuator publishes expiry metrics about SSL bundles.
|
||||
The metric `ssl.chain.expiry` gauges the expiry date of each certificate chain in seconds.
|
||||
This number will be negative if the chain has already expired.
|
||||
This metric is tagged with the following information:
|
||||
|
||||
Reference in New Issue
Block a user