~mruffell/charm-grafana:lp1894011

Last commit made on 2020-09-14
Get this branch:
git clone -b lp1894011 https://git.launchpad.net/~mruffell/charm-grafana
Only Matthew Ruffell can upload to this branch. If you are Matthew Ruffell please log in for upload directions.

Branch merges

Branch information

Name:
lp1894011
Repository:
lp:~mruffell/charm-grafana

Recent commits

5f1843b... by Matthew Ruffell

Enable support for custom ports for dashboard backup

Currently dashboard backup uses a hardcoded base_url of localhost:3000,
which breaks the backup script if the user changes the port to anything
else.

Add some logic to fetch the port config and pass it into the dashboard
backup script. Also make sure dashboard backups are kept in sync with
any port changes.

LP: #1894011

ddc2493... by Alvaro Uria

Update license, charm proof built code

Reviewed-on: https://code.launchpad.net/~canonical-is-bootstack/charm-grafana/+git/charm-grafana/+merge/389265
Reviewed-by: Giuseppe Petralia <email address hidden>
Reviewed-by: Xav Paice <email address hidden>

5d0d08a... by Alvaro Uria

Update license, charm proof built code

26fcde9... by Xav Paice

Update README.md for 20.08

Reviewed-on: https://code.launchpad.net/~xavpaice/charm-grafana/+git/grafana-charm/+merge/388783
Reviewed-by: James Troup <email address hidden>

3ecce8c... by Xav Paice

Update README.md for 20.08

a115b08... by Giuseppe Petralia

Refactor charm to use src folder. Standardize makefile and fix linting.

Reviewed-on: https://code.launchpad.net/~peppepetra86/charm-grafana/+git/charm-grafana/+merge/388471
Reviewed-by: Alvaro Uria <email address hidden>

2fefd68... by Giuseppe Petralia

Address review comments

9302200... by Giuseppe Petralia

Update makefile and tox.ini

1aae8ec... by Giuseppe Petralia

Refactor charm to use src folder. Standardize makefile and fix linting.

6d41371... by Giuseppe Petralia

Dashboard titling and folders

Title updates for dashboards coming in via the dashboards relation. The following rules are applied:

- Ensure dashboard titles are tagged with "[juju-{provider}]"

- If the dashboard provider resides on a remote model (i.e. related via CMR), ensure dashboard is placed in a folder "[juju-{modelname}]"

As grafana has no way of detecting a CMR the latter functionality depends on the provider placing an attribute "provider_model={modelname}" onto the payload.

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