AzureIoTGBB / iot-edge-offline-dashboarding

Azure IoT Edge offline dashboarding/reporting sample. Guidance and sample dashboards
MIT License
34 stars 18 forks source link

BUG - Grafana--- Influx 'flux' plug-in not enabled at deployment #5

Open stevebus opened 4 years ago

stevebus commented 4 years ago

Need to fix issue where the influxdb 'flux' data source isn't enabled after a deployment (or grafana container recreation). i.e. you have to go in and click 'Save and Test' before the dashboards work.

tkimmm commented 3 years ago

I've noticed that there were some changes to Grafana and could have an effect on not pinning the base image in the Grafana container. I suspect there have been changest to "latest"

https://grafana.com/docs/grafana/latest/installation/docker/

I also had to replace the COPY to include a chown command since root permissions were being applied as a result of edgeAgent to the directory and therefore during init there wouldn't recognise a datasource

For example

COPY --chown=grafana:grafana grafana-provisioning/ /etc/grafana/provisioning

Might be related

stevebus commented 3 years ago

thanks @tkimmm - I'll check it out. It's definitely an annoying issue