The prometheus-apt-exporter snap is developed by the Canonical Bootstack team.
The snaps will be part of our monitoring to check packages status across cluster.
We would like to request permission to use the system-files interface for the plug defined in snap snapcraft.yaml.
plugs:
apt-exporter-files:
interface: system-files
read:
- /usr/share/dpkg/cputable
- /usr/share/dpkg/tupletable
- /var/lib/snapd/hostfs/var/lib/apt/lists
- /var/lib/snapd/hostfs/var/lib/dpkg/status
- /var/lib/snapd/hostfs/var/lib/apt/extended_states
- /var/lib/snapd/hostfs/var/cache/apt/srcpkgcache.bin
- /var/lib/snapd/hostfs/etc/apt/apt.conf.d
- /var/lib/snapd/hostfs/etc/apt/sources.list
- /var/lib/snapd/hostfs/etc/apt/sources.list.d
- /var/lib/snapd/hostfs/etc/apt/preferences.d
write:
- /var/lib/snapd/hostfs/var/cache/apt
Files /usr/share/dpkg/cputable
and /usr/share/dpkg/tupletable
are required by the python-apt package, others files are required by pkg-exporter