Skip to content

Prometheus Couchbase 5 Exporter, Grafana dashboard and Alerting rules included

License

Notifications You must be signed in to change notification settings

tx0c/couchbase-exporter

 
 

Repository files navigation

couchbase-exporter

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!

Goal

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.

Usage

$ couchbase-exporter --couchbase.username adm --couchbase.password secret

check couchbase-exporter --help for more options!

What's included

  • the exporter itself
  • a grafana dashboard
  • an example of alerting rules

Roadmap

  • export task metrics
  • export bucket metrics
  • export node metrics
  • export cluster metrics
  • provide alerting rules examples
  • provide grafana dashboards (maybe use jsonnet (https://github.com/grafana/grafonnet-lib)?)
  • check other TODOs
  • improve metric names (add _bytes, _seconds, _total, etc)
  • add some sort of tests

About

Prometheus Couchbase 5 Exporter, Grafana dashboard and Alerting rules included

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 86.1%
  • Jsonnet 11.4%
  • Shell 1.4%
  • Other 1.1%