fengshao0907 / javamelody

Automatically exported from code.google.com/p/javamelody
0 stars 0 forks source link

Enhancement : Capture jmeter metrics and remote os metrics values along with jvm stats for performance analysis #316

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Below Metrics are configured and measured as a part of jmeter test.
want to measure all of these metrics values along with jvm stats for good 
understanding on same time baseline.

For a Fixed time line , user want to analyse below metrics , jvm stats and 
remote OS metrics values. This will give a clear picture to the user.

1) Example for jmeter metrics
# For CSV output##############
jmeter.save.saveservice.output_format=csv
jmeter.save.saveservice.data_type=false
jmeter.save.saveservice.label=true
jmeter.save.saveservice.response_code=true
jmeter.save.saveservice.response_data.on_error=true
jmeter.save.saveservice.response_message=true
jmeter.save.saveservice.successful=true
jmeter.save.saveservice.thread_name=true
jmeter.save.saveservice.time=true
jmeter.save.saveservice.subresults=false
jmeter.save.saveservice.assertions=false
jmeter.save.saveservice.latency=true
jmeter.save.saveservice.bytes=true
jmeter.save.saveservice.hostname=true
jmeter.save.saveservice.thread_counts=true
jmeter.save.saveservice.sample_count=true
jmeter.save.saveservice.response_message=false
jmeter.save.saveservice.assertion_results_failure_message=true
jmeter.save.saveservice.timestamp_format=yyyy/MM/dd HH:mm:ss.SSS
#jmeter.save.saveservice.timestamp_format=HH:mm:ss
jmeter.save.saveservice.default_delimiter=,
jmeter.save.saveservice.print_field_names=true

2) example for jvm stats
heap memory
commited gc

3) remote os metrics
cpu usage by remote host
memory by remote host
iostat by remote host

Original issue reported on code.google.com by jaf...@owler.com on 12 Jun 2013 at 4:47

GoogleCodeExporter commented 9 years ago
All above 3 categories measured against same time baseline value will give the 
user a real picture of application performance.

Original comment by jaf...@owler.com on 12 Jun 2013 at 4:48

GoogleCodeExporter commented 9 years ago
@jaffer
As said on the first line of the home page: "[javamelody] is not a tool to 
simulate requests from users, it is a tool to measure and calculate statistics 
on real operation of an application depending on the usage of the application 
by users."

So I think that collecting jmeter values from some jmeter injector JVM while 
simulating requests is certainly out of scope.

That said, javamelody can be used while there is a Apache jmeter test running. 
I have done this several times. Javamelody can be used to report real time 
values about the server(s) state where there is a test running, and to report 
statistics for all the test period (using the "All" period and the "reset" 
button probably).

To go forward about all this, I don't think that jmeter values should be 
included in javamelody, but I think that some javamelody values could displayed 
in the jmeter client, with a jmeter plugin.

So this issue is won't fix for javamelody, leading you to write a jmeter plugin 
to display main javamelody values in jmeter.

Original comment by evernat@free.fr on 15 Jun 2013 at 9:33