Code Monkey home page Code Monkey logo

Comments (4)

johrstrom avatar johrstrom commented on August 11, 2024

Master branch definitely does have the GUI text field to specify port. The ip is the ip of whatever machine you happen to be running the jvm on.

If you happen to be using the updates branch, then you need to use the as of yet undocumented property prometheus.port but I'm still working on this branch from time to time so I haven't quite figured out what's appropriate in terms of settings.

from jmeter-prometheus-plugin.

jricardooliveira avatar jricardooliveira commented on August 11, 2024

So it will be prometheus that will connect to this port to read the exported data right ?
How do I setup prometheus to read from my host/port ?

Btw, thanks for your fast answer!

Regards
Joao

from jmeter-prometheus-plugin.

johrstrom avatar johrstrom commented on August 11, 2024

If you boot them both locally, I believe this config should work. Given that you've configured jmeter to use port 9270. If you're trying to do it remotely then you'll have to replace localhost with whatever ip jmeter is running on.

Note that this is just scrape_configs, it's not the full config file you'll need.

scrape_configs:
  - job_name: 'prometheus'

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

from jmeter-prometheus-plugin.

johrstrom avatar johrstrom commented on August 11, 2024

I'm going to close this as I believe you've probably figured this out by now. Please feel free to open another issue should you have more questions.

from jmeter-prometheus-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.