Prometheus
From Halfface
prometheus info
configure scraping
/etc/prometheus/prometheus.yml
scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: "prometheus"
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs:
- targets: ["localhost:9090"]
- job_name: 'kafka'
static_configs:
- targets: ["localhost:9091"] # JMX Exporter endpoint for Kafka metrics