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.