Skip to content

Commit

Permalink
Remove old log config parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
gesellix committed Dec 1, 2024
1 parent 9265fbf commit 75f5606
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion examples/compose/docker-compose-cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions examples/compose/docker-compose-integrationtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand All @@ -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}"
Expand Down
2 changes: 1 addition & 1 deletion examples/compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions examples/grafana/docker-traefik-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand All @@ -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}"
Expand Down
2 changes: 1 addition & 1 deletion examples/stack/docker-stack-cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion examples/stack/docker-stack-single.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 75f5606

Please sign in to comment.