~stephanpampel/charm-prometheus2:feature/dns-hostnames

Last commit made on 2020-06-16
Get this branch:
git clone -b feature/dns-hostnames https://git.launchpad.net/~stephanpampel/charm-prometheus2
Only Stephan Pampel can upload to this branch. If you are Stephan Pampel please log in for upload directions.

Branch merges

Branch information

Name:
feature/dns-hostnames
Repository:
lp:~stephanpampel/charm-prometheus2

Recent commits

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 https://code.launchpad.net/~peter-sabaini/charm-prometheus2/+git/charm-prometheus2/+merge/382496

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-on: https://code.launchpad.net/~xavpaice/charm-prometheus2/+git/prometheus2-charm/+merge/381554
Reviewed-by: Alvaro Uria <email address hidden>
Reviewed-by: Wouter van Bommel <email address hidden>
Signed-off-by: Alvaro Uria <email address hidden>

458785d... by Peter Sabaini

Add scrape-timeout parameter

Add option to drive prometheus global scrape_timeout parameter

Rip out old amulet functest stub and add a basic zaza functest

Closes-Bug #1867180

c20b1d3... by Xav Paice

Remove duplicates from rules imported by relation

9c6c769... by Xav Paice

fix unit tests

ddd175b... by Jeremy Lounder

Updated maintainers in metadata.yaml