Code Monkey home page Code Monkey logo

prometheus_couchbase_exporter's People

Contributors

billmoritz avatar brunopsoares avatar paschdan avatar yosefy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

prometheus_couchbase_exporter's Issues

key error 'nodes' in single node setup

root@ubuntu:/usr/local/couchdb# prometheus-couchbase-exporter -c http://localhost:8091

Response Status (404): {"error":"not_found","reason":"Database does not exist."}

Response Status (404): {"error":"not_found","reason":"Database does not exist."}

Traceback (most recent call last):
File "/usr/local/bin/prometheus-couchbase-exporter", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/prometheus_couchbase_exporter/init.py", line 125, in main
REGISTRY.register(CouchbaseCollector(args.couchbase))
File "/usr/local/lib/python2.7/dist-packages/prometheus_client/core.py", line 50, in register
names = self._get_names(collector)
File "/usr/local/lib/python2.7/dist-packages/prometheus_client/core.py", line 86, in _get_names
for metric in desc_func():
File "/usr/local/lib/python2.7/dist-packages/prometheus_couchbase_exporter/init.py", line 89, in collect
self._collect_metrics(api_key, api_values, couchbase_data)
File "/usr/local/lib/python2.7/dist-packages/prometheus_couchbase_exporter/init.py", line 70, in _collect_metrics
for node in couchbase_data['nodes']:
KeyError: 'nodes'

missing reduce dependency import

If you try to run prometheus_couchbase_exporter inside the docker image python:3.6.4-alpine the reduce method used on the _dot_get method is not defined. You need to include the import

from functools import reduce

couchbase_exporter

Where can I submit questions to you guys pertaining to this. The only issue I am having is I am not familiar with this exporter.

Thanks,

error

hi, i got this error
text format parsing error in line 28: invalid metric name in comment

abouth this line:

HELP couchbase_bucket_stats_ep_dcp_views+2i_total_backlog_size ep_dcp_views+2i_total_backlog_size

buckets problem

the exporter itterates all buckets but adds only metrics from the last one

tried to find a way to fix it but i couldn't

thanks

is this still being maintained?

is this project still being maintained?

I'm asking because I kind of use it so if it's not being maintained anymore I'll fork it or do something else.. hehe

Thanks for the project, btw :)

"Failed to establish a new connection". How to pass the arguments correctly (instructions issue)

hi,

in case anyone else stumbles upon same issue like me, the instructions suggest to use:

$ prometheus-couchbase-exporter -c <couchbase host:port> -p <port to listen>

correct way is to use:

$ prometheus-couchbase-exporter -c http://<couchbase host:port> -p <port to listen>

sample output from my env:

[root@optima-ansible ~]# prometheus-couchbase-exporter -c 192.168.16.205:8091
Failed to establish a new connection. Is 192.168.16.205:8091 correct?
[root@optima-ansible ~]# prometheus-couchbase-exporter -c http://192.168.16.205:8091
Response Status (401): 
[root@optima-ansible ~]# 

i believe readme.rst should be updated.

thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.