charm-grafana:master

Last commit made on 2022-09-23
Get this branch:
git clone -b master https://git.launchpad.net/charm-grafana
Members of Llama (LMA) Charmers can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
master
Repository:
lp:charm-grafana

Recent commits

78bec2e... by Sudeep Bhandari

Update Readme and metadata.yaml

Reviewed-on: https://code.launchpad.net/~sudeephb/charm-grafana/+git/charm-grafana/+merge/429872
Reviewed-by: Eric Chen <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>
Reviewed-by: Robert Gildein <email address hidden>

c855750... by Sudeep Bhandari

Applied suggestions

20b5a45... by Sudeep Bhandari

Added retries in some functional tests

9d6352f... by Sudeep Bhandari

Minor fixes in Readme and metadata.yaml

22ccaf7... by Mustafa Kemal Gilor

dashboards_backup script compatibility update for Grafana version >=8:

The dashboards_backup script was using Slug API for retrieving the
dashboards, which is deprecated in Grafana version '5.4.0' in favor
of UID API, and removed in version '8.0.0'. Due to that, the backup
script was failing to generate backups in version 8.0.0 and above.

This fix introduces an API switch mechanism between Slug API and
UID API, which allows the script to behave as before for Grafana
(< 8.0.0) and use UID API for Grafana version (>= 8.0.0).

Fixes LP issue #1983814

Reviewed-on: https://code.launchpad.net/~mustafakemalgilor/charm-grafana/+git/charm-grafana/+merge/428028
Reviewed-by: Giuseppe Petralia <email address hidden>
Reviewed-by: Robert Gildein <email address hidden>

705dbcf... by Mustafa Kemal Gilor

dashboard_backup compat update (2):

Added unit tests for dashboards_backup script, made linter & formatter happy

d27d80c... by Mustafa Kemal Gilor

dashboards_backup script compatibility update for grafana version >=8:

The dashboards_backup script was using Slug API for retrieving the
dashboards, which is deprecated in Grafana version '5.4.0' in favor
of UID API, and removed in version '8.0.0'. Due to that, the backup
script was failing to generate backups in version 8.0.0 and above.

This fix introduces an API switch mechanism between Slug API and
UID API, which allows script to behave as before for Grafana
(< 8.0.0) and use UID API for Grafana version (>= 8.0.0).

Fixes LP issue #1983814

29f5405... by Alvaro Uria

LP#1975622 LDAP config rendered non-string values with quotes

Reviewed-on: https://code.launchpad.net/~aluria/charm-grafana/+git/grafana-charm-1/+merge/423367
Reviewed-by: Peter Sabaini <email address hidden>

1c4d877... by Alvaro Uria

FIX: More than one FunctionalTestMarker dashboard

In order to test that upgraded telegraf charms propagate changes in the
dashboard templates to Grafana, the functional tests verify that a
single dashboard exists with the keyword "FunctionalTestMarker".
However, in recent changes, the template is now rendered twice (metrics
by application and metrics by host).

The assert on test_11_dashboard_upgrade now reflects "one or more"
instead of "one".

63062e9... by Alvaro Uria

LP#1975622 LDAP config rendered non-string values with quotes