Skip to content

Commit

Permalink
tweak metric name
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Kochie <[email protected]>
Signed-off-by: anarcat <[email protected]>
  • Loading branch information
anarcat and SuperQ authored Oct 14, 2023
1 parent 3a85cac commit 2ba296a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apt_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def _write_autoremove_pending(registry, cache):


def _write_cache_timestamps(registry):
g = Gauge('apt_update_timestamp_seconds', "Apt update last run time.", registry=registry)
g = Gauge('apt_package_cache_timestamp_seconds', "Apt update last run time.", registry=registry)
try:
g.set(os.stat('/var/cache/apt/pkgcache.bin').st_mtime)
except OSError:
Expand Down

0 comments on commit 2ba296a

Please sign in to comment.