Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. JMeter
  3. jmeter-prometheus-plugin

jmeter-prometheus-plugin

Apache-2.0Java0.7.1

A JMeter plugin that exposes performance test results as Prometheus metrics via an HTTP API.

GitHubGitHub
189 stars116 forks0 contributors

What is jmeter-prometheus-plugin?

jmeter-prometheus-plugin is a plugin for Apache JMeter that exposes performance test results as Prometheus metrics. It solves the problem of integrating JMeter load test data into Prometheus-based monitoring stacks by providing an HTTP API endpoint that Prometheus can scrape, enabling real-time visualization and alerting on test results.

Target Audience

Performance engineers and developers who use JMeter for load testing and want to integrate test results into Prometheus monitoring systems for real-time analysis and dashboarding.

Value Proposition

Developers choose this plugin because it provides a seamless bridge between JMeter and Prometheus, offering highly configurable metric definitions, support for JMeter variables as labels, and specialized metrics like success ratios that handle edge cases properly.

Overview

A Prometheus Listener for Apache JMeter that exposes results in an http API

Use Cases

Best For

  • Integrating JMeter load test results into Prometheus monitoring stacks
  • Creating custom performance dashboards in Grafana using JMeter data
  • Real-time monitoring of application performance during load tests
  • Tracking success/failure ratios of API endpoints under load
  • Measuring response time distributions across different test scenarios
  • Exporting JMeter thread and JVM metrics to Prometheus

Not Ideal For

  • Projects using non-Prometheus monitoring stacks like InfluxDB or ELK, as the plugin is specifically designed for Prometheus integration.
  • Teams needing immediate, pre-configured dashboards without additional setup in Grafana or similar tools.
  • Simple load testing scenarios where JMeter's built-in listeners or basic reporting tools are sufficient.
  • Environments where exposing an HTTP endpoint for metric scraping poses security or network constraints.

Pros & Cons

Pros

Custom Metric Flexibility

Allows users to define metrics with custom names, types (histogram, summary, counter, gauge, success ratio), and labels, as detailed in the listener configuration matrix and examples like the simple_prometheus_example.jmx file.

Dynamic Label Support

Supports JMeter variables as label values, enabling contextual tagging based on test dynamics, shown in examples where variables like 'category' are used to generate label values in exposed metrics.

Success Ratio Handling

Special success ratio metric prevents NaN issues by ensuring zero values for success and failure counters, addressing a common monitoring problem as explained in the README's success ratio section.

Programmatic Metric Control

Configuration element allows advanced users to interact with Prometheus metrics programmatically in test scripts, leveraging the Prometheus Java client API, as demonstrated in the config element examples.

Cons

Incomplete Gauge Implementation

The README admits that gauges were added without a clear use case, stating 'I'm not quite sure how Gauges make sense,' which can confuse users and limit practical application.

Manual Configuration Burden

Requires users to manually define all metrics in listeners or config elements, which can be complex and time-consuming compared to plugins with pre-defined metric sets, as noted in the flexibility trade-off.

No Built-in Dashboards

Lacks out-of-the-box visualization; users must create Grafana dashboards from scratch using provided examples, increasing setup effort for immediate monitoring needs.

Frequently Asked Questions

Quick Stats

Stars189
Forks116
Contributors0
Open Issues34
Last commit3 years ago
CreatedSince 2017

Tags

#load-testing#performance-testing#jmeter#jmeter-plugins#integration#metrics-exporter#java#monitoring#http-api#testing#prometheus-exporter#jmeter-plugin#prometheus

Built With

M
Maven
J
Java

Included in

JMeter781
Auto-fetched 17 hours ago

Related Projects

InfluxDB Community Template for JMeterInfluxDB Community Template for JMeter

InfluxDB Community Templates: Quickly collect & analyze time series data from a range of sources: Kubernetes, MySQL, Postgres, AWS, Nginx, Jenkins, and more.

Stars371
Forks163
Last commit3 years ago
jmeter-influxdb2-listener-pluginjmeter-influxdb2-listener-plugin

Influx DB v2.0 listener plugin for Apache JMeter. Provides the possibility to see the online dashboard (aggregation table, errors, the response body of failures).

Stars133
Forks51
Last commit1 year ago
jmeter-elasticsearch-backend-listenerjmeter-elasticsearch-backend-listener

JMeter plugin that lets you send sample results to an ElasticSearch engine to enable live monitoring of load tests.

Stars101
Forks80
Last commit2 years ago
JMeter-InfluxBD-Writer PluginJMeter-InfluxBD-Writer Plugin

Plugin for JMeter that allows to write load test data on-the-fly to influxDB.

Stars78
Forks75
Last commit6 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub