際際滷

際際滷Share a Scribd company logo
APIs Monitoring
  Key APIs & Maintenance




                     Retreat IT - 2011
NR Goodies
Throughput / Responses
Times

Performance Breakdown

Slow transactions

SQL Queries

Errors

CPU / Memory / JVM stats
We Want More!
Application Metrics             Track down bottlenecks
                                Performance breakdown for
Response time by client type
                                grails sucks!
Memcached HIT ratio?
                                False positive errors

Test new features               REST error codes 4xx


How much improve my new Redis   Ignore administrative
cache?                          transactions
Was it worth parallelized the
items multiget?                 /ping, /warmup ...


                                Job monitoring
APIs Monitoring
APIs Monitoring
APIs Monitoring
A Meaningful Performance Breakdown
Dashboard
Memcached
Staying Healthy
 The newrelic.yml way

# Error collector captures information
about uncaught exceptions

 error_collector
  
  ignore_errors: mlapi.NotFoundException
  ignore_status_codes: 404,403,400




By VM args

-Dnewrelic.config.ignore_status_codes=404,403,400
-Dnewrelic.config.ignore_errors=<Classes>
Keep-an-eye on Jobs




   BuildConfig.groovy

   plugins {
       compile ':quartz-monitor:0.2'
   }
Keep-an-eye on Jobs
Few Notes
Agent version > 2.0

Add newrelic-api.jar to classpath

Add ENABLE_CUSTOM_TRACING: true

Disable commons-http instrumentation:
Complementary Tools
The End

      Questions?


      About us

     Pablo Molnar
     @pablomolnar

     Mat鱈as Waisgold
     @mwaisgold

More Related Content

APIs Monitoring

  • 1. APIs Monitoring Key APIs & Maintenance Retreat IT - 2011
  • 2. NR Goodies Throughput / Responses Times Performance Breakdown Slow transactions SQL Queries Errors CPU / Memory / JVM stats
  • 3. We Want More! Application Metrics Track down bottlenecks Performance breakdown for Response time by client type grails sucks! Memcached HIT ratio? False positive errors Test new features REST error codes 4xx How much improve my new Redis Ignore administrative cache? transactions Was it worth parallelized the items multiget? /ping, /warmup ... Job monitoring
  • 10. Staying Healthy The newrelic.yml way # Error collector captures information about uncaught exceptions error_collector ignore_errors: mlapi.NotFoundException ignore_status_codes: 404,403,400 By VM args -Dnewrelic.config.ignore_status_codes=404,403,400 -Dnewrelic.config.ignore_errors=<Classes>
  • 11. Keep-an-eye on Jobs BuildConfig.groovy plugins { compile ':quartz-monitor:0.2' }
  • 13. Few Notes Agent version > 2.0 Add newrelic-api.jar to classpath Add ENABLE_CUSTOM_TRACING: true Disable commons-http instrumentation:
  • 15. The End Questions? About us Pablo Molnar @pablomolnar Mat鱈as Waisgold @mwaisgold

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n