A team exports the age of its last backup by continuously updating a gauge every second. Which alternative reduces update work while preserving the ability to calculate age?

Published
  1. Expose the current clock time instead
  2. Expose only a counter of all historical backups
  3. Expose the last successful backup timestamp and calculate time() minus that metric
  4. Expose a new metric name for each backup date

Comments — 0