workshop new relic - juni 2015

21
Workshop - New Relic

Upload: byte

Post on 05-Aug-2015

33 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Workshop New Relic - juni 2015

Workshop - New Relic

Page 2: Workshop New Relic - juni 2015

Melvyn SopacuaSenior Support Engineer

@SupportDesk

[email protected]

Page 3: Workshop New Relic - juni 2015

NEW RELIC

✓ Performance Monitor

✓ Error Monitor

✓ Uptime Monitor

✓ Alert Dispatcher

Page 4: Workshop New Relic - juni 2015

Look & Feel

Page 5: Workshop New Relic - juni 2015

THREE MAIN USES FOR DEVS AND MAINTAINERS

1. Performance optimization track (project based)

2. Elusive bugs and Performance Peaks (incidents)

3. Performance monitoring over time for scalability

Page 6: Workshop New Relic - juni 2015

TRACK 1: PERFORMANCE OPTIMIZATION

Basic Workflow

● Identify pages that are worth investigating (slow versus

time consumed)

● Set a target page response time (global and for specific

pages)

● Wait for transaction traces to come in and analyse

bottlenecks.

● Buy a new template Fix the code

● Check gain when live or watch the new bottleneck rears

it's ugly head.

Page 7: Workshop New Relic - juni 2015

PERFORMANCE OPTIMIZATION TRACK

Recursive Loads

Expensive observers

Platform bottlenecks

Too much bling

Shaving the milliseconds

Page 8: Workshop New Relic - juni 2015

Recursive load

Page 9: Workshop New Relic - juni 2015

Many Recursive Loads

Page 10: Workshop New Relic - juni 2015

Many Recursive Loads

Queries

Page 11: Workshop New Relic - juni 2015

Track 2: Bug or performance bottleneck incident

Page 12: Workshop New Relic - juni 2015

“What did you do to break it?”

UNABLE TO REPRODUCE THE PROBLEM

“Works for me, so call me back when you see it again”

“Site’s up and running”(and you forgot your /etc/hosts

file)

Page 13: Workshop New Relic - juni 2015

REPRODUCING THE PROBLEM

✓ 7-day error retention

✓ Graphed

✓ Alertable (based on % of requests)

✓ Traces

Page 14: Workshop New Relic - juni 2015

Error Rate Screen

Page 15: Workshop New Relic - juni 2015

Error Trace

Page 16: Workshop New Relic - juni 2015

Performance Bottleneck

Ready… Aim… Fire!

Page 17: Workshop New Relic - juni 2015

Track 3: Performance Monitoring

Observe. Respond. Report. Advise.

Page 18: Workshop New Relic - juni 2015

PERFORMANCE MONITORING TOOLBOX

EVENT ALERTS:

● Application wide ApDex

● Key Transaction ApDex

● Error rates

● Reachability

PERIODICS:

● Weekly Performance Email

● 90 days application wide

● 30 days per transaction

● Historic Performance

Comparison

Page 19: Workshop New Relic - juni 2015

Ale

rt

Sys

tem

Pro

cess

Page 20: Workshop New Relic - juni 2015

Reporting the good stuff

Release “Awesome Sauce”

Page 21: Workshop New Relic - juni 2015

Interested?

DIRECTLY FROM NEW RELIC THROUGH BYTE