morgue , helping better understand events by building a post mortem tool - bethany macri

108
Morgue A Post Mortem Tool Etsy @BethanyMacri Monday, October 21, 13

Upload: devopsdays

Post on 26-Jan-2015

121 views

Category:

Education


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

MorgueA Post Mortem Tool

Etsy@BethanyMacri

Monday, October 21, 13

Page 2: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Daniel Schauenberg@mrtazz

github.com/mrtazz

Monday, October 21, 13

Page 3: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 4: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 5: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 6: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 7: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 8: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 9: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 10: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 11: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Shit happens.

Monday, October 21, 13

Page 12: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

What I’m talking about today• Post mortems

• Morgue

Monday, October 21, 13

Page 13: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

What is a post mortem?

Monday, October 21, 13

Page 14: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Types of events

Monday, October 21, 13

Page 15: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Types of events• Site outage

Monday, October 21, 13

Page 16: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Types of events• Site outage• New users cannot register

Monday, October 21, 13

Page 17: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Types of events• Site outage• New users cannot register• Buyers cannot checkout

Monday, October 21, 13

Page 18: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Types of events• Site outage• New users cannot register• Buyers cannot checkout• Sellers cannot list items

Monday, October 21, 13

Page 19: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Types of events• Site outage• New users cannot register• Buyers cannot checkout• Sellers cannot list items• Data loss

Monday, October 21, 13

Page 20: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Types of events• Site outage• New users cannot register• Buyers cannot checkout• Sellers cannot list items• Data loss• Performance degradation

Monday, October 21, 13

Page 21: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Severity levels

P1 Complete outage

P2 Loss or degradation for subset

P3 Loss of minor functionality

P4 No member-visible impact

P5 Anything else

Monday, October 21, 13

Page 22: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

How is a post mortem conducted?

Monday, October 21, 13

Page 23: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Who• The person/people who:

Monday, October 21, 13

Page 24: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Who• The person/people who:

• introduced the problem

Monday, October 21, 13

Page 25: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Who• The person/people who:

• introduced the problem• identified the problem

Monday, October 21, 13

Page 26: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Who• The person/people who:

• introduced the problem• identified the problem• responded to the problem

Monday, October 21, 13

Page 27: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Who• The person/people who:

• introduced the problem• identified the problem• responded to the problem• debugged the problem

Monday, October 21, 13

Page 28: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Who• The person/people who:

• introduced the problem• identified the problem• responded to the problem• debugged the problem• anyone interested

Monday, October 21, 13

Page 29: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

What to discuss

Monday, October 21, 13

Page 30: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

What to discuss• what happened, and when

Monday, October 21, 13

Page 31: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

What to discuss• what happened, and when• assumptions

Monday, October 21, 13

Page 32: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

What to discuss• what happened, and when• assumptions• solutions

Monday, October 21, 13

Page 33: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

What to discuss• what happened, and when• assumptions• solutions• prevention

Monday, October 21, 13

Page 34: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 35: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

“It’s not your fault”

Monday, October 21, 13

Page 36: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Blameless

Monday, October 21, 13

Page 37: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

What to record

Monday, October 21, 13

Page 38: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

What to record• Metrics

Monday, October 21, 13

Page 39: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

What to record• Metrics• Possible investigations

Monday, October 21, 13

Page 40: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

What to record• Metrics• Possible investigations• Possible resolutions

Monday, October 21, 13

Page 41: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

What to record• Metrics• Possible investigations• Possible resolutions• Assumptions

Monday, October 21, 13

Page 42: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

What to record• Metrics• Possible investigations• Possible resolutions• Assumptions• Remediation

Monday, October 21, 13

Page 43: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

So what’s wrong with a wiki?

Monday, October 21, 13

Page 44: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 45: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 46: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 47: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 48: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 49: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 50: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 51: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

What is Morgue?

Monday, October 21, 13

Page 52: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Stack• PHP

• Slim framework

• MySQL• Apache• Twitter bootstrap

Monday, October 21, 13

Page 53: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Current features• General • Etsy

Monday, October 21, 13

Page 54: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Current features• General

• Time calculations

• Etsy

Monday, October 21, 13

Page 55: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Current features• General

• Time calculations

• Severity level

• Etsy

Monday, October 21, 13

Page 56: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Current features• General

• Time calculations

• Severity level

• Timezone support

• Etsy

Monday, October 21, 13

Page 57: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Current features• General

• Time calculations

• Severity level

• Timezone support

• Markdown for “What Happened”

• Etsy

Monday, October 21, 13

Page 58: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Current features• General

• Time calculations

• Severity level

• Timezone support

• Markdown for “What Happened”

• Images

• Etsy

Monday, October 21, 13

Page 59: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Current features• General

• Time calculations

• Severity level

• Timezone support

• Markdown for “What Happened”

• Images

• Tags

• Etsy

Monday, October 21, 13

Page 60: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Current features• General

• Time calculations

• Severity level

• Timezone support

• Markdown for “What Happened”

• Images

• Tags

• History

• Etsy

Monday, October 21, 13

Page 61: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Current features• Etsy• General

• Time calculations

• Severity level

• Timezone support

• Markdown for “What Happened”

• Images

• Tags

• History

Monday, October 21, 13

Page 62: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Current features• Etsy

• Etsystatus time

• General• Time calculations

• Severity level

• Timezone support

• Markdown for “What Happened”

• Images

• Tags

• History

Monday, October 21, 13

Page 63: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Current features• Etsy

• Etsystatus time

• Contact/GCal

• General• Time calculations

• Severity level

• Timezone support

• Markdown for “What Happened”

• Images

• Tags

• History

Monday, October 21, 13

Page 64: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Current features• Etsy

• Etsystatus time

• Contact/GCal

• IRC

• General• Time calculations

• Severity level

• Timezone support

• Markdown for “What Happened”

• Images

• Tags

• History

Monday, October 21, 13

Page 65: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Current features• Etsy

• Etsystatus time

• Contact/GCal

• IRC

• Jira

• General• Time calculations

• Severity level

• Timezone support

• Markdown for “What Happened”

• Images

• Tags

• History

Monday, October 21, 13

Page 66: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Current features• Etsy

• Etsystatus time

• Contact/GCal

• IRC

• Jira

• Forums

• General• Time calculations

• Severity level

• Timezone support

• Markdown for “What Happened”

• Images

• Tags

• History

Monday, October 21, 13

Page 67: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 68: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 69: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 70: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 71: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 72: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 73: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 74: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 75: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 76: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 77: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 78: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 79: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 80: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 81: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 82: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 83: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 84: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 85: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 86: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 87: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 88: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

10/19/2013

Monday, October 21, 13

Page 89: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

10/19/2013

Monday, October 21, 13

Page 90: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 91: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 92: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 93: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 94: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 95: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 96: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13

Page 97: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

How did Morgue help?

Monday, October 21, 13

Page 98: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Severity levels recorded

0

25

50

75

100

P1 P2 P3 P4 P5 No data

Wiki

Monday, October 21, 13

Page 99: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Severity levels recorded

0

25

50

75

100

P1 P2 P3 P4 P5 No data

Wiki Morgue

Monday, October 21, 13

Page 100: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

0

25

50

75

100

Severity Times IRC Remediation Images

Wiki

Monday, October 21, 13

Page 101: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

0

25

50

75

100

Severity Times IRC Remediation Images

Wiki Morgue

Monday, October 21, 13

Page 102: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

What’s the future of Morgue?

Monday, October 21, 13

Page 103: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Feature ideas• Graphs

• by severity• by tags

• Remediation enforcement• Copy to warn “should”s and “could”s

Monday, October 21, 13

Page 104: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

github.com/Etsy/morgue

Monday, October 21, 13

Page 105: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Pull requestswelcome

Monday, October 21, 13

Page 106: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Questions?github.com/Etsy/morgue

@[email protected]

Monday, October 21, 13

Page 107: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Source Credits http://media.heavy.com/media/2013/03/morgue.jpg

http://authorstephanihecht.files.wordpress.com/2012/11/mistake-2.jpg?w=640

http://4.bp.blogspot.com/-A9OibuJMGlM/TfSyX6cMjXI/AAAAAAAAADc/cM4JwCkt1zg/s1600/Good.Will.Hunting.1997.XviD.DTS.CD3-WAF.avi_001529070.jpg

https://www.hackerschool.com/assets/slideshow_01-540531c0d5690f948a4d5d02c5400827.jpg

http://twa2r.files.wordpress.com/2011/01/neo-bullets.jpg

http://commons.wikimedia.org/wiki/File:University-of-Virginia-Rotunda.jpg

http://abovethelaw.com/wp-content/uploads/2012/03/law-school-gavels.jpg

http://nyogalleristny.files.wordpress.com/2012/05/8850-munch-the-scream-e1336013995741.jpg?w=300&h=233

http://smallbizelevator.com/wp-content/uploads/et_temp/stay-handmade-etsy-63270_200x200.jpg

Monday, October 21, 13

Page 108: Morgue , helping better understand events by building a post mortem tool - Bethany Macri

Monday, October 21, 13