OpenStack Exporter

  • Canonical BootStack Charmers
Channel Revision Published Runs on
latest/stable 31 05 Sep 2024
Ubuntu 22.04
latest/candidate 31 05 Sep 2024
Ubuntu 22.04
latest/edge 36 30 Sep 2024
Ubuntu 22.04
juju deploy openstack-exporter
Show information

Platform:

Ubuntu
22.04

Cache mechanism

On recent versions of the charm (revisions > 27) the cache mechanism is enabled in the charm by default. However, on revision 27 or older, cache mechanism is disabled. It’s recommended to leave the cache enabled because the collection time can easily timeout.

Users can enable or disable the cache and adjust the cache_ttl configuration based on the size of the OpenStack cluster and the duration of the exporter’s collection jobs.

The cache can be enabled or disabled using the cache option:

# enable the cache
juju config openstack-exporter cache=true

# disable the cache
juju config openstack-exporter cache=false

The cache time-to-live option can be changed using the cache_ttl option:

juju config openstack-exporter cache_ttl=600s

The cache can be enabled/disabled at any time. The openstack-exporter service will be restarted using the new config options.

For more details on how the cache works in the exporter, please check: Explanation - Metrics caching