lp:charm-grafana

Get this repository:
git clone https://git.launchpad.net/charm-grafana
Members of Llama (LMA) Charmers can upload to this repository. Log in for directions.

Branches

Name Last Modified Last Commit
master 2023-09-20 07:20:48 UTC
Update grafana install source

Author: Mert Kirpici
Author Date: 2023-09-20 07:20:48 UTC

Update grafana install source

New signing key according to https://packages.grafana.com/ :

> The GPG keys previously used to sign the APT repository (fingerprint 4E40DDF6D76E284A4A6780E48C8C34C524098CB6 0E22EB88E39E12277A7760AE9E439B102CF3C0C6) were rotated on 2023-01-12 and 2023-08-24 respectively, and replaced with a new key with fingerprint B53AE77BADB630A683046005963FA27710458545.

Blog post about the signing key rotation: https://grafana.com/blog/2023/08/24/grafana-security-update-gpg-signing-key-rotation/

New PPA url according to grafana docs: https://grafana.com/docs/grafana/latest/setup-grafana/installation/debian/

Closes-Bug: #2033568

Reviewed-on: https://code.launchpad.net/~mertkirpici/charm-grafana/+git/charm-grafana/+merge/451565
Reviewed-by: Erhan Sunar <erhan.sunar@canonical.com>
Reviewed-by: 🤖 prod-jenkaas-bootstack <webops+prod-jenkaas-bootstack@canonical.com>
Reviewed-by: Eric Chen <eric.chen@canonical.com>

bug/2002776 2023-01-16 19:20:40 UTC
- remove old grafana gpg key

Author: Gabriel Cocenza
Author Date: 2023-01-16 15:30:57 UTC

- remove old grafana gpg key

func-fix 2023-01-06 13:13:56 UTC
fix func-tests

Author: Gabriel Cocenza
Author Date: 2023-01-04 15:09:52 UTC

fix func-tests

- unit(s) can be idle before the file has changed. Using
  block_until_file_has_contents fix this issue.

- units(s) can take longer to erase files. Using
  block_until_file_missing fix the issue.

- add set_final_status to config_changed to be sure that
  the unit status will be set properly for func-tests.

stable/21.10 2021-10-14 14:45:25 UTC
If instance_name is provided, use instance_name for checks instead of 127.0.0.1

Author: Chris Johnston
Author Date: 2021-10-14 14:45:25 UTC

If instance_name is provided, use instance_name for checks instead of 127.0.0.1

This is needed when using SSL with certs provided by the user as the certs don't include 127.0.0.1.

Reviewed-on: https://code.launchpad.net/~cjohnston/charm-grafana/+git/charm-grafana/+merge/410186
Reviewed-by: James Troup <james.troup@canonical.com>
Reviewed-by: Xiyue Wang <celia.wang@canonical.com>

candidate/21.10 2021-10-14 14:45:25 UTC
If instance_name is provided, use instance_name for checks instead of 127.0.0.1

Author: Chris Johnston
Author Date: 2021-10-14 14:45:25 UTC

If instance_name is provided, use instance_name for checks instead of 127.0.0.1

This is needed when using SSL with certs provided by the user as the certs don't include 127.0.0.1.

Reviewed-on: https://code.launchpad.net/~cjohnston/charm-grafana/+git/charm-grafana/+merge/410186
Reviewed-by: James Troup <james.troup@canonical.com>
Reviewed-by: Xiyue Wang <celia.wang@canonical.com>

candidate/21.07 2021-07-21 22:40:24 UTC
Skip "remote-<hash>" remote app names on dashboards

Author: Paul Goins
Author Date: 2021-07-21 22:38:00 UTC

Skip "remote-<hash>" remote app names on dashboards

stable/21.07 2021-07-21 22:40:24 UTC
Skip "remote-<hash>" remote app names on dashboards

Author: Paul Goins
Author Date: 2021-07-21 22:38:00 UTC

Skip "remote-<hash>" remote app names on dashboards

bug/1925278 2021-04-21 23:57:43 UTC
Add python-openstackclient to functests

Author: Xav Paice
Author Date: 2021-04-21 23:57:43 UTC

Add python-openstackclient to functests

Since b46f13ef113e690493364dabc87821699626d8e6 in zaza, if running tests
on an OpenStack cloud provider, each bundle test concludes with a
cleanup routine that needs the python-openstackclient package in
requirements.txt for the tox environment, plus the OS_ environment vars
exported/passed through such that the Openstack client actually works.
If these are not set, the test fails on the first bundle cleanup and
does not continue to the remaining bundles.

candidate/21.04 2021-02-18 14:15:02 UTC
Fix icon aspect ratio

Author: Tom Haddon
Author Date: 2021-02-18 14:15:02 UTC

Fix icon aspect ratio

Reviewed-on: https://code.launchpad.net/~mthaddon/charm-grafana/+git/charm-grafana/+merge/398230
Reviewed-by: Alvaro Uria <alvaro.uria@canonical.com>

stable/21.04 2021-02-18 14:15:02 UTC
Fix icon aspect ratio

Author: Tom Haddon
Author Date: 2021-02-18 14:15:02 UTC

Fix icon aspect ratio

Reviewed-on: https://code.launchpad.net/~mthaddon/charm-grafana/+git/charm-grafana/+merge/398230
Reviewed-by: Alvaro Uria <alvaro.uria@canonical.com>

stable/21.01 2021-01-29 10:04:10 UTC
Resolve race between port change and dashboard ingestion

Author: Drew Freiberger
Author Date: 2021-01-29 10:04:10 UTC

Resolve race between port change and dashboard ingestion

Reviewed-on: https://code.launchpad.net/~afreiberger/charm-grafana/+git/grafana-charm-1/+merge/397120
Reviewed-by: Peter Sabaini <peter.sabaini@canonical.com>
Reviewed-by: Xiyue Wang <celia.wang@canonical.com>

stable/20.10 2020-10-22 15:54:49 UTC
Update data source relation to inject default values to support grafana 7 sna...

Author: Alvaro Uria
Author Date: 2020-10-22 15:54:49 UTC

Update data source relation to inject default values to support grafana 7 snap revision.

Additional fixes for functional testing and documentation of known issues in README.

Reviewed-on: https://code.launchpad.net/~canonical-is-bootstack/charm-grafana/+git/charm-grafana/+merge/392669
Reviewed-by: Chris Sanders <chris.sanders@canonical.com>
Reviewed-by: Drew Freiberger <drew.freiberger@canonical.com>

dashboard-json 2020-10-01 21:42:51 UTC
Fix LP1897843: support non-wrapped JSON data and keep backward compatibility

Author: Joe Guo
Author Date: 2020-09-30 08:48:31 UTC

Fix LP1897843: support non-wrapped JSON data and keep backward compatibility

Currently this charm requires dashboard JSON data be wrapped like this:

    {
        "dashbaord": {<real dashboard JSON data>},
        "overwrite": true,
        "folderId": 1
    }

Actually this is a misuse of the grafana rest api structure.
Dashboard JSON data should include the real data directly.
Refer to LP1897843 for details.

This patch make the code support both formats.
Since most of our dashboard JSON file followed the wrong pattern, we
have to keep backward compatibility until grafana charm upgraded in all clouds.

LP: #1897843

Signed-off-by: Joe Guo <joe.guo@canonical.com>

dev/fix-default-data-source-values 2020-09-30 15:37:42 UTC
Rework values for version 7 of snap and fix linting issues

Author: David O Neill
Author Date: 2020-09-30 15:37:42 UTC

Rework values for version 7 of snap and fix linting issues

stable/20.08 2020-08-14 09:21:01 UTC
Update license, charm proof built code

Author: Alvaro Uria
Author Date: 2020-08-14 09:21:01 UTC

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 <giuseppe.petralia@canonical.com>
Reviewed-by: Xav Paice <xav.paice@canonical.com>

stable/20.05 2020-05-22 17:13:46 UTC
Allow snap channel update

Author: Alvaro Uria
Author Date: 2020-05-22 17:13:46 UTC

Allow snap channel update

Reviewed-on: https://code.launchpad.net/~canonical-is-bootstack/charm-grafana/+git/charm-grafana/+merge/384447
Reviewed-by: Paul Goins <paul.goins@canonical.com>

dev/libvirt-dashboard 2020-03-20 14:17:11 UTC
Promoteheus libvirt exporter granfana dashboard

Author: David O Neill
Author Date: 2020-03-20 14:17:11 UTC

Promoteheus libvirt exporter granfana dashboard

stable/20.02 2020-02-28 08:53:59 UTC
Remove trusty support

Author: Alvaro Uria
Author Date: 2020-02-27 16:59:29 UTC

Remove trusty support

rewrite 2019-06-28 11:18:52 UTC
LP#1822329: Phase 2 of charm rewrite

Author: Alvaro Uria
Author Date: 2019-06-28 10:14:15 UTC

LP#1822329: Phase 2 of charm rewrite

 * lib_grafana: code split in diff files and classes
 * Fix pep8, unit and functional tests
 * Unit tests are run from the built charm, since it requires the
 layer-snap to be included
 * Use temp directories (to store downloaded deb pkg or plugins)
 * All imported modules at the top of the helper files
 * trusty support removed (layer-snap blocks the use of trusty because
 containers are not supported)
 * Ignore update-status on reconfig actions

119 of 19 results
This repository contains Public information 
Everyone can see this information.

Subscribers

No subscribers.