grafana-source bogus config error
Bug #1897577 reported by
David O Neill
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Grafana Charm |
Fix Released
|
Medium
|
Alvaro Uria |
Bug Description
On relating peometheus2 to grafana via:
juju add-relation grafana:
The data source generated by the relation is bogus.
Visit the datasource in grafana: http://
An unexpected error happened
Details
TypeError: Cannot read property 'timeInterval' of undefined
in lt
in Unknown
in div
in t
in form
in div
in div
in t
in div
in div
in div
in t
in t
in div
in t
in t
in x
in ConnectWithClea
in r
in Unknown
in t
in Unknown
in h
in Unknown
in Unknown
in t
in t
in l
Related branches
~canonical-is-bootstack/charm-grafana:review/dmzoneill/fix-default-dsn
- Chris Sanders (community): Approve
- Drew Freiberger (community): Approve
-
Diff: 73 lines (+23/-3)4 files modifiedsrc/README.md (+13/-0)
src/reactive/grafana.py (+8/-0)
src/tests/functional/tests/bundles/base.yaml (+2/-2)
src/wheelhouse.txt (+0/-1)
charm-grafana:dev/fix-default-data-source-values
Superseded
for merging
into
charm-grafana:master
- Adam Dyess (community): Approve
- Alvaro Uria (community): Needs Fixing
-
Diff: 179 lines (+44/-14)4 files modifiedsrc/lib/charms/layer/grafana.py (+4/-1)
src/reactive/grafana.py (+28/-9)
src/tests/functional/tests/test_grafana.py (+9/-3)
src/tests/unit/test_grafana.py (+3/-1)
Changed in charm-grafana: | |
status: | New → In Progress |
assignee: | nobody → Alvaro Uria (aluria) |
milestone: | 20.02 → 20.10 |
Changed in charm-grafana: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
What gets added when related to charm-prometheu s-ceph- exporter grafana/ grafana. db s|prometheus - Juju generated source|proxy|http:// 10.0.8. 89:9090||||0|| |0||2020- 09-28 15:47:10|2020-09-28 15:47:10| 0|||799145714
sqlite> .databases
main: /var/lib/
sqlite> select * from data_source;
1|1|0|prometheu
Delete it
sqlite> delete from data_source;
Add the datasource manually s|prometheus - Juju generated source|proxy|http:// 10.0.8. 89:9090||||0|| |1|{}|2020- 09-29 09:59:39|2020-09-29 10:00:51| 0|{}|0| a9bZtTFMz
sqlite> select * from data_source;
2|1|2|prometheu
clearly a difference