~karimsye/charm-grafana:k8s-model-filter-template

Last commit made on 2019-04-25
Get this branch:
git clone -b k8s-model-filter-template https://git.launchpad.net/~karimsye/charm-grafana
Only Syed Mohammad Adnan Karim can upload to this branch. If you are Syed Mohammad Adnan Karim please log in for upload directions.

Branch merges

Branch information

Name:
k8s-model-filter-template
Repository:
lp:~karimsye/charm-grafana

Recent commits

de20009... by Syed Mohammad Adnan Karim

Add variables to filter k8s clusters by model

Added juju_model variable to Telegraf.json.j2 dashboard template for
filtering k8s clusters by model name. Also renamed "non-juju hosts"
variable to host, and set its value to hostnames that are part of the
selected juju_model variable. Also added {% raw %} and {% endraw %} to
escape jinja's '{{ }}' syntax. This enables the legendFormat variable
to properly display varables such as host.

2dad259... by Syed Mohammad Adnan Karim

Add dashboard for filtering k8s clusters by model

Exisiting Telegraf.json.j2 dashboard only filters by unit name, making
it difficult to monitor multiple k8s clusters. Added dashboard called
TelegrafKubernetes.json.j2 to templates/dashboards/prometheus/ for
filtering k8s clusters by model and unit names. The dashboard uses
juju_model and juju_unit variables to achieve this. These variables
use regex to parse the hostname coming from a Prometheus data source.
The variables juju_model and juju_unit have been added to the
ignore_metrics variable because they are not real Prometheus metrics.

e20740c... by Jason Hobbs

Update packagecloud repository key.

Reviewed-on: https://code.launchpad.net/~jason-hobbs/grafana-charm/+git/grafana-charm/+merge/361519
Reviewed-by: Xav Paice <email address hidden>

b15be8f... by Jason Hobbs

Update packagecloud repository key.

On January 7th, 2019, packagecloud changed to a new repository
signing key for the grafana stable repository. This change
updates this charm to use that key rather than the old one.

LP: #1810969

d30537f... by Drew Freiberger

added config[external_network] to list of ignored metrics for rendering openstack dash

Reviewed-on: https://code.launchpad.net/~afreiberger/grafana-charm/+git/grafana-charm-1/+merge/359870
Reviewed-by: Chris Sanders <email address hidden>

35e7090... by Drew Freiberger

added config[external_network] to list of ignored metrics for rendering openstack dash

449ff66... by Xav Paice

Add requests to wheelhouse

Reviewed-on: https://code.launchpad.net/~xavpaice/grafana-charm/+git/grafana-charm/+merge/358614
Reviewed-by: Chris Sanders <email address hidden>
Reviewed-by: Stuart Bishop <email address hidden>

554cd07... by Xav Paice

Add requests to wheelhouse

generate_prometheus_dashboards() requires a version of requests that is
newer than the python3-requests shipped with Trusty, as it uses json=.
This change adds wheelhouse.txt which then adds the current version of
requests.

5127354... by Drew Freiberger

merging ~csanders/telegraf for optional dashboard sections

ae04c7d... by Xav Paice

Fix typo in Ceph dashboard

Reviewed-on: https://code.launchpad.net/~xavpaice/grafana-charm/+git/grafana-charm/+merge/355280
Reviewed-by: Paul Collins <email address hidden>