~xavpaice/charm-telegraf/+git/telegraf-charm:rules

Last commit made on 2018-02-14
Get this branch:
git clone -b rules https://git.launchpad.net/~xavpaice/charm-telegraf/+git/telegraf-charm
Only Xav Paice can upload to this branch. If you are Xav Paice please log in for upload directions.

Branch merges

Branch information

Recent commits

5fefbb1... by Xav Paice

Add alerting rules export to Prometheus

This adds use of
https://github.com/CanonicalBootStack/interface-prometheus-rules to
provide some base alerting rules for Prometheus.

9512ea7... by Haw Loeung

[rharding] Add support for using network-get to send correct IP address across the relation.

abbc1d6... by James Hebden

Fixed get_remote_unit_name with network spaces

When relating units with telegraf, the get_remote_unit_name function is
verifies the remote unit name by checking that the private-ip address in
the relation data matches the private IP address of the unit.

This breaks when using a network space with a unit IP address that is
not the juju-calculated private-ip address for the unit, which is kind
of the point of being able to specify an alternate network space.

This commit fixes this when using network spaces by using the unit's IP
address in the provided network space if available, falling back to the
unit's private address if a space is not configured/available (for
example, in juju 1.25 environments)

b621eee... by Richard Harding

Update to use the relation context to grab the correct address

a9d5730... by Richard Harding

Update to Juju 2.3 network_get methods

b3fffd4... by Stuart Bishop

New icon per lp:1707199

3e9ba6c... by Barry Price

[paulgear,r=barryprice] Ensure telegraf service is enabled after it is configured

a9e58ee... by Paul Gear

Ensure telegraf service is enabled after it is configured

Fixes https://bugs.launchpad.net/telegraf-charm/+bug/1659375

25a8e99... by Stuart Bishop

[ajkavanagh] Add network space support to the prometheus-client interface

e56ea1e... by Stuart Bishop

Cast postgresql_bytes_lag to integer

Some versions of Telegraf get confused with a 'numeric' datatype
from PostgreSQL, so cast it to an integer.