blakelead / couchbase_exporter

Export metrics from Couchbase Server for Prometheus consumption
Other
35 stars 18 forks source link

Issue with docker image run #37

Closed amithrh closed 5 years ago

amithrh commented 5 years ago

i am trying to run docker image with all default value , but container is existing with below error:

docker run blakelead/couchbase-exporter:0.6.0 time="2019-06-19T11:09:45Z" level=info msg="stat /bin/config.yml: no such file or directory: using command-line parameters and/or environment variables if provided" time="2019-06-19T11:09:45Z" level=info msg="Couchbase Exporter Version: 0.6.0" time="2019-06-19T11:09:45Z" level=info msg="Supported Couchbase versions: 4.5.1, 4.6.5, 5.1.1" time="2019-06-19T11:09:45Z" level=info msg="config.file=config.yml" time="2019-06-19T11:09:45Z" level=info msg="web.listen-address=9191" time="2019-06-19T11:09:45Z" level=info msg="web.telemetry-path=/metrics" time="2019-06-19T11:09:45Z" level=info msg="web.timeout=0s" time="2019-06-19T11:09:45Z" level=info msg="db.uri=http://127.0.0.1:8091" time="2019-06-19T11:09:45Z" level=info msg="db.timeout=0s" time="2019-06-19T11:09:45Z" level=info msg="log.level=info" time="2019-06-19T11:09:45Z" level=info msg="log.format=text" time="2019-06-19T11:09:45Z" level=info msg="scrape.cluster=true" time="2019-06-19T11:09:45Z" level=info msg="scrape.node=true" time="2019-06-19T11:09:45Z" level=info msg="scrape.bucket=true" time="2019-06-19T11:09:45Z" level=info msg="scrape.xdcr=false" time="2019-06-19T11:09:45Z" level=info msg="Started listening at 9191" time="2019-06-19T11:09:45Z" level=fatal msg="listen tcp: address 9191: missing port in address"

Do you have the kubernets deployment file for this ?

blakelead commented 5 years ago

Hello @amithrh ,

Thank you for your valuable input!

There seem to be an issue with the default parameters indeed. I'll check that asap. In the mean time, you have two choices to bypass this bug:

docker run -e CB_EXPORTER_LISTEN_ADDR=:9191 blakelead/couchbase-exporter:0.6.0

Do not hesitate if you have more inputs/remarks

blakelead commented 5 years ago

Hello again @amithrh,

This is fixed in version 0.8.1. Could you please check ?

amithrh commented 5 years ago

Yeah it worked like charm

On Wed, Jun 19, 2019 at 7:42 PM Adel Abdelhak notifications@github.com wrote:

Hello again @amithrh https://github.com/amithrh,

This is fixed in version 0.8.1. Could you please check ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/leansys-team/couchbase_exporter/issues/37?email_source=notifications&email_token=AFQ5MWTMCVXTLYKIWVWNGPDP3I5E7A5CNFSM4HZIPNZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYCAADY#issuecomment-503578639, or mute the thread https://github.com/notifications/unsubscribe-auth/AFQ5MWQU4DGWNKMSDNZKZATP3I5E7ANCNFSM4HZIPNZA .

blakelead commented 5 years ago

Great! I close the issue then, thanks for your help.