InfluxDB Configuration in dynamic configuration

Hi everyone,

Is it correct that an InfluxDB setup cannot be used inside of a dynamic configuration file? Is there documentation what option can and cannot be used? At the moment I use certificates and routing/middleware without any problem.

Best,
Andreas

Hello,

I'm not sure to understand your question.

InfluxDB is used for the metrics: https://docs.traefik.io/v2.2/observability/metrics/influxdb/

So the configuration is in the static configuration.

Hi Fernandez,

Yes, for most of the examples, it is stated where to put it, but this is missing for the influxdb stuff. To my understanding, it has to be put inside of the static configuration, which is as file /etc/traefik/traefik.toml and it does not work in a dynamic configuration as is e.g. a file located in /etc/traefik/traefik.d/influxdb.toml, which is loaded through the file provider. At least that is what I experience and what you write.

Best,
Andreas