This should help me to persist my connection (which has authentication enabled) and prevent me having to edit it each time I relaunch my Chronograf container using docker.
For this I created a file called “influxdbconnection.src” that I mount in “/usr/share/chronograf/resources/” when starting my container.
However, the connection is not loaded in the UI of Chronograf. A default connection is displayed but doesn’t correspond to the one defined in the resource file.
I also tried to set the RESOURCES_PATH manually in /etc/default/chronograf as follow:
RESOURCES_PATH=/usr/share/chronograf/resources
But this didn’t help to load the connection.
Is there a way I can debug this issue? I analysed the log of chronogaf but couldn’t find anything related to loading the resource file.
This doesn’t have anything to do with 2.0. The issue has a workaround that was solved in April of last year but the documentation still specifies that it has a default which isn’t true. The image will not do anything with those files until you specify it explicitly. There are a couple of other issues on here and on github that have similar or the same issues with the same problem. This is the only one pointing out the solution.
I will switch to 2.0 sometime in the future. I have pilot program built around this version at the moment.