~prometheus-charmers/charm-grafana:master

Last commit made on 2019-08-29
Get this branch:
git clone -b master https://git.launchpad.net/~prometheus-charmers/charm-grafana
Members of Prometheus Charmers can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
master
Repository:
lp:~prometheus-charmers/charm-grafana

Recent commits

9bcd0fa... by Chris Sanders

Switch dashboard template variable syntax

Use << and >> in place of {{ and }} for jinja templates because Grafana
uses {{ }} for it's variables as well. This causes Grafana variables to
be removed from templates causing Telegraf metrics to have no disk,
host, or interface names in the labels.

Reviewed-on: https://code.launchpad.net/~chris.sanders/grafana-charm/+git/grafana-charm/+merge/371766
Reviewed-by: Jeremy Lounder <email address hidden>

1b82156... by Chris Sanders

Added comment and fixed typo from MR

43fd2f0... by Chris Sanders

Make conntrack metrics optional, they won't exist in containers

d59d1a7... by Chris Sanders

Enable system packages since some are installed via apt

fa999b4... by Chris Sanders

Switch dashboard template variable syntax

Use << and >> in place of {{ and }} for jinja templates because Grafana
uses {{ }} for it's variables as well. This causes Grafana variables to
be removed from templates causing Telegraf metrics to have no disk,
host, or interface names in the labels.

4cd46e4... by Cory Johns

Add relation for getting dashboards imported

Kubernetes has dashboards it needs loaded when monitoring is in use.
This adds a relation that it can use to provide those dashboards.

Also adds a new action to get all info for connecting.

The URL or port can be changed via config, so it's useful (and more
convenient) to get all info needed to connect to Grafana from a single
action. I added a new action for clarity and to maintain compatibility,
but this could potentially be folded into get-admin-password.

Reviewed-on: https://code.launchpad.net/~johnsca/grafana-charm/+git/grafana-charm/+merge/371002
Reviewed-by: Jeremy Lounder <email address hidden>
Reviewed-by: Stuart Bishop <email address hidden>

781d727... by Cory Johns

Refactor import_dashboard name logic per review

5408502... by Cory Johns

Fix call to import_dashboard that was missed in the refactor

185a980... by Cory Johns

Add new action to get all info for connecting

The URL or port can be changed via config, so it's useful (and more
convenient) to get all info needed to connect to Grafana from a single
action. I added a new action for clarity and to maintain compatibility,
but this could potentially be folded into get-admin-password.

1543798... by Cory Johns

Add relation for getting dashboards imported

Kubernetes has dashboards it needs loaded when monitoring is in use.
This adds a relation that it can use to provide those dashboards.