Giter Site home page Giter Site logo

aerospike_exporter's Introduction

Aerospike Metrics Exporter

Circle CI

A Prometheus exporter for collecting Aerospike metrics.

Installation

Download latest executable from releases, and extract and run it.

$ ./aerospike_exporter <flags>

Add a block to the scrape_configs of your prometheus.yml config file:

scrape_configs:

...
  - job_name: aerospike_exporter
    static_configs:
      - targets: ['localhost:9145']
...

and adjust the host name accordingly.

Flags

Name Description
aerospike.addr Address of aerospike node, defaults to localhost:3000.
aerospike.alias Alias for aerospike node address.
web.listen-address Address to listen on for web interface and telemetry, defaults to 0.0.0.0:9145.
web.telemetry-path Path under which to expose metrics, defaults to metrics.
as-only-metrics Whether to avoid metrics other than aerospike, defaults to false.

These settings take precedence over any configurations provided by environment variables.

Environment Variables

Name Description
AEROSPIKE_ADDR Address of Aerospike node
AEROSPIKE_ALIAS Alias name of Aerospike node

What's exported ?

The exporter collects metrics related to following items from Aerospike's Info command.

  • Basic Info
  • Statistics
  • Namespace
  • Latency

You can import following Grafana dashboard present under dashboards/ in project folder for Aerospike Metrics Exporter.

alt Grafana Dashboard

Local building and running

If you want to build package yourself, or want to contribute. You can follow the guide to setup the project.

$ go get github.com/staticmukesh/aerospike_exporter
$ go build
$ ./aerospike_exporter <flags>

To rebuild the package on source change,

$ go get github.com/Unknwon/bra
$ bra run

Contributing

Open an issue or PR if you have more suggestions or ideas about what to add or improve.

Thanks

This project has been inspired from redis_exporter by oliver006.

aerospike_exporter's People

Contributors

staticmukesh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.