Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding a config file for influxdb container.
INFLUXDB_GRAPHITE_TEMPLATES expects multiple templates to be separated by ',' (see influxdata/influxdb#7323), in the same time ',' is used to separate multiple additional tags for a single template (see https://docs.influxdata.com/influxdb/v1.8/supported_protocols/graphite/#adding-tags) So unfortunately it's impossible to configure a template with multiple additional tags thru INFLUXDB_GRAPHITE_TEMPLATES env variable, and providing a config file with templates is the only available option for this. in order to check the whole influxdb config (including default values) you should start docker-compose setup and attach to the influxdb container (note that execution of docker compose commands is done in the metrics directory): cd metrics docker compose up -d docker compose exec influxdb bash then you can run this command in the influxdb container's shell: influxd config the default configuration file for influxdb container is located at '/etc/influxdb/influxdb.conf', you can print its content or check how the whole configuration looks like with it using these commands: cat /etc/influxdb/influxdb.conf INFLUXDB_CONFIG_PATH=/etc/influxdb/influxdb.conf influxd config
- Loading branch information