~sajoupa/charm-telegraf:misc-fixes

Last commit made on 2021-02-04
Get this branch:
git clone -b misc-fixes https://git.launchpad.net/~sajoupa/charm-telegraf
Only Laurent Sesquès can upload to this branch. If you are Laurent Sesquès please log in for upload directions.

Branch merges

Branch information

Name:
misc-fixes
Repository:
lp:~sajoupa/charm-telegraf

Recent commits

df744b3... by Laurent Sesquès

configure_telegraf: keep host.service_reload(service) after configuring exec_metrics, as it'won't get caught by start_or_restart()

8f023f5... by Laurent Sesquès

small fixes: remove unneeded host.service_reload, add a debug log for configure_telegraf(), and remove un unneeded 'else:'

fde6022... by Laurent Sesquès

Add support for ip_range in the prometheus-client output plugin

ea55458... by Laurent Sesquès

when related with prometheus-client, if prometheus_output_port is unset, use :9103 by default instead of 9126

3c4a87e... by Laurent Sesquès

small fix: move flag changes to the right if stanza for config.changed

f550c15... by Laurent Sesquès

Split prometheus_client output config out of the main config file. Allow a prometheus-client relation to prometheus even if prometheus_output_port is set (and use that port in the relation).

bc10de9... by Thomas Cuthbert

Workaround for LP#1910974: telegraf haproxy input broken with Juju >= 2.8.7

Reviewed-on: https://code.launchpad.net/~tcuthbert/charm-telegraf/+git/charm-telegraf/+merge/396060
Reviewed-by: Xav Paice <email address hidden>
Reviewed-by: Peter Sabaini <email address hidden>
Reviewed-by: Haw Loeung <email address hidden>

9040361... by Paul Goins

Should use data_changed() instead of is_data_changed()

Reviewed-on: https://code.launchpad.net/~vultaire/charm-telegraf/+git/charm-telegraf/+merge/396357
Reviewed-by: Alvaro Uria <email address hidden>
Reviewed-by: Edin S <email address hidden>
Reviewed-by: Haw Loeung <email address hidden>

b7b8a51... by Paul Goins

Should use data_changed() instead of is_data_changed()

This is a bug fix for https://pad.lv/1911815.

631a400... by Thomas Cuthbert

Following Haws suggestion that we pass a listener address via relationship data and use it if present, else default to private-address as HAProxy stats listens on 0.0.0.0 by default