Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Tomcat Plugin
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Gérald  
View profile  
 More options Feb 14 2012, 1:57 pm
From: Gérald <gerald.quint...@gmail.com>
Date: Tue, 14 Feb 2012 10:57:21 -0800 (PST)
Local: Tues, Feb 14 2012 1:57 pm
Subject: Tomcat Plugin
A JavaSimon extension for Tomcat is available here:
https://github.com/gquintana/javasimon-tomcat

It contains:
- Lifecycle listener to initialize Simon manager (add JMX register
callback)
- Valve to measure HTTP request duration (without affecting
application code)
- JDBC Interceptor to measure JDBC request duration (without affecting
application code)

I tested it successfully  on Tomcat 6 and 7 (and related SpringSource
tc Server 2.6), the JDBC Interceptor is available only on Tomcat 7
(http://www.tomcatexpert.com/blog/2012/01/24/using-tomcat-7-jdbc-
connection-pool-production)

See ReadMe for setup instructions.

It's alpha quality code by now. Tell me what you think...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gérald  
View profile  
 More options Feb 21 2012, 8:32 am
From: Gérald <gerald.quint...@gmail.com>
Date: Tue, 21 Feb 2012 05:32:57 -0800 (PST)
Local: Tues, Feb 21 2012 8:32 am
Subject: Re: Tomcat Plugin
Here are two new plugins (a.k.a Callbacks) for Simon:
* LastValuesCallback: keeps in a ring buffer (fixed size fifo list)
the last N stopwatch splits, and then compute statistics on the last
values: min, max, mean, trend (increase or decrease).
* QuantilesCallback: tries to compute median and other quantiles (the
90th percentile for exemple) using a bucket sorting system. As
interpolation is used, returned quantiles may not be 100% accurate,
but it may give some more information.
These callback may consume a bit of CPU and memory resources, but as a
(french) proverb says "one can not make an omelette without breaking
eggs".

They are in the same GIT repo:
https://github.com/gquintana/javasimon-tomcat


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gérald  
View profile  
 More options Nov 1 2012, 4:55 pm
From: Gérald <gerald.quint...@gmail.com>
Date: Thu, 1 Nov 2012 13:55:04 -0700 (PDT)
Local: Thurs, Nov 1 2012 4:55 pm
Subject: Re: Tomcat Plugin

I worked a bit more on JavaSimon Tomcat extension :

   - Upgraded to latest JavaSimon release: now using StopwatchSource
   - Cleaned code and added unit tests
   - Removed quantiles/call tree calback as they are in core now
   - Readme in MarkDown format

Test it and tell me,
Gérald


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »