GithubHelp home page GithubHelp logo

Comments (7)

Mavlarn avatar Mavlarn commented on June 20, 2024

I think it is necessary. For JVM based target server, heap usage and GC status is really usefule for performance tuning.

from ngrinder.

maoyubin avatar maoyubin commented on June 20, 2024

yes, we could add such as collecting data from target JVM plugins and thereby guiding ngrinder users to dev plugin fit their own biz.

from ngrinder.

Mavlarn avatar Mavlarn commented on June 20, 2024

OK. I will implement this feature in 3.3 version.
The issue on JIRA has been created:
http://jira.cubrid.org/browse/NGRINDER-685

from ngrinder.

Mavlarn avatar Mavlarn commented on June 20, 2024

Current solution is like this:

  1. Create a plugin and extend OnTestSamplingRunnable, which will be triggered during sampleing, including sampling start, sample and end.
  2. In this plugin, for every test, will create a directory in test report directory, the directory name is the plugin name. And the monitor data will be saved in file {ip}.data. Currently I just added heap memory usage info and some GC info.
    This plugin will try to get monitor data from all target servers.
  3. In report detail page, if the directory with the plugin name exist, it means, there is some monitor plugin enabled. Then in report page, there will be a link for plugin monitor chart for every target server.
  4. When you click on the target server under the plugin, it will get the data from server and generate chart. The lables will be in the data from server, it will be used to display as chart header, and also used as a key to get its data from return map.

Then, if user want to add some other kind of monitor data, he can also add it as plugin, and provides the data as this. Then the data can be displayed automatically in page.

from ngrinder.

Mavlarn avatar Mavlarn commented on June 20, 2024

On more think, before we have a simple extention for custom monitor data. As below:
http://www.cubrid.org/wiki_ngrinder/entry/how-to-add-custom-monitor-data
But it is not easy to use, and can not display lable in page. It is also not a generic approach.

So, should be remove that part from the code?

from ngrinder.

junoyoon avatar junoyoon commented on June 20, 2024

Nop. It's still providing its value. Leave it.

from ngrinder.

junoyoon avatar junoyoon commented on June 20, 2024

https://sourceforge.net/projects/ngrinder/files/ngrinder-3.3/plugins/

JVM monitoring feature is now provided as plugin.

from ngrinder.

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.