Merge ~johnsca/charm-grafana:johnsca/feature/dashboard-import into ~prometheus-charmers/charm-grafana:master
Proposed by
Cory Johns
Status: | Merged |
---|---|
Approved by: | Jeremy Lounder |
Approved revision: | 781d72730b8709066cd5d6c9c148956fdaaa9e0f |
Merged at revision: | 4cd46e4a696b27b3b4b4c77f6be95d96ce6bb1f8 |
Proposed branch: | ~johnsca/charm-grafana:johnsca/feature/dashboard-import |
Merge into: | ~prometheus-charmers/charm-grafana:master |
Diff against target: |
247 lines (+71/-28) 13 files modified
actions.yaml (+2/-0) actions/change-user-role (+1/-1) actions/create-api-key (+1/-1) actions/create-user (+1/-1) actions/delete-user (+1/-1) actions/get-admin-password (+1/-1) actions/get-login-info (+30/-0) actions/import-dashboard (+1/-21) actions/set-user-password (+1/-1) layer.yaml (+1/-1) lib/charms/layer/grafana.py (+20/-0) metadata.yaml (+2/-0) reactive/grafana.py (+9/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jeremy Lounder (community) | Approve | ||
Cory Johns (community) | Needs Resubmitting | ||
Stuart Bishop (community) | Approve | ||
Prometheus Charmers | Pending | ||
Review via email: mp+371002@code.launchpad.net |
Commit message
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.
Description of the change
To post a comment you must log in.
This merge proposal is being monitored by mergebot. Change the status to Approved to merge.