From 75f560629d0c28e0a47682cb0af5a79463055a4d Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Sun, 1 Dec 2024 12:40:43 +0100 Subject: [PATCH] Remove old log config parameter --- README.md | 2 +- examples/compose/docker-compose-cluster.yml | 2 +- examples/compose/docker-compose-integrationtest.yml | 4 ++-- examples/compose/docker-compose.yml | 2 +- examples/grafana/docker-traefik-stack.yml | 4 ++-- examples/stack/docker-stack-cluster.yml | 2 +- examples/stack/docker-stack-single.yml | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index bd6ac824..88218264 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ or [github.com/prometheus/exporter-toolkit](https://github.com/prometheus/export ## Run it as container - docker run --rm -p 9984:9984 gesellix/couchdb-prometheus-exporter --couchdb.uri=http://couchdb:5984 --logtostderr + docker run --rm -p 9984:9984 gesellix/couchdb-prometheus-exporter --couchdb.uri=http://couchdb:5984 Please note that host names like `localhost` won't leave the container, so you have to use non-loopback dns names or ip addresses when configuring the CouchDB URI. diff --git a/examples/compose/docker-compose-cluster.yml b/examples/compose/docker-compose-cluster.yml index ee0b5825..dd6afff8 100644 --- a/examples/compose/docker-compose-cluster.yml +++ b/examples/compose/docker-compose-cluster.yml @@ -36,7 +36,7 @@ services: couchdbstats: image: "gesellix/couchdb-prometheus-exporter:${COUCHDB_EXPORTER_VERSION:-latest}" - command: --couchdb.uri=http://couchdb1:5984 --logtostderr + command: --couchdb.uri=http://couchdb1:5984 env_file: .couchdb-env networks: couchdb-cluster: diff --git a/examples/compose/docker-compose-integrationtest.yml b/examples/compose/docker-compose-integrationtest.yml index f6f4ceff..1c180c81 100644 --- a/examples/compose/docker-compose-integrationtest.yml +++ b/examples/compose/docker-compose-integrationtest.yml @@ -57,7 +57,7 @@ services: couchdbstats1: image: "gesellix/couchdb-prometheus-exporter:${COUCHDB_EXPORTER_VERSION:-latest}" - command: --couchdb.uri=http://couchdb_node_1:5984 --logtostderr --databases=_all_dbs --databases.views=true + command: --couchdb.uri=http://couchdb_node_1:5984 --databases=_all_dbs --databases.views=true environment: - "COUCHDB_USERNAME=${COUCHDB_USER:-root}" - "COUCHDB_PASSWORD=${COUCHDB_PASSWORD:-a-secret}" @@ -69,7 +69,7 @@ services: couchdbstats2: image: "gesellix/couchdb-prometheus-exporter:${COUCHDB_EXPORTER_VERSION:-latest}" - command: --couchdb.uri=http://couchdb_node_2:5984 --logtostderr --databases=_all_dbs --databases.views=true + command: --couchdb.uri=http://couchdb_node_2:5984 --databases=_all_dbs --databases.views=true environment: - "COUCHDB_USERNAME=${COUCHDB_USER:-root}" - "COUCHDB_PASSWORD=${COUCHDB_PASSWORD:-a-secret}" diff --git a/examples/compose/docker-compose.yml b/examples/compose/docker-compose.yml index e94a71e7..6153a152 100644 --- a/examples/compose/docker-compose.yml +++ b/examples/compose/docker-compose.yml @@ -14,7 +14,7 @@ services: couchdbstats: image: "gesellix/couchdb-prometheus-exporter:${COUCHDB_EXPORTER_VERSION:-latest}" - command: --couchdb.uri=http://couchdb:5984 --logtostderr + command: --couchdb.uri=http://couchdb:5984 env_file: .couchdb-env networks: - couchdb-test diff --git a/examples/grafana/docker-traefik-stack.yml b/examples/grafana/docker-traefik-stack.yml index f127980e..0fd26cf4 100644 --- a/examples/grafana/docker-traefik-stack.yml +++ b/examples/grafana/docker-traefik-stack.yml @@ -137,7 +137,7 @@ services: couchdbstats1: image: "gesellix/couchdb-prometheus-exporter:${COUCHDB_EXPORTER_VERSION:-latest}" - command: --couchdb.uri=http://couchdb1.local:5984 --logtostderr --databases=_all_dbs + command: --couchdb.uri=http://couchdb1.local:5984 --databases=_all_dbs environment: - "COUCHDB_USERNAME=${COUCHDB_USER:-root}" - "COUCHDB_PASSWORD=${COUCHDB_PASSWORD:-a-secret}" @@ -156,7 +156,7 @@ services: couchdbstats2: image: "gesellix/couchdb-prometheus-exporter:${COUCHDB_EXPORTER_VERSION:-latest}" - command: --couchdb.uri=http://couchdb2.local:5984 --logtostderr --databases=_all_dbs + command: --couchdb.uri=http://couchdb2.local:5984 --databases=_all_dbs environment: - "COUCHDB_USERNAME=${COUCHDB_USER:-root}" - "COUCHDB_PASSWORD=${COUCHDB_PASSWORD:-a-secret}" diff --git a/examples/stack/docker-stack-cluster.yml b/examples/stack/docker-stack-cluster.yml index 346dccb6..7a99e556 100644 --- a/examples/stack/docker-stack-cluster.yml +++ b/examples/stack/docker-stack-cluster.yml @@ -20,7 +20,7 @@ services: couchdbstats: image: gesellix/couchdb-prometheus-exporter:latest - command: --couchdb.uri=http://couchdb:5984 --config=/run/secrets/config.properties --logtostderr + command: --couchdb.uri=http://couchdb:5984 --config=/run/secrets/config.properties networks: - couchdb ports: diff --git a/examples/stack/docker-stack-single.yml b/examples/stack/docker-stack-single.yml index bd455793..668f4f86 100644 --- a/examples/stack/docker-stack-single.yml +++ b/examples/stack/docker-stack-single.yml @@ -34,7 +34,7 @@ services: couchdbstats: image: gesellix/couchdb-prometheus-exporter:latest - command: --couchdb.uri=http://couchdb:5984 --config=/run/secrets/config.properties --logtostderr + command: --couchdb.uri=http://couchdb:5984 --config=/run/secrets/config.properties networks: - couchdb ports: