Hello Guys, how are you?
Finally, we defined the best setup for our production environment using the Couchbase community edition.
To improve the observability we deployed the couchbase-exporter to collect cluster metrics. But we face these exporter (https://github.com/blakelead/couchbase_exporter) don’t get Query metrics.
What would be the best way (and best practices) to get all Cluster metrics like the screenshot below?
Hi Diego, Congratulations !!!
Could you please let us know how are you getting CB certificates and how you are passing it as exporter command line parameters ?
Thanks in advance,
Hi Dhaval, how are you?
Thanks for the reply.
We still using the official community exporter to get metrics, we setup the exporter running on Docker with the command bellow:
sudo docker run --restart=always -d --name cb_exporter
So, I check on this exporter, and Index and query metrics aren’t available for the community version and only for EE version.
Thanks for Quick Reply Diego … Appreciate !!
In our case CB URL is secure and we are accessing through SSL/TLS. Do you know how can we collect certificate and use it properly ?
FYI, In our CB server we are using self signed certificate and exporter is triggering error message during the metrics scrap process for cluster, node and bucket.
So, if we start to connect the couchbase-exporter with SSL, then will the agent be able to collect the index and query metrics correctly?
Yes, Look at the other options/parameters that we are passing during the start up of exporter. We can pass on certificates as well.
Nice Dhaval, I’ll try this approach and let you know if works
Thank you a lot!
Hey Diego, Finally we’ve resolved the issue !!
We found the certificates in below path of Couchbase server installation folder:
After adding below three parameters it is working now:
Thanks you so much !!
Hi Dhaval, could you kindly share what is the name of the metric that was available for scrap after this change? I still don’t see any query or index metrics, only buckets metrics.