Plugins are easy, so lets make one?
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Addshore | T119754 Investigate wiki page / wikitext annotation plugin for grafana | |||
Resolved | Addshore | T141265 Add http://tools.wmflabs.org/grafana-json-datasource as a datasource to labs grafana instance | |||
Resolved | Addshore | T141636 Add simple-json-datasource plugin to labs grafana instance | |||
Invalid | None | T141726 Update operations-software-grafana | |||
Resolved | • demon | T141727 Mark operations-software-grafana repo as inactive & set readonly | |||
Resolved | yuvipanda | T120295 Setup "official labs grafana" instance | |||
Declined | Addshore | T147328 Add http://tools.wmflabs.org/grafana-json-datasource as a datasource to production grafana instance | |||
Resolved | Addshore | T147329 Add simple-json-datasource plugin to productrion grafana instance |
Event Timeline
Comment Actions
So I have a rough draft that should work and pull data from dashiki like pages.
One issue right now is CORS, and an exception may be needed to actually make this useful!
Comment Actions
So the easiest way to do this will be to:
- Load the simple-json-datasource plugin on grafana
- Create a simple web service on labs which can be added as a datasource. This service would read pages such as https://meta.wikimedia.org/wiki/Dashiki:PageviewsAnnotations and output them in the format expected by the plugin
For example the query to get the linked annotations above would be for the tag "PageviewsAnnotations"!
Comment Actions
See example annotations on https://grafana-labs.wikimedia.org/dashboard/db/revisionsliderenablesdisables?from=now-90d&to=now coming from a wikipage
Comment Actions
The investigation here is clearly done, the 1 linked task still needs to be resolved.