going beyond the device heart beat

Post on 15-Apr-2017

421 Views

Category:

Software

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Going Beyond the Device Heart Beat Balwinder Kaur, Principal Software EngineerOpenIoTSummit, San Diego, Apr 4, 2016

Copyright © 2015 AppDynamics. All rights reserved. 2

Agenda

• Introduction• The Basics• An IoT World

o Device Visibilityo Application Visibility

• Best Practices for End to End Performance Monitoring• Unique Challenges of IoT• Q&A• Summary

Disclaimer"Opinions expressed are solely my own and do not express the views or opinions of my employer."

Introduction

Copyright © 2015 AppDynamics. All rights reserved. 4

Connected Things Disrupt Business Models

Oslo Smart Lighting

Copyright © 2015 AppDynamics. All rights reserved. 5

“IoT devices directly, or indirectly, impact the

bottom line of a business."

Copyright © 2015 AppDynamics. All rights reserved. 6

Making the headlines

Copyright © 2015 AppDynamics. All rights reserved. 7

How do I prevent an NYT moment?

The Basics

The Device

Copyright © 2015 AppDynamics. All rights reserved. 10

What is an IoT Device?

Traditional Embedded Device+

Connectivity+

Cloud Services

Copyright © 2015 AppDynamics. All rights reserved. 11

Are all IoT “Things” equal?

• No• A very fragmented space• Classify to manage

GatewayEndpoints

w/ Routing

Endpoints w/o

RoutingSensor Rich |Touches the Physical WorldDigital

The Cloud

Copyright © 2015 AppDynamics. All rights reserved. 13

IT Teams Monitor Cloud Services

Infrastructure Monitoring• Server Monitoring• Network Monitoring

Application Performance Monitoring (APM) Systems

• Web applications & containers• Database Performance• Byte Code Injection is popular

Log Files Crash Reports

Copyright © 2015 AppDynamics. All rights reserved. 14

Application Performance Monitoring System

“One of the most important steps in any application performance monitoring initiative is combining data from disparate monitoring "silos" into a correlation engine and dashboard. The dashboard makes data logs easier to read and saves IT staff from memory-dependent and error-prone manual correlation and analysis.”

• Source: http://searchenterprisedesktop.techtarget.com/definition/Application-monitoring-app-monitoring

An IoT World

End to End IoT Solution Architecture Diagram

Copyright © 2015 AppDynamics. All rights reserved. 17

End to End Monitoring

• Performance monitoring must be extended to cover the IoT Devices

IoT Device Cloud Services

End to End Reliability

Device Visibility

Copyright © 2015 AppDynamics. All rights reserved. 19

IoT Device Visibility

Device Management

Systems

Device Management

Device Health

Application Performance Management

Application Health(on device)

Application Health(transactions)

Not operational

data

On device; closely related

Main Focus Area

Copyright © 2015 AppDynamics. All rights reserved. 20

Device Health

System Performance CPU Usage Memory Usage Power Level Uptime Disk I/O Network Health Location Information

Fast Moving Data

Device Configuration OS Model Manufacturer Hardware, Firmware, S/W

Version

Slow Moving Data

Application Visibility

Copyright © 2015 AppDynamics. All rights reserved. 22

IoT Device Cloud Services

End to End Reliability

Application Transaction Health

1) Calls per minute2) Errors per minute

3) Latency (in milliseconds)4) Crash Reporting

Measurement Metrics

Copyright © 2015 AppDynamics. All rights reserved. 23

Two Classes of Problems

Transaction Health is good Device Health is

deteriorating

Device Health is good. Transaction Health is poor

Network Problems S/W Version mismatch S/W- H/W version mismatch

Device Management System Application Performance Management Systems

Copyright © 2015 AppDynamics. All rights reserved. 24

Key Performance Indicator - MTTR

.

Trapped Metrics

Manual Correlation

ManualRemediation

Major Reasons Contributing to a Poor MTTR (Mean-Time-to-Resolution)

Gap between

Operations and

Engineering

Copyright © 2015 AppDynamics. All rights reserved. 25

Unified Dashboard

Unified Monitoring

Device Health Application HealthInfrastructure Health

IoT Device Cloud Services

Device Management Systems APM Systems

End-to-End Performance MonitoringBest Practices for IoT

Copyright © 2015 AppDynamics. All rights reserved. 27

Top Five Features

Performance

Correlation

Remediation

Analytics

Availability

Copyright © 2015 AppDynamics. All rights reserved. 28

Device Side Instrumentation

Capture and report Device Metrics

Capture and report Device Events

Copyright © 2015 AppDynamics. All rights reserved. 29

Unified Monitoring System

AggregatesMetrics and Events

Correlates Events Alerts Remediates

Unique Challenges that IoT brings(aka devil is in the details)

Copyright © 2015 AppDynamics. All rights reserved.

30

Copyright © 2015 AppDynamics. All rights reserved. 31

Choosing Instrumentation Agents for IoT Devices

Web Agent Embedded Agent

Message Payload Format JSON ProtoBuf, CBOR. BSON

Application Layer HTTP/HTTPS MQTT/MQTT-SN, CoAP

Security TLS DTLS

Transport Layer TCP/UDP UDP

Network Layer IPv4/IPv6 IPv6/ 6LowPAN

Link Layer Ethernet, 802.11 802.15.4

Copyright © 2015 AppDynamics. All rights reserved. 32

Choosing Instrumentation Agents for IoT Devices (contd)

• Small static and runtime memory footprint• Small disk usage. • Meets or exceeds security requirements of the

IoT Device• Support for your favorite programming

language.

Copyright © 2015 AppDynamics. All rights reserved. 33

Open Source Solutions

• Prometheus.io :Open-source service monitoring system & time series database• Influxdata.com: Platform for managing, storing and visualizing time series data• Graphite : Real-time graphing system for numeric time-series data.• Graphana: Popular visualization library for multiple Time Series backends.

• Plethora of open source tools to monitor performance or Device Healtho top, vmstat, lsof, tcpdump , htop, iotop, monit, nagios, vmstat,

perf_events• Tracing Tools like dtrace, LTTng (Open source tracing framework for Linux.)

Questions, Comments or Feedback

Copyright © 2015 AppDynamics. All rights reserved.

34

SUMMARY

Copyright © 2015 AppDynamics. All rights reserved.

35

Best Practices

Monitor Device Health Understand what device data is important Understand what device applications are important Monitor End Devices and Gateways Monitor Application Transactions Health Monitor Cloud Services Embedded Agents should meet power, security and privacy requirements Unified View of the world reduces MTTR

Copyright © 2015 AppDynamics. All rights reserved. 37

A Heart Beat is Important.But do not be on Life Support.

Stay IoT Healthy!balwinder.kaur@appdynamics.com

Thank You

Copyright © 2015 AppDynamics. All rights reserved.

38

top related