49
Copyright © 2016 Splunk Inc. Listen to Your Machines: DevOps Analytics for Better Feedback Loops Andi Mann, Chief Technology Advocate Splunk @andimann

Listen to Your Machines: DevOps Analytics for Better Feedback Loops

  • Upload
    splunk

  • View
    733

  • Download
    9

Embed Size (px)

Citation preview

Page 1: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Copyright © 2016 Splunk Inc.

Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Andi Mann, Chief Technology AdvocateSplunk@andimann

Page 2: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

‘Known good practices’ for collecting, correlating, and analyzing DevOps data

3

Page 3: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Effective DevOps Practices● Improve collaboration and sharing between dev and ops

● Build trust and accountability between teams

● Break down barriers and improve handoffs between silos

● Establish trust and transparency between Dev. and Ops.

● Streamline flow of code from idea to cash

● Creating feedback loops at every stage

● Focus on impact on business goals and customer experience

4

Page 4: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

FROM EVERY TOOL, EVERY PROCESS, EVERY COMPONENT, ON-PREM OR OFF

One Constant -Machine Data

5

Page 5: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Common Data Fabric

6

APISDKs UI

Server, Storage. N/W

Server Virtualization

Operating Systems

Infrastructure Applications

Mobile Applications Cloud Services

Other ToolsTicketing/Help

Desk

Custom Applications

Visibility Across the Whole Ops Environment

API Services

Page 6: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Common Data Fabric

7

APISDKs UI

Other ToolsEscalation/

Collaboration

Visibility Across the Whole Dev Lifecycle

Plan Code Build Test/QA Stage Release Config Monitor

Page 7: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Important DevOps data and metrics for different DevOps teams

8

Page 8: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Computing UK’s ‘Metrics that Matter’

Source: Computing Research UK, DevOps Review 2016: Accelerating Innovation, July 2016

9

Page 9: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

More DevOps Metrics that Might Matter10

Culturee.g.• Retention• Work hours• Callouts

Processe.g.• Idea-to-cash• MTTR• Deliver time

Qualitye.g.• Tests passed• Tests failed• Best/worst

Systemse.g.• Throughput• Uptime• Build times

Activitye.g.• Commits• Tests run• Releases

Impacte.g.• Signups• Checkouts• Revenue

Page 10: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Specific Metrics For Each Stakeholder11

BizOpsStageBuildSecQADevPMOBiz

• time to deliver• idea to cash• ROI

• process times• team efficiency• unplanned work

• code volume• commit volume• release speed

• test volume• code coverage• exception counts

• access attempts• remediation time• code quality

• build speed• failure rates• manual exceptions

• performance• latency• scalability

• response time• uptime/availability• resource usage

• revenue• signups• satisfaction

Page 11: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Shared Metrics for Multiple Stakeholders12

BizOpsStageBuildSecQADevPMOBiz

• time to deliver

• scalability

• ROI

• time to deliver

• team efficiency

• ROI

• team efficiency

• scalability

• release speed

• remediation time

• code quality

• performance

• remediation time

• code quality

• manual exceptions

• scalability

• performance

• manual exceptions

• release speed

• code quality

• scalability

• remediation time

• performance

• scalability

• performance

• release speed

• ROI

Page 12: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

What About Just Dev and OpsVelocity

time to deploy

time to build

‘idea to customer’

story throughout

build failure rate

Quality

number of defects

downtime per release

code coverage

response time impacts

build failures

Business impact

customer satisfaction

application usage

user signup/cancel

transaction failures

sales volumes

Human impact

employee satisfaction

team productivity

staff retention

work hours

‘work from home’ days

Source: Computing Research UK, DevOps Review 2016: Accelerating Innovation, July 2016

13

Page 13: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

How different orgs and teams benefit from using DevOps data in multiple feedback loops

14

Page 14: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

State of DevOps 2016: ‘Metrics that Matter’15

Source: 2016 State of DevOps Report, DevOps Research and Assessment

Page 15: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Objective data enables continuous improvement

Defect Information

CapacityPlanning

Quality Standards

Enhancement Requests

Integration Requirements

Acceptance Metrics

Service Levels and KPIs

Application Development Test and Acceptance Production

BuildCodePlan Test/QA Stage Release Config Monitor

InfrastructureDependencies

16

Page 16: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Shared Data Helps Find and Fix Issues FasterReal-time dashboards show error rate in production and impact of pushing

new builds

17

Developers can search and visualize web logs, Java logs—without

production access

Alerts notify developers as soon as a problem arises

17

Page 17: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Shared Data Increases App Delivery Velocity

18

DevOps Teams iterate with continuous insights

Product Managers identify new opportunities

Code continuously deliveredto market

Auditorshave visibility

Customersare happy

Page 18: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Shared Data Improves Code Quality

19

Code Quality Scans Static Security Scans

White BoxDevelopers check in code

Automated Acceptance Tests

Dynamic Security Scans

Black Box

“Chaos Monkey” Tests

Test Fail: Return

Test Fail: Return

Production

QA Prod Pattern

QA Pattern Library

Test Pass: Promote

Test Pass: Promote to Production

Pattern library used for test and

QA

Page 19: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Shared Data Aligns DevOps With Business Impact

20

Page 20: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Some Real-World ‘Metrics That Matter’21

“Developers can focus on innovation and not on building monitoring tools.”

“Web Ops can measure performance of releases in pre-prod, prod and in QA.”

“Gather all data, and it starts looking like one big system, instead of a bazillion teeny ones that hate each other.”

“We measure customer sentiment on Google Play in real time and can correlate it with code

releases and app performance.”

Page 21: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Enable Improved DevOps Agility22

Key Customer Benefits

-Robert Gonsalves,Web Operations

“It’s like we were working without peripheral vision before and now we have it.”

• Increased success rate of deployments• Ability to detect issues before they affect broad

production• Monitoring deployment process several times per day

Page 22: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Deliver Better Code Quality23

Key Customer Benefits

-Principal Engineer,Apollo Group

“Developers are now able to look for errors and troubleshoot issues five to 10 times faster by having all their event data centralized in Splunk.”

• Provide full visibility into QA sanity and load testing before production

• Exceed SLA thresholds with full visibility and benchmark key infrastructure metrics and errors

• Easily troubleshoot if tests do not contain the expected results

Page 23: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Enable Data-Driven Continuous Delivery24

-Alison Perkins, Senior Systems Engineer

“Dump all the logs into Splunk, and it starts looking like one big system, instead of a bazillion teeny ones that hate each other.”

Key Customer Benefits • Quickly validate and troubleshoot code pushes to

production• Ensure that new code does not negatively impact

performance or user experience • Reduced one application’s error rate by 2 orders of

magnitude in a matter of weeks

Page 24: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Enable Closer Business-IT Alignment

Allows DevOps to ensure quality of releases & avoid negative impact on service performance.

Analyze which new website features are being adopted, and how, by end users.

Insight fed back into the development cycle to improve customer engagement.

25

Page 25: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Data-oriented service delivery visualization to help leaders see value in opaque DevOps processes

26

Page 26: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Data From Dev and Ops Tools

27

Page 27: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Data From Provisioning and Config

28

Page 28: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Data from Release Servers

29

Page 29: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Data from Infrastructure Systems

30

Page 30: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Data from Database Servers

31

Page 31: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Data From Automation Servers

32

Page 32: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Data From DevOps Systems

33

Page 33: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Advanced analytics to enable data-driven DevOps decisions

34

Page 34: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

DevOps VSM In a Glass Table View – all good

35

Page 35: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Glass Table view – threshold exceeded

36

Page 36: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Deep Dive – Build Service Status

37

Page 37: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Deep Dive – Build Server Error Message

38

Page 38: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Machine-learning & predictive analytics in a DevOps-driven service delivery culture

39

Page 39: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Apply Advanced Algorithms to Your Data

40

Page 40: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Track and Predict Anomalies

41

Page 41: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Summary

42

Page 42: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

FROM EVERY TOOL, EVERY PROCESS, EVERY COMPONENT, ON-PREM OR OFF

One Constant -Machine Data

43

Page 43: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Common Data Fabric

44

APISDKs UI

Server, Storage. N/W

Server Virtualization

Operating Systems

Infrastructure Applications

Mobile Applications Cloud Services

Other ToolsTicketing/Help

Desk

Custom Applications

Visibility Across the Whole Ops Environment

API Services

Page 44: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Common Data Fabric

45

APISDKs UI

Other ToolsEscalation/

Collaboration

Visibility Across the Whole Dev Lifecycle

Plan Code Build Test/QA Stage Release Config Monitor

Page 45: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Code Repository Automation Systems

Application Monitoring

CI/Build Servers

Project & Issue Tracking

Dev/Test/Staging Servers InfrastructureCloud

46

Explore Visualize Customize ShareAnalyze

Common Data Fabric

APISDKs UI

Page 46: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

INCREASE APP DELIVERY VELOCITY

IMPROVE CODE QUALITY

INCREASE BUSINESS IMPACT

Improve the Impact of Application Delivery

47

Page 47: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

For more, please visit Splunk.com • Splunk for DevOps - www.splunk.com/DevOps• Splunk DevOps Ecosystem Apps: splunkbase.splunk.com• Splunk blogs: blogs.splunk.com• Splunk community: www.splunk.com/community• DevOps demo available

Page 48: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Sources/Additional Reading● splunk.com/DevOps - Resources on Splunk for DevOps incl. case studies, customer stories, partners, products, videos, etc.

● dev.splunk.com – Resources for developing with or on ther Splunk platform, incl. SDKs, API Docs, guides, etc.

● blogs.splunk.com – Check the ‘DevOps’ and ‘Ansible’ tags for specifics, including how to deploy Spunk w/ Ansible

● splunkbase.splunk.com – Splunk add-ons and applications incl. Ansible Tower App for Splunk and 1000+ more

● DevOps Review 2016: Accelerating Innovation, Computing Research UK, July 2016

● 2016 State of DevOps Report, DevOps Research and Assessment

● The DevOps Cookbook, John Allspaw, Patrick Debois, Damon Edwards, Jez Humble, Gene Kim, Mike Orzen, and John Willis

● The Phoenix Project, Gene Kim, Kevin Behr, George Spafford

● Data-Driven DevOps: Use Metrics to Help Guide Your Journey, Gartner Inc. 2014, Cameron Haight and Tapati Bandopadhyay

● Metrics that Matter, Mark Michaelis, IntelliTect

● DevOps and the Cost of Downtime: Fortune 1000, IDC

● DevOps Best Practice Metrics: Fortune 1000 Survey, IDC, 2014

● The Seven Habits Of Highly Effective DevOps, Forrester Research, Inc., October 2, 2014

49

Page 49: Listen to Your Machines: DevOps Analytics for Better Feedback Loops

Thank You