Re: New Relic for WebObjects
Pascal Robert <probert <at> macti.ca>
2013-12-11 19:04:29 GMT
FYI, I'm going to talk about Nagios, Logstash and Kibana (and Puppet and Selenium WebDriver) at WOWODC 2014.
----- Mail original -----
De: "James Brook" <jbrook <at> libertyglobal.com>
À: "joao antunes" <joao.antunes <at> tagus.ist.utl.pt>, probert <at> macti.ca
Cc: wonder-disc <at> lists.sourceforge.net
Envoyé: Mercredi 11 Décembre 2013 12:42:06
Objet: RE: [Wonder-disc] New Relic for WebObjects
The data for your second bullet point is not so easy to get out into a visualisation tool but you might look at
ERXStatisticsStore and the JMX MBeans. There are other tools that have JVM level instrumentation for
obtaining profiling data like this. We find that the following tool-set works very well for us:
* Logstash - receives 'events' on a variety of inputs - a simple input might be 'tail' on a web server log. We
pipe our Apache logs to a UDP input and we have a log4j socket appender pushing WebObjects log events. Then
there is an optional filter stage. The default output is to an 'Elasticsearch' datastore. http://www.elasticsearch.org/overview/logstash/
* Kibana - Great UI/dashboarding tool for logstash. It's now built in to logstash. You can make custom
dashboards of the data. http://www.elasticsearch.org/overview/kibana/
* StatsD - an event/stats 'aggregator' for forwarding data to graphite/carbon.
https://github.com/etsy/statsd/ It's about one line of code to send events out of WebObjects over a UDP
socket. Also completely non-blocking, so no performance overhead. We actually extended
ERXStatisticsStore to support custom listeners (it's part of core Wonder) and we use a StatsD listener.
You should be able to see how to implement it here:
* Graphite - a dashboarding tool. This gives us really nice near realtime visibility of what is going on in
every part of our infrastructure. It can also easily be used to set up time-series based alerting in Nagios
or other monitoring tools. Really useful tool but ugly web site: http://graphite.wikidot.com
* JMXTrans - gets JMX data from WO apps (loads of useful stuff there) and sends it to StatsD so that Graphite
can graph it - https://github.com/jmxtrans/jmxtrans
Also looks at:
* http://metrics.codahale.com - Java framework for sending out metrics
* http://sensuapp.org - Modern replacement for Nagios
* http://ganglia.sourceforge.net - Another monitoring tool - targeted at clusters/cloud deployments
Finally, the seminal article "Measure Anything, Measure Everything" http://codeascraft.com/2011/02/15/measure-anything-measure-everything/
From: Joao Antunes [joao.antunes <at> tagus.ist.utl.pt]
Sent: 11 December 2013 12:41
To: probert <at> macti.ca
Cc: wonder-disc <at> lists.sourceforge.net
Subject: Re: [Wonder-disc] New Relic for WebObjects
Yes, sorry for the _very_ late reply.
Well, as far as I can tell, and i'm probably wrong, Nagios can only tell you how the server itself is doing, it
does not give you details like:
- Time of response per HTTP request (ok you can hook up your Load Balancer to do this);
- Time spent on each layer of the MVC (well, how much time coming up with your components, how much time
accessing the entities in the database, etc);
I have tried to use it with WO but it ended up making the server rewrite the URLs badly (for some reason, maybe
because the agent wasn't in the same directory as the App as they advised it to be) and no data came out from
it. I sent them an email and they said nothing about supporting it.
However, what are the other alternatives? I recently read about WOStats and that seems the way to go, any
links/resources for a WO 5.3 (and an old version of wonder) with pointers on how to set it up/configure it? I
could only found the Javadocs of the classes and they don't provide much help.
Also, opinions suggestions from someone who attempted the endeavor previously?
On Tue, Nov 12, 2013 at 7:04 PM, <probert <at> macti.ca<mailto:probert <at> macti.ca>> wrote:
From what I understand, New Relic is part Nagios-like and part JMX-like.
Pascal did a lot of work and presentations on using Nagios for WO app monitoring.
What problem did you hit with New Relic?
Executive Managing Partner, VP Development and Technical Services
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who
are trying to solve specific problems.
Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C!
Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing
Companies by PROFIT Magazine!
On 2013-11-09 1:39 PM, "Joao Antunes" wrote:
I was trying to install New Relic in webobjects, but I think that it is not compatible, are there any
alternatives? I saw ERProfiling but my wonder version is previous to that one, and as far as I know the
ERProfiling should only be used in development because it adds the 'header/footer' with the profling
info on each page view.
Anyone has any ideas regarding implementing a similar functionality (to the one that NewRelic offers) in a
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net