Skip to content

Prometheus

This page provides instructions to set up Prometheus Server to scrape metrics from JMS Bridge, which already runs a Prometheus agent on port 8888.

  1. Download and extract Prometheus from the official site:
Terminal window
wget https://github.com/prometheus/prometheus/releases/download/v2.51.2/prometheus-2.51.2.linux-amd64.tar.gz
tar -xvf prometheus-2.51.2.linux-amd64.tar.gz
cd prometheus-2.51.2.linux-amd64
  1. Edit prometheus.yml to add JMS Bridge target:
global:
scrape_interval: 15s
scrape_configs:
- job_name: "jms-bridge"
static_configs:
- targets: ["localhost:8888"]
  1. Start Prometheus:
Terminal window
./prometheus --config.file=prometheus.yml
  1. Open your browser and go to:
http://localhost:9090
  1. Navigate to Status → Targets and confirm that jms-bridge is listed and marked as UP.

No Additional JMS Bridge Configuration Needed

Section titled “No Additional JMS Bridge Configuration Needed”

You only need to point your Prometheus server to localhost:8888 or the appropriate IP/hostname.