Prometheus Couchbase 5 Exporter, Grafana dashboard and Alerting rules included
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client fix: remove settings et al Jan 31, 2019
collector fix: mark as up later only Jan 31, 2019
grafana bump: grafonnet Jan 31, 2019
prometheus fix: alerts Jan 31, 2019
test fix: nodes Oct 22, 2018
.editorconfig fix: jsonnet fmt Oct 25, 2018
.gitignore chore: build Oct 26, 2018
.gitmodules bump: grafonnet lib Nov 7, 2018
.goreleaser.yml fix: goreleaser config Dec 10, 2018
CONTRIBUTING.md docs: CONTRIBUTING.mnd Dec 21, 2018
Dockerfile fix: preparing for v1.0.0 Oct 25, 2018
LICENSE Create LICENSE Dec 7, 2018
Makefile fix: makefile Dec 10, 2018
README.md fix: readme Oct 25, 2018
go.mod chore: using go modules Nov 7, 2018
go.sum chore: using go modules Nov 7, 2018
main.go chore: do not block startup Dec 12, 2018

README.md

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