Go Makefile
Clone or download
Latest commit 3e8d6c5 May 23, 2018
Permalink
Failed to load latest commit information.
vendor vendor all dependencies Sep 11, 2017
.gitignore
.goreleaser.yml Add binary releases with goreleaser Feb 6, 2018
.travis.yml travis May 22, 2018
Dockerfile adding Dockerfile for convenience. Example build command Sending buil… Feb 6, 2018
LICENSE Initial commit May 5, 2016
Makefile `build -i` is not needed anymore since go1.10 Feb 26, 2018
README.md
latency.go don't fail during a scrape Mar 5, 2018
latency_test.go report ops/sec Dec 9, 2016
main.go go fmt May 22, 2018
metric.go don't fail during a scrape Mar 5, 2018
metric_test.go don't fail during a scrape Mar 5, 2018
namespaces.go don't fail during a scrape Mar 5, 2018
sets.go don't fail during a scrape Mar 5, 2018
stats.go don't fail during a scrape Mar 5, 2018

README.md

Aerospike Prometheus exporter

This follows the logic from asgraphite. Run a asprom collector against every node in the aerospike cluster.

Statistics collected:

  • aerospike_node_*: node wide statistics. e.g. memory usage, cluster state.
  • aerospike_ns_*: per namespace. e.g. objects, migrations.
  • aerospike_sets_*: statistics per set: objects, memory usage
  • aerospike_latency_*: read/write/etc latency rates(!), per namespace
  • aerospike_ops_*: read/write/etc ops per second, per namespace

Binaries

The releases page has binaries.

Building

  • install the Go compiler
  • run make
  • copy the ./asprom binary to where you need it

It's also easy to crosscompile with Go. You can build asprom for Linux on a Mac with: GOOS=linux GOARCH=amd64 go build and then copy the asprom binary over to your Linux machines.