Comments (9)
Works for me :). Steps below. Thanks!
# Cleaned and built
git checkout remotes/origin/add-hostname-cfg
mvn clean package -U
# Added the new version of the plugin (removed old versions)
cp target/jmeter-prometheus-plugin-0.6.0-SNAPSHOT.jar ~/jmeter/apache-jmeter-5.2/lib/ext/
# From JMeter Directory
bin/jmeter -Dprometheus.ip=<my ip>
# Prometheus call succeeds
curl http://<my ip>:9270/metrics
# Calls to other IPs fail as expected.
from jmeter-prometheus-plugin.
Hi! Thanks for the ticket, and for the referenced tickets. Especially #32, unfortunately it looked like that person needed to bind to 0.0.0.0 and at the time I didn't know it (I've since had to do similar things with other containers and programs).
But to your main question - there were no plans for it, but I see no reason why not. If you need it, I'm happy to look into it and turn this ticket into a feature request.
from jmeter-prometheus-plugin.
Awesome yeah - a feature request makes sense. Thank you for setting it as such
from jmeter-prometheus-plugin.
I've created this branch add-hostname-cfg
and the PR listed above. I tested it out quickly on 127.0.0.1
, 0.0.0.0
and my public ip and it all seemed to work just fine. Let me know if it works for you too and I'll pull it in and release it.
from jmeter-prometheus-plugin.
I was under the same need and this PR resolves it. I have checked it locally. Can we please have this PR released to maven central, please.
from jmeter-prometheus-plugin.
Hi! I'm so sorry, of course I can release this tonight after work.
from jmeter-prometheus-plugin.
Thanks a lot.
Also, just as I am very new to this plugin, do you have a sample jmx for http request and the plugin configuration (sample jmx provided is with the jsr. So wanted to quickly check with you!)
from jmeter-prometheus-plugin.
To the http question, no I didn't. I used jsr just because I didn't want to hit google or some other api. But the listener configuration would be the same, other than the names of the metrics you're creating.
from jmeter-prometheus-plugin.
Thanks for the call to action. 0.6.0 is released to maven central and I even enabled a badge in the README so folks can just see what version we're working with.
Thanks all!
from jmeter-prometheus-plugin.
Related Issues (20)
- unnecessary count for "Transaction Controller" HOT 1
- Q: Instructions on how to execute load test on Distributed Jmeter?(with Prometheus) HOT 1
- Not upping the server HOT 1
- Metrics for embedded resources HOT 1
- Why not using AbstractBackendListenerClient as base class?
- Performance issue on high thread count scenarios HOT 1
- JSR233 names to generic name mapping. HOT 3
- apache-jmeter-5.5 not shows plugin in backend Listener HOT 1
- Prometheus is not able to capture jmeter stats from slave machines HOT 2
- prometheus.delay not working as expected HOT 3
- How to increase data retention duration in Prometheus? HOT 10
- Some metrics are no longer available during the server shutdown delay HOT 1
- Response Time - > P90,P95 , Min and Max are not matching HOT 12
- Push release 0.6.2 to Maven Central HOT 2
- Failed to register Collector of type ClassLoadingExports: The Collector exposes the same name multiple times: jvm_classes_loaded HOT 1
- Prometheus listener config for various KPI calculations
- Histogram type allows only one set of Buckets or Quantiles for all the prometheus listeners HOT 2
- Few Jmeter measures arent available HOT 1
- thread group label should be snake_case
- missing dashboard samples
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jmeter-prometheus-plugin.