Prometheus
Scrape Hanzo IAM metrics with Prometheus.
Configure Prometheus to scrape Hanzo IAM for runtime metrics (API throughput, latency, CPU, memory, etc.). Add a scrape job for the Hanzo IAM backend:
global:
scrape_interval: 10s
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
- job_name: 'iam'
static_configs:
- targets: ['localhost:8000'] # Hanzo IAM backend address
metrics_path: '/api/metrics'
After Prometheus is running and scraping, you can query and visualize Hanzo IAM metrics (e.g. in Grafana).
How is this guide?
Last updated on