Last commit made on 2020-08-13
Get this branch:
git clone -b stable/20.08
Members of Llama (LMA) Charmers can upload to this branch. Log in for directions.

Branch merges

Branch information


Recent commits

ae30894... by Alvaro Uria

Update license, charm proof built code

e0ab4a8... by Alvaro Uria

Refactor charm structure (src, Makefile, tox)

 * Charm code has been relocated to the "src/" folder
 * Makefile and tox.ini have been standardized, in alignment to other
 LMA stack projects
 * Linting and unit tests execution fixed after previous changes

Reviewed-by: Alvaro Uria <email address hidden>

30e80dd... by Drew Freiberger

Fixing how prometheus services are restarted

New prometheus versions the service can no longer be
restared with: killall -HUP prometheus, now using the
/-/reload endpoint to gracefully re-read the config file

Also fixed lint errors

123a233... by Peter Sabaini

Return ipaddr on dns faults instead of "unknown-host"

afe7074... by Peter Sabaini

Add static labels for hostnames

Add labels for every target with the DNS hostname. This allows
user-friendly display of hostnames for exporters that otherwise do not
expose hostnames (e.g. libvirt-exporter)

4e16e3c... by Xav Paice

Merge branch 'bug/1867180'

Manual merge of

848846c... by Xav Paice

Make rules_wait_time configurable

Addressing review comments, add config item for the wait_time for
generic rules.

Additionally fix a missing conditional to trigger rules generation when
generic_rules_tmpl is updated.

ae71585... by Xav Paice

add basic generic rules for all targets

Adds a single up == 0 rule for alerting if a target is down.

Fixes-bug LP:#1870473

dae58ed... by Xav Paice

Change os.getlogin() to os.geteuid()

When using os.getlogin() without a terminal (i.e. during hook execution)
an error is returned rather than a value. Additionally, os.getlogin()
returns the terminal user, rather than the user of the process itself
which is what is needed.

Fixes LP: #1877909

12ee9ef... by Alvaro Uria

Merge branch 'xavpaice/dedupe_relation_rules'

Reviewed-by: Alvaro Uria <email address hidden>
Reviewed-by: Wouter van Bommel <email address hidden>
Signed-off-by: Alvaro Uria <email address hidden>