Your SlideShare is downloading. ×
0
MetricsCentral Iowa Java User Group7 May 2013Zach Cox = http://pongr.com/user/z
http://metrics.codahale.comhttps://github.com/codahale/metrics
http://codahale.com/codeconf-2011-04-09-metrics-metrics-everywhere.pdf
Why Metrics● Business value = $$$● Runtime (not design/code/compile/test time)● Measure runtime behavior● Make better deci...
Questions● How many req/sec are we getting now?● Which SQL is slowest on this page?● How many sessions are live now?
How to Metrics● Measure stuff○ Record runtime behavior○ Manually○ Instrumentations○ Metrics API● Report measurements○ Visi...
Measure● Gauge● Counter● Meter● Histogram● Timer● Health check
Instrument (pre-built Metrics)● Ehcache● Apache HttpClient● JDBI● Jersey● Jetty● Log4j● Logback● JVM● Servlet filter
Report● Console / slf4j / csv● Graphite● Ganglia● HTTP● JMX● Write your own...○ CloudWatch○ Hadoop/Storm○ Boundary?
Metrics at Pongr● Scala - much more concise API● Tons of Timers (poor mans profiling)● Many Meters● Couple Counters (Meter...
Metrics in Rexster● https://github.com/tinkerpop/rexster/wiki/Monitoring
Thank You!● Pongr is hiring = zcox@pongr.com
Upcoming SlideShare
Loading in...5
×

Metrics

513

Published on

Talk on Metrics at Central Iowa Java User Group.

Published in: Technology
1 Comment
1 Like
Statistics
Notes
No Downloads
Views
Total Views
513
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
8
Comments
1
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Metrics"

  1. 1. MetricsCentral Iowa Java User Group7 May 2013Zach Cox = http://pongr.com/user/z
  2. 2. http://metrics.codahale.comhttps://github.com/codahale/metrics
  3. 3. http://codahale.com/codeconf-2011-04-09-metrics-metrics-everywhere.pdf
  4. 4. Why Metrics● Business value = $$$● Runtime (not design/code/compile/test time)● Measure runtime behavior● Make better decisions● Increase business value
  5. 5. Questions● How many req/sec are we getting now?● Which SQL is slowest on this page?● How many sessions are live now?
  6. 6. How to Metrics● Measure stuff○ Record runtime behavior○ Manually○ Instrumentations○ Metrics API● Report measurements○ Visibility into that runtime behavior○ Humans○ Machines○ 3rd-party tools
  7. 7. Measure● Gauge● Counter● Meter● Histogram● Timer● Health check
  8. 8. Instrument (pre-built Metrics)● Ehcache● Apache HttpClient● JDBI● Jersey● Jetty● Log4j● Logback● JVM● Servlet filter
  9. 9. Report● Console / slf4j / csv● Graphite● Ganglia● HTTP● JMX● Write your own...○ CloudWatch○ Hadoop/Storm○ Boundary?
  10. 10. Metrics at Pongr● Scala - much more concise API● Tons of Timers (poor mans profiling)● Many Meters● Couple Counters (Meters & Timers count)● Graphite (suuucks)● JMX (wtf?!)● Multiple servers reporting same metrics● CloudWatch reporter (someday...)
  11. 11. Metrics in Rexster● https://github.com/tinkerpop/rexster/wiki/Monitoring
  12. 12. Thank You!● Pongr is hiring = zcox@pongr.com
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×