wildmountainfarms / solarthing

Monitors an Outback MATE, Renogy Rover - MPPT Charge Controller and EPEver Tracer. Integrates with Grafana, PVOutput and more!
https://solarthing.readthedocs.io
MIT License
127 stars 28 forks source link

New Grafana GraphQL Datasource #190

Closed retrodaredevil closed 4 months ago

retrodaredevil commented 8 months ago

This issue serves to track the progress on creating a new GraphQL datasource for Grafana. For the longest time we've recommended the use of https://github.com/fifemon/graphql-datasource, but that has not been updated in a while.

Although I have some experience in that codebase, I plan to create a brand new datasource similar to that one. Once I release that datasource, I do not plan to have automatic migration. Should you decide to migrate, you should back up your dashboard.

At the time of writing, I cannot get the graphql-datasource to work on a Grafana 10 install, which is why we need to figure something out for this. CouchDB will still be the recommended database, so we need a decent datasource that can pull data from that via SolarThing Server (formerly SolarThing GraphQL).

retrodaredevil commented 6 months ago

This is very close to being complete. https://github.com/wildmountainfarms/wild-graphql-datasource is almost ready to be published.

retrodaredevil commented 4 months ago

This data source is now published: https://grafana.com/grafana/plugins/retrodaredevil-wildgraphql-datasource/

Going to close this in favor of writing better documentation: https://github.com/wildmountainfarms/solarthing-docs/issues/3