Storage Metrics#
Starting in 2.1, 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#
Pruning jobs uses JSON logging and emits the following info
log entries:
Storage metrics collected
countPodAll
Total number of Pods (both “created” and “deleted”)
countPodCreated
The number of Pods that have been created and confirmed.
countPodDeleted
The number of Pods that have been marked as deleted.
durationMilliseconds
Time taken to run the queries to gather the metrics.
Prune emits Prometheus metrics with the following labeled names.
All of the following are prefixed with application_com_inrupt_storage_metrics_MetricsCollector_
.
|
Total number of Pods (both “created” and “deleted”) |
|
The number of Pods that have been created and confirmed. |
|
The number of Pods that have been marked as deleted. |
|
Time taken to run the queries to gather the metrics. |
When OpenTelemetry is configured, the application emits a single
span named collect
with the following attributes.
|
Total number of Pods (both “created” and “deleted”) |
|
The number of Pods that have been created and confirmed. |
|
The number of Pods that have been marked as deleted. |
|
Time taken to run the queries to gather the metrics. |