Apt Stresstest Charmers Apt Stresstest

Channel Revision Published Runs on
latest/stable 13 30 Aug 2022
Ubuntu 22.04 Ubuntu 20.04
juju deploy apt-stresstest-charmers-apt-stresstest
Show information

Platform:

Ubuntu
22.04 20.04

Synthetic cloud mirror testing.

When this charm is deployed and related to a Telegraf instance it will continually monitor apt performance for the archive mirror environment it is deployed into. It runs in two ways. 1. With no mirror config it will just monitor its main archive mirror. 2. With a set of mirror to ip bindings it will manually test performance against every front-end a user may be resolved to. The test itself works by spinning out a chrooted environment. Within the chrooted environment three apt operations are made and the time taken is measured. The operations are two apt-get update and then an apt-get download of a package. When this charm is related to telegraf:exec interface it will emit output in the influx line protocol, suitable for consumption by telegraf and prometheus.