(R)Evolutionize APM - APM in Continuous Delivery and DevOps

55
1 #Dynatrace APM in Continuous Delivery and DevOps (R)Evolutionize APM

Transcript of (R)Evolutionize APM - APM in Continuous Delivery and DevOps

1 #Dynatrace

APM in Continuous Delivery and DevOps

(R)Evolutionize APM

2 #Dynatrace

Insertimage here Martin Etmajer

Senior Technology Strategist at Dynatrace

[email protected]

@metmajer

3 #Dynatrace

Do we have a Software Crisis?

4 #Dynatrace

» projects running over-budget

» projects running over-time

» software was very inefficient

» software was of low quality

» software often did not meet requirements

» code was complex and difficult to maintain

» software was often never delivered

The “Software Crisis” as of 1968

5 #Dynatrace

» projects running over-budget

» projects running over-time

» software was very inefficient

» software was of low quality

» software often did not meet requirements

» code was complex and difficult to maintain

» software was often never delivered

The “Software Crisis” as of 1968 today?

6 #Dynatrace

Status Quo: The CHAOS Manifesto 2013

7 #Dynatrace

Status Quo: The CHAOS Manifesto 2013

8 #Dynatrace

Why can’t making Softwarebe more like building Bridges?

9 #Dynatrace

How to ignore an Undesirable Situation

Hear no failure

See no failure

Speak no failure

10 #Dynatrace

Houston, we have a Problem! My Problem?

11 #Dynatrace

“We need to create a culture that reinforces the value of taking risks and learning from failure and the need for repetition and practice to create mastery.” Gene Kim, The Phoenix Project

A key-principle of DevOps

12 #Dynatrace

Because you don’t want this...

13 #Dynatrace

Unless you workfor the competition

14 #Dynatrace

15 #Dynatrace

16 #Dynatrace

...and certainly not this...

17 #Dynatrace

18 #Dynatrace

How to Improve?

19 #Dynatrace

Agile and Lean Practices to the Rescue

Continuous Delivery

DevOps

Source: Google Trends

20 #Dynatrace

Agile and Lean Practices to the Rescue

Continuous DeliveryDevOps

Source: Google Trends

SCRUM

21 #Dynatrace

(Very) Recommended Readings

Reliable Software Releases throughBuild, Test and Deployment Automation

22 #Dynatrace

The Utmost Goal: Minimize Lead Time

feature lead time time

Customer Users

23 #Dynatrace

The Utmost Goal: Minimize Lead Time

feature lead time time

Customer minimize Users

24 #Dynatrace

The Utmost Goal: Minimize Lead Time

feature lead time time

Customer

You

This is when youcreate value!

minimize

25 #Dynatrace

Use Case I:Uncover Issues (Pro)ActivelyBefore they affect your Users

26 #Dynatrace

Rate of Diminishing Returns of Fixing Bugs

Developers shouldnot spend time here!

Low yield!

Concentrate on these!Concentrate on these!Concentrate on these!

27 #Dynatrace

A Project Little Helper: Kanban Board

Shows WIP

Tasks

28 #Dynatrace

Implement and Test...

29 #Dynatrace

Dynatrace in Automated Testing

12 0 120ms

3 1 68ms

Build 20 testPurchase OK

testSearch OK

Build 17 testPurchase OK

testSearch OK

Build 18 testPurchase FAILED

testSearch OK

Build 19 testPurchase OK

testSearch OK

Build # Test Case Status # SQL # Exceptions CPU

12 0 120ms

3 1 68ms

12 5 60ms

3 1 68ms

75 0 230ms

3 1 68ms

Test Framework Results Architectural Data

Regression!

Problem solved!

Exceptions probably reasonfor failed tests

Problem fixed but now we have an architectural regression

Problem fixed but now we have an architectural regression!Now we have the functional and

architectural confidence

Let’s look behind the scenes

30 #Dynatrace

31 #Dynatrace

#1: Analyze each Test

#2: Metrics for each Test

#3: Regression Detection

based on Metric

32 #Dynatrace

Allow Metricsto fail builds?

Dynatrace Test Automation Plugin for Jenkins

33 #Dynatrace

High-level KPIsper Build

Trending

Test Results@Project Level

Dynatrace Test Automation Plugin for Jenkins

34 #Dynatrace

Use Case II:Uncover Issues (Re)ActivelyAfter they affected your Users

35 #Dynatrace

Do we still need War Rooms?

36 #Dynatrace

“I’ve muddled over the same log files for weeks sometimesto extrapolate the relationships between different systems[...] before having my eureka moment.”

RecklessKelly (Operator) on reddit

37 #Dynatrace

Can we do Better?

38 #Dynatrace

39 #Dynatrace

Host Health?

40 #Dynatrace

41 #Dynatrace

42 #Dynatrace

Transactions Health?

43 #Dynatrace

Relevance?

44 #Dynatrace

45 #Dynatrace

Dynatrace Session File

46 #Dynatrace

Get Everyone into a War Room?

47 #Dynatrace

Get Everyone into a War Room?

NO!

48 #Dynatrace

Instead?

49 #Dynatrace

Takeaways?

50 #Dynatrace

Takeaways?

51 #Dynatrace

Takeaways?

52 #Dynatrace

Takeaways?

53 #Dynatrace

» identified whether it’s been the host, process or transactions

» identified which critical business functionality was affected

» been able to prioritze the failure and secure evidence

» gotten the right people on the same table

» taken minutes, not weeks!

Awesome! We have...

54 #Dynatrace

Thank you!

55 #Dynatrace