Home

Awesome

ULP OBSERVABILITY PLUGIN

UbikLoadPack observability plugin is an extension for Apache JMeter which allows you to monitor a performance test (Standalone or distributed) from your browser.

It also exposes an Open Metrics endpoint so that Promtheus or similar tools can scrape it and make metrics of your performance test available in it.

It is easily installable through JMeter-Plugins manager

Connect the plugin to Prometheus

Legende

### Install Prometheus If you haven't installed prometheus on your device yet, Download the latest release of Prometheus for your platform, then extract it. If you use Windows, add the extracted directory to the PATH env variable. For Linux users, add it to the $PATH variable. Add it to the .bashrc file to make it permanent.

Prometheus configuration

Inside the directory of your JMeter test plan, add the following prometheus.yml file :

global:
  scrape_interval:     15s # By default, scrape targets every 15 seconds.

  # Attach these labels to any time series or alerts when communicating with
  # external systems (federation, remote storage, Alertmanager).
  external_labels:
    monitor: 'codelab-monitor'

# A scrape configuration containing Observability plugin endpoint to scrape:
scrape_configs:
  - job_name: 'observability-plugin'
    scrape_interval: 5s
    metrics_path: /ulp-o-metrics

    static_configs:
      - targets: ['localhost:9090']

Change 'localhost:9090' to match the port you are using to host the plugin.

### Prometheus launch Cd to the test plan directory, then enter this command to start using prometheus (on port 9095, change it with the one you prefer) :

prometheus  --web.enable-admin-api   --web.listen-address=:9095 --config.file=prometheus.yml

You can then access Prometheus from this url : http://localhost:9095/graph

Metrics to display:

Constraints:

Technologies and dependencies:

Back

Completed tasks

Screenshots

<p align="center"> <img src=screenshot/ulp_observability1.png><br/> <em>Observability Listener JMeter Control Panel</em> <br/> <br/> <img src=screenshot/ulp_observability2.png><br/> <em>Example of metrics summary in non-graphical mode</em> <br/> <br/> <img src=screenshot/ulp_observability5.png><br/> <em>Sample response from Jetty server for sample metrics in OpenMetrics format</em> </p>

Front

Completed tasks

Screenshots

<p align="center"> <img src=screenshot/ulp_observability3.png><br/> <em>Example of a metric chart</em> <br /> </p> <br /> <p align="center"> <img src=screenshot/ulp_observability4.png><br/> <em>Example summary of total metrics</em> <br /> </p>

Roadmap