Skip to content
Webinar - July 10: Cut Infra Costs by 80% with Smarter DRAM, NVMe & Cloud Storage StrategyRegister now

Install Prometheus Exporter on Linux

You can download the Aerospike Prometheus Exporter manually from the Download page. The release notes have important information about each release. Use the following example to automate downloading versions of the Exporter from the artifact repository.

Base URL

Terminal window
https://download.aerospike.com/artifacts/aerospike-prometheus-exporter/1.24.0

Install on Red Hat systems

  1. Download the RPM package.

    Terminal window
    wget https://download.aerospike.com/artifacts/aerospike-prometheus-exporter/1.24.0/aerospike-prometheus-exporter-1.24.0-1.x86_64.rpm
  2. Install the package.

    Terminal window
    rpm -Uvh aerospike-prometheus-exporter-1.24.0-1.x86_64.rpm

Install on Debian-derived systems (Debian, Ubuntu, or others)

  1. Download the Debian package.

    Terminal window
    wget https://download.aerospike.com/artifacts/aerospike-prometheus-exporter/1.24.0/aerospike-prometheus-exporter_1.24.0-1_amd64.deb
  2. Install the package.

    Terminal window
    dpkg -i aerospike-prometheus-exporter_1.24.0-1_amd64.deb

Download the binary

Download the .tgz package containing the binary.

Terminal window
# Download and extract the package containing the exporter binary
wget https://download.aerospike.com/artifacts/aerospike-prometheus-exporter/1.24.0/aerospike-prometheus-exporter_1.24.0-1_x86_64.tgz -O aerospike-prometheus-exporter.tgz
tar -xvzf aerospike-prometheus-exporter.tgz

Install and run the exporter:

Terminal window
# Run the exporter directly using the binary
./usr/bin/aerospike-prometheus-exporter --config ./etc/aerospike-prometheus-exporter/ape.toml

(for systemd based):

Terminal window
# install exporter binary
cp ./usr/bin/aerospike-prometheus-exporter /usr/bin/aerospike-prometheus-exporter
# install configuration file
mkdir -p /etc/aerospike-prometheus-exporter
cp ./etc/aerospike-prometheus-exporter/ape.toml /etc/aerospike-prometheus-exporter/ape.toml
# install systemd service unit file
mkdir -p /usr/lib/systemd/system
cp ./usr/lib/systemd/system/aerospike-prometheus-exporter.service /usr/lib/systemd/system/aerospike-prometheus-exporter.service
# Reload systemd manager configuration
systemctl daemon-reload

Exporter naming conventions

  • Starting with Database 6.2 and Exporter 1.9.0, where support for 64-bit ARM was introduced, the Exporter packages use the following naming convention:

Package name

Note the difference between the hyphen -, underscore _, and period . usages.

  • *.deb & *.tgz use this construct:
    • aerospike-prometheus-exporter_VERSION-1_ARCHITECTURE.EXTENSION
  • *.rpm uses this construct:
    • aerospike-prometheus-exporter-VERSION-1.ARCHITECTURE.EXTENSION

version: 1.24.0, and so on

architecture: x86_64, aarch64 - based on uname -m

  • Prior to Exporter 1.9.0, Exporter ran only on x86_64 architecture and used the following naming convention:

Package name

aerospike-prometheus-exporter_VERSION.tgz
Feedback

Was this page helpful?

What type of feedback are you giving?

What would you like us to know?

+Capture screenshot

Can we reach out to you?