Monitor Aerospike Vector Search
This page describes how to set up monitoring for Aerospike Vector Search (AVS) using metrics in the Prometheus and Open Telemetry formats. This makes integrating AVS metrics into your existing monitoring system highly compatible.
Configure scrape targets for monitoring
Use the following steps to configure AVS monitoring.
-
Configure the manage ports on AVS:
# Management API listening ports, TLS and network interface.manage:ports:5040: { } -
Add the following scrape targets in your
prometheus.yaml
file:scrape_configs:-# New job for aerospike_vector_search- job_name: 'aerospike_vector_search'metrics_path: '/manage/rest/v1/prometheus'#if you are using TLS on AVStls_config:ca_file: /etc/prometheus/certs/ca.crtcert_file: /etc/prometheus/certs/client.crtkey_file: /etc/prometheus/certs/client.key# If the service uses a self-signed certificate set the following to trueinsecure_skip_verify: true# list all your nodes for your AVS cluster here, along with port.static_configs:- targets: ['192.168.1.3:5040', '192.168.1.4:5040']
Grafana dashboards and alerts
After you have started collecting metrics, you can monitor your system with the AVS Dashboard. See the Monitoring stack documentation to learn about downloading and installing Aerospike dashboards. The following image shows an example of the AVS dashboard.
