Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couchbase plugin does not handle memcached buckets #1771

Closed
theborax opened this issue Sep 15, 2016 · 2 comments
Closed

Couchbase plugin does not handle memcached buckets #1771

theborax opened this issue Sep 15, 2016 · 2 comments
Labels
bug unexpected problem or unintended behavior
Milestone

Comments

@theborax
Copy link

I found a bug when testing a bit with telegraf and couchbase. Basically the plugin does not handle memcached (pure in-memory) buckets at all. The output from an ordinary bucket looks like the following:
data_used=14208526,disk_fetches=0,disk_used=36212218,item_count=58,mem_used=106753224,ops_per_sec=0,quota_percent_used=1.509605692798981 1473931335000000000

whilst it does not use any disk at all if it's a memcached bucket, so the output becomes:
data_used=,disk_fetches=,disk_used=,item_count=14,mem_used=5776,ops_per_sec=0,quota_percent_used=0.0003586212793986003 1473931335000000000

which influx does not like at all... I propose that all disk related parameters should be dropped in case they are missing.

@sparrc sparrc added the bug unexpected problem or unintended behavior label Sep 15, 2016
@sparrc sparrc added this to the 1.1.0 milestone Sep 15, 2016
@yellowmegaman
Copy link

I'm experiencing the same problem. Got both in-memory and ordinary buckets.
Worst of all, while failing to write data related to memcached bucket, it won't write any other data, resulting in error:

disk_fetches=,,disk_used=,,item_count=0,data_used=,mem_used=0,ops_per_sec=0,quota_percent_used=0 1475066910000000000': missing field value\nunable to parse

finally resulting in:
"Could not write to any InfluxDB server in cluster"

Telegraf 1.0.0
Debian jessie / Ubuntu 14.04
Couchbase CE 4.0.0-4051-1

Proposal: let us choose bucket name(s) to gather metrics from. (as a parameter)
Thanks a lot in advance!

@folex
Copy link

folex commented Sep 28, 2016

Got same problem as @yellowmegaman

sparrc added a commit that referenced this issue Oct 7, 2016
sparrc added a commit that referenced this issue Oct 7, 2016
sparrc added a commit that referenced this issue Oct 10, 2016
@sparrc sparrc closed this as completed in 8ca4a50 Oct 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

4 participants