Hloeung Apt Stresstest
- By Haw Loeung
- Monitoring
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 15 | 19 Mar 2021 |
juju deploy hloeung-apt-stresstest
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
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.