Storage Metrics
ESS includes a Storage Metrics feature to gather the following metrics:
The total number of Pods.
The number of “created” Pods (i.e., Pods that have been created and confirmed).
The number of “deleted” Pods (i.e., Pods that have been soft-deleted, i.e., marked as deleted).
The Storage Metrics is run as a Kubernetes CronJobs. To modify its schedule, see Modify Storage Metrics Schedule .
Observability
Logging for Pruning jobs share a consistent pattern where the messageId
has the prefix STORAGEMETRICS
or STORAGE
:
{
"timestamp":<value>,
"sequence":<value>,
"loggerClassName":<value>,
"loggerName":<value>,
"level":<value>,
"message": "<STORAGEMETRICS|STORAGE><number>: <description>",
"threadName":<value>,
"threadId":<value>,
"hostName":<value>,
"processName":<value>,
"processId":<value>,
"messageId": "STORAGEMETRICS|STORAGE<number>"
// additional relevant fields, if any
}
For the storage metrics features, the additional fields include:
an
mdc
(managed diagnostic context) field that can be used for correlation;various storage metrics.
The following lists the various storage metrics that appear in the INFO
level log messages (listed by the messageId
):
STORAGE000128
(associated with the storage counts)resultCount
Total number of Pods (both “created” and “deleted”).
STORAGE000130
(associated with the “created” storage counts)resultCount
The number of Pods that have been created and confirmed.
Last updated