~sudeephb/charm-prometheus-alertmanager:unittest_fix

Last commit made on 2023-01-30
Get this branch:
git clone -b unittest_fix https://git.launchpad.net/~sudeephb/charm-prometheus-alertmanager
Only Sudeep Bhandari can upload to this branch. If you are Sudeep Bhandari please log in for upload directions.

Branch merges

Branch information

Name:
unittest_fix
Repository:
lp:~sudeephb/charm-prometheus-alertmanager

Recent commits

b74426c... by Sudeep Bhandari

Use mock from stdlib

1261637... by Tianqi Xiao

Remove monitoring tag to deprioritize LMA charms in favor of COS

Reviewed-on: https://code.launchpad.net/~txiao/charm-prometheus-alertmanager/+git/charm-prometheus-alertmanager/+merge/435765
Reviewed-by: Eric Chen <email address hidden>

7ded6a0... by Tianqi Xiao

Remove monitoring tag to deprioritize LMA charms in favor of COS

3a934be... by James Simpson

Pin MarkupSafe<2.1.0 for bug LP:1999356

Reviewed-on: https://code.launchpad.net/~jsimpso/charm-prometheus-alertmanager/+git/charm-prometheus-alertmanager/+merge/434468
Reviewed-by: Eric Chen <email address hidden>
Reviewed-by: Ramesh Sattaru <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>
Reviewed-by: Erhan Sunar <email address hidden>

3b04dbc... by James Simpson

Pin MarkupSafe<2.1.0 for bug LP:1999356

674712d... by Mert Kirpici

Pin Jinja2 for focal builds

Reviewed-on: https://code.launchpad.net/~mertkirpici/charm-prometheus-alertmanager/+git/charm-prometheus-alertmanager/+merge/433450
Reviewed-by: Ramesh Sattaru <email address hidden>
Reviewed-by: Eric Chen <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>

a7beec3... by Mert Kirpici

build: pin Jinja2 version for focal builds

See the commented issue in wheelhouse.txt

Signed-off-by: Mert Kırpıcı <email address hidden>

d6be73d... by James Simpson

Add advertise_address and extra_peers options

Reviewed-on: https://code.launchpad.net/~jsimpso/charm-prometheus-alertmanager/+git/charm-prometheus-alertmanager/+merge/430219
Reviewed-by: Eric Chen <email address hidden>
Reviewed-by: Chi Wai CHAN <email address hidden>
Reviewed-by: Robert Gildein <email address hidden>

bbd6a46... by James Simpson

Remove typo

3e67080... by James Simpson

Add advertise_address and extra_peers options

This MP introduces the "advertise_address" and "extra_peers" charm
configuration options.

"advertise_address" allows for manual control over alertmanager's
  "--cluster.advertise-address" command line option.

This is required if you're deploying alertmanager to a device with
    only a public IP address[1]

When not manually provided, this option is omitted entirely (as is the
current behaviour).

The "extra_peers" option allows for manual cluster peers to be provided,
in addition to those provided via juju relation. This introduces the
possibility of clustering AlertManager servers across regions not
linked by a shared juju controller.

Tests have been added to cover the newly introduced code.

[1] https://github.com/prometheus/alertmanager#high-availability