Prometheus Couchbase 5 Exporter, Grafana dashboard and Alerting rules included
A prometheus couchbase exporter!
All others I found seem to be abandoned and/or very incomplete. This is an attempt to have all metrics exported, including task-related metrics!
Innitially, have the same metrics as our old exporter, to facilitate the migration.
Once that's done, we can better document all metrics, eventually improve their
naming (like adding _total
, _seconds
, _byte
prefixes), and finally,
provide example alerting rules and grafana dashboards, so it's easier to
proper monitor a couchbase cluster.
It's worth saying that we will only support Couchbase 5+ for now.
This requires the user to have go
installed on their system, preferably version1.13 and onwards.
git clone https://github.com/totvslabs/couchbase-exporter.git
.cd couchbase-exporter
.go build -o couchbase-exporter main.go
. You might have to prefix sudo
if you encounter permission issues../couchbase-exporter
followed by specific flags and their values.$ export COUCHBASE_PASSWORD=secret
$ couchbase-exporter --couchbase.username adm
check
couchbase-exporter --help
for more options!
_bytes
, _seconds
, _total
, etc)