Merge ~tcuthbert/charm-grafana:master into charm-grafana:master
Proposed by
Thomas Cuthbert
Status: | Merged |
---|---|
Approved by: | Xav Paice |
Approved revision: | d31cbc771473ccf8748ef680c8f79e9550e1f0a2 |
Merged at revision: | 0eb6f0de35c7076946e0b82da8e20a292555bc8f |
Proposed branch: | ~tcuthbert/charm-grafana:master |
Merge into: | charm-grafana:master |
Diff against target: |
23 lines (+12/-0) 1 file modified
reactive/grafana.py (+12/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Xav Paice (community) | Approve | ||
Alvaro Uria (community) | Needs Fixing | ||
Adam Dyess (community) | Approve | ||
Joel Sing (community) | +1 | Approve | |
Review via email: mp+387275@code.launchpad.net |
Commit message
Newer versions of Grafana require a unique uid for each datasource
Description of the change
As per, https:/
The way I have implemented this is to just hash the datasource URL, which is unique, and converting it to a 32bit integer as SQLite3 overflows with Python's 64bit ints.
unit-grafana-2: 05:26:06 DEBUG unit.grafana/
To post a comment you must log in.
This merge proposal is being monitored by mergebot. Change the status to Approved to merge.