criteo / cassandra_exporter

Apache Cassandra® metrics exporter for Prometheus
Apache License 2.0
171 stars 94 forks source link

Sed config file in /tmp folder #106

Closed ashangit closed 2 years ago

ashangit commented 2 years ago

If running container with read-only option it is not possible to edit (sed) the config file in /etc/cassandra_exporter When running read-only container it is possible to provide a tmpfs path where write will be allowed For ex.: docker run -e CASSANDRA_EXPORTER_CONFIG_host=localhost:7198 --read-only --tmpfs=/tmp criteord/cassandra_exporter:latest So copy file in /tmp and sed from that folder

Close #100

jfwm2 commented 2 years ago

LGTM