Closed cwillhelm closed 4 years ago
Hello @cwillhelm ,
Not sure which issue do you have.
local_settings.py
is a python file, which Graphite runs during start, so, in current configuration it's taking environment variable GRAPHITE_CLUSTER_SERVERS
, which contain one or more comma separated servers and put it content in proper form in CLUSTER_SERVERS python array - that's exactly what current code in local_settings.py
doing.
We have no such luxury for example with carbon.conf
, which is simple config file, so, that's why issues like https://github.com/graphite-project/docker-graphite-statsd/issues/132 exists
Ah, I see what you mean. Thanks for the clarification -- makes perfect sense!
Whenever I set this environment variable, I can see that it is set within the container:
But when I check
local_settings.py
, I don't see the hosts in the array:Shouldn't this variable be set? When I do:
I can see that they are set correctly, so either I'm misunderstanding how the env var works, or there is some type of issue with the injection of it.
I was mainly under the impression that I would see the array of hosts in that parameter.
This is running on Ubuntu 16 with the latest
master
version of the container.