SlideShare a Scribd company logo
InfluxDays SF 2019
Nikki Attea
Software Engineer
Sensu Inc.
Testing and monitoring and
broken things
Hi, I’m Nikki.
- 🏐🏖
- 🍷🍺
- 🐶🐶
nikki.dev @nikkixdev
Hi, I’m Nikki.
- 🏐🏖
- 🍷🍺
- 🐶🐶
nikki.dev @nikkixdev
Hi, I’m Nikki.
- 🏐🏖
- 🍷🍺
- 🐶🐶
nikki.dev @nikkixdev
How does
work?
Sensu is the original monitoring event pipeline.
Events
Sensu Event Pipeline
Filter Transform Handler
nikki.dev @nikkixdev
How does
work?
Sensu is the original monitoring event pipeline.
Events
Sensu Event Pipeline
Filter Transform Handler
nikki.dev @nikkixdev
nikki.dev @nikkixdev
Building software is easy.
nikki.dev @nikkixdev
nikki.dev @nikkixdevnikki.dev @nikkixdev
Testing and Monitoring and Broken Things | Nikki Attea | Sensu
Building software is easy.
nikki.dev @nikkixdev
Building software is easy.
Shipping software is hard.
nikki.dev @nikkixdev
Releases should be simple,
reliable, and reproducible.
nikki.dev @nikkixdev
Testing and Monitoring and Broken Things | Nikki Attea | Sensu
Releases were complex,
chaotic, and inconsistent.
nikki.dev @nikkixdev
#1: Eliminate bias by adding
instruction.
#2: Define acceptance criteria.
#3: Automate, but don’t
over-automate.
#4: Implement test case
management.
#5: Hire employees with
diverse experience.
nikki.dev @nikkixdev
#1: Eliminate bias by adding
instruction.
#2: Define acceptance criteria.
#3: Automate, but don’t
over-automate.
#4: Implement test case
management.
#5: Hire employees with
diverse experience.
nikki.dev @nikkixdev
nikki.dev @nikkixdev
Testing and Monitoring and Broken Things | Nikki Attea | Sensu
TESTING ,
MONITORING,
-NIKKI ATTEA
nikki.dev @nikkixdev
Tests fail when an assertion in
our code breaks.
Tests fail when an assertion in
our code breaks.
Monitoring detects and alerts
us when our system breaks.
nikki.dev @nikkixdev
nikki.dev @nikkixdev
monitoring
testing breakage
nikki.dev @nikkixdev
monitoring
testing breakage
nikki.dev @nikkixdev
monitoring
testing breakage
systems/infrastructure
code/product
nikki.dev @nikkixdev
monitoring
testing breakage
systems/infrastructure
code/product
nikki.dev @nikkixdev
monitoring
testing breakage
systems/infrastructure
code/product
nikki.dev @nikkixdev
monitoring
testing breakage
systems/infrastructure
code/product
nikki.dev @nikkixdev
monitoring
testing breakage
systems/infrastructure
code/product
state
nikki.dev @nikkixdev
monitoring
testing breakage
systems/infrastructure
code/product
state
nikki.dev @nikkixdev
bonsai.sensu.io/assets/nikkixdev/sensu-serverspec-events
github.com/nikkixdev/sensu-serverspec-events
nikki.dev @nikkixdev
nikki.dev @nikkixdev
Stop! Demo time!
nikki.dev @nikkixdev
Stop! Demo time!
nikki.dev @nikkixdevnikki.dev @nikkixdev
nikki.dev @nikkixdevnikki.dev @nikkixdev
nikki.dev @nikkixdevnikki.dev @nikkixdev
nikki.dev @nikkixdevnikki.dev @nikkixdev
nikki.dev @nikkixdev
What’s next?
nikki.dev @nikkixdev
What’s next?
nikki.dev @nikkixdev
What does this mean for your org?
nikki.dev @nikkixdev
What does this mean for your org?
nikki.dev @nikkixdev
What does this mean for your
workflow?
nikki.dev @nikkixdev
What does this mean for my org?
nikki.dev @nikkixdev
What does this mean for my org?
nikki.dev @nikkixdev
What does this mean for CD?
nikki.dev @nikkixdevnikki.dev @nikkixdev
nikki.dev @nikkixdevnikki.dev @nikkixdev
datageddon
nikki.dev @nikkixdevnikki.dev @nikkixdevnikki.dev @nikkixdev
nikki.dev @nikkixdev
nikki.dev @nikkixdevnikki.dev @nikkixdev
nikki.dev @nikkixdevnikki.dev @nikkixdev
Time-series database
InfluxDB
Record
Data visualization
Grafana
Visualize
Monitoring event pipeline
Sensu
Collect
nikki.dev @nikkixdev
Time-series database
InfluxDB
Record
Data visualization
Grafana
Visualize
Monitoring event pipeline
Sensu
Collect
nikki.dev @nikkixdev
Application
Performance
Monitoring
Metric Aggregation Service Checks
Network
& Infrastructure
Monitoring
nikki.dev @nikkixdev
Application
Performance
Monitoring
Metric Aggregation Service Checks
Network
& Infrastructure
Monitoring
nikki.dev @nikkixdev
kube-apiserver-node-01 cpu=16.4 1550625843
InfluxDB
influxdb_line
CPU ok - CPU = 16.4 | kube-apiserver-node-01.cpu=16.4
Nagios
nagios_perfdata
kube-apiserver-node-01.cpu 16.4 1550625843
Graphite
graphite_plaintext
kube-apiserver-node-01.cpu 1550625843 16.4
OpenTSDB
opentsdb_line
nikki.dev @nikkixdev
---
type: CheckConfig
api_version: core/v2
metadata:
name: check-cpu-influxdb
namespace: default
spec:
command: check-cpu.sh
interval: 10
subscriptions:
- metrics
output_metric_format: influxdb_line
output_metric_handlers:
- influxdb
Sensu Check Configuration and Event Data
---
type: Event
api_version: core/v2
spec:
check:
metadata:
name: check-cpu-influxdb
output: kube-apiserver-node-01 cpu=16.4 1550625843
metrics:
handlers:
- influxdb
points:
- name: kube-apiserver-node-01.cpu
value: 16.4
timestamp: 1550625843
docs.sensu.ioecho $(hostname) cpu=$(ps -A -o %cpu | awk '{s+=$1} END {print s}') $(date +%s)
check-cpu.sh
---
type: Handler
api_version: core/v2
metadata:
namespace: default
name: influxdb
spec:
type: pipe
command: sensu-influxdb-handler -d sensu
env_vars:
- INFLUXDB_ADDR=http://influxdb.default.local:8086
- INFLUXDB_USER=sensu
- INFLUXDB_PASS=password
filters:
- has_metrics
Insert time series-database here, seriously
github.com/sensu/sensu-influxdb-handler
---
type: Event
api_version: core/v2
spec:
check:
metadata:
name: check-cpu-influxdb
output: kube-apiserver-node-01 cpu=16.4 1550625843
metrics:
handlers:
- influxdb
points:
- name: kube-apiserver-node-01.cpu
value: 16.4
timestamp: 1550625843
The monitoring event pipeline
The Sensu Go agent is a powerful cross-platform event producer.
Sensu Event Pipeline
Filter HandlerTransform
Sensu Client
Events
Agent
(event
producer)
Nagios Plugin
(service check)
StatsD Metrics
(instrumentation
library)
Prometheus
(/metrics endpoint)
The monitoring event pipeline
The Sensu Go agent is a powerful cross-platform event producer.
Sensu Event Pipeline
Filter HandlerTransform
Sensu Client
Events
Agent
(event
producer)
Nagios Plugin
(service check)
StatsD Metrics
(instrumentation
library)
Prometheus
(/metrics endpoint)
Sensu
Checks
Sensu
StatsD
Server
Testing and Monitoring and Broken Things | Nikki Attea | Sensu
Questions?
nikki.dev @nikkixdev

More Related Content

PDF
Streaming Sensor Data with Grafana and InfluxDB | Ryan Mckinley | Grafana
PDF
Kapacitor Stream Processing
PPTX
Running Apache Spark on Kubernetes
PDF
Building Notebook-based AI Pipelines with Elyra and Kubeflow
PDF
Virtual training intro to InfluxDB - June 2021
PDF
Time Series Tech Stack for the IoT Edge
PPTX
WHODIS_kearns_presentation.v0a
PDF
INSTALLING THE TICK STACK AND YOUR FIRST QUERY
Streaming Sensor Data with Grafana and InfluxDB | Ryan Mckinley | Grafana
Kapacitor Stream Processing
Running Apache Spark on Kubernetes
Building Notebook-based AI Pipelines with Elyra and Kubeflow
Virtual training intro to InfluxDB - June 2021
Time Series Tech Stack for the IoT Edge
WHODIS_kearns_presentation.v0a
INSTALLING THE TICK STACK AND YOUR FIRST QUERY

What's hot (20)

PDF
Digital Transformation & Solvency II Simulations for L&G: Optimizing, Acceler...
 
PPTX
Scaling Your Skillset with Your Data with Jarrett Garcia (Nielsen)
PDF
What is CRATE?
PPTX
IPC Global Big Data To Decision Solution Overview
PDF
Transforming Devon’s Data Pipeline with an Open Source Data Hub—Built on Data...
PDF
Big data at AWS Chicago User Group - 2014
PDF
NetApp By The Numbers
PPTX
BeakerX - Tiezheng Li
PDF
Open Source Operations
PDF
NetApp Flash Storage Facts
PDF
Kubernetes: Managed or Not Managed?
PPTX
REX: Cloud Native Apps on a K8S stack
PPTX
Keep Calm and Distributed Tracing
PDF
Building a Streaming Data Pipeline for Trains Delays Processing
PDF
Resistance is futile, resilience is crucial
PDF
Spark en prod, Cloud Ready !
PDF
Rounds analytics pipeline
PPTX
Lessons Learned in Deploying the ELK Stack (Elasticsearch, Logstash, and Kibana)
PDF
Big data, Cloud, and the NOAA CRADA at The Climate Corporation
PDF
Cassandra Day London 2015: British Gas Connected Homes: 5 Things We Wish We H...
Digital Transformation & Solvency II Simulations for L&G: Optimizing, Acceler...
 
Scaling Your Skillset with Your Data with Jarrett Garcia (Nielsen)
What is CRATE?
IPC Global Big Data To Decision Solution Overview
Transforming Devon’s Data Pipeline with an Open Source Data Hub—Built on Data...
Big data at AWS Chicago User Group - 2014
NetApp By The Numbers
BeakerX - Tiezheng Li
Open Source Operations
NetApp Flash Storage Facts
Kubernetes: Managed or Not Managed?
REX: Cloud Native Apps on a K8S stack
Keep Calm and Distributed Tracing
Building a Streaming Data Pipeline for Trains Delays Processing
Resistance is futile, resilience is crucial
Spark en prod, Cloud Ready !
Rounds analytics pipeline
Lessons Learned in Deploying the ELK Stack (Elasticsearch, Logstash, and Kibana)
Big data, Cloud, and the NOAA CRADA at The Climate Corporation
Cassandra Day London 2015: British Gas Connected Homes: 5 Things We Wish We H...
Ad

Similar to Testing and Monitoring and Broken Things | Nikki Attea | Sensu (20)

PDF
Testing and monitoring and broken things
PDF
Testing and monitoring and broken things
PDF
DevSecOps Singapore 2017 - Security in the Delivery Pipeline
PDF
SDCSB Advanced Tutorial: Reproducible Data Visualization Workflow with Cytosc...
PDF
Jenkins User Conference 2014
PDF
Prepare to defend thyself with Blue/Green
PDF
All Day DevOps 2016 Fabian - Defending Thyself with Blue Green
ODP
Nagios Conference 2011 - Mike Guthrie - Exploring Nagios Visualization Tools
PDF
Productionize spark structured streaming
PDF
How to build a social network on serverless
PDF
3h à l'assaut d'une application réactive - Devoxx 2015
PDF
stackconf 2021 | Continuous Security – integrating security into your pipelines
PDF
Lessons Learned from 2000 Event Driven Microservices - Reversim
PDF
DevSum - Lessons Learned from 2000 microservices
PDF
Wix+Confluent Meetup - Lessons Learned from 2000 Event Driven Microservices
PDF
GeeCon - Lessons Learned from 2000 microservices
PPTX
Vision pk1
PDF
BuildStuff - Lessons Learned from 2000 Event Driven Microservices
PDF
Pipeline as code for your infrastructure as Code
PDF
How to build a social network on Serverless (AWS Community Summit)
Testing and monitoring and broken things
Testing and monitoring and broken things
DevSecOps Singapore 2017 - Security in the Delivery Pipeline
SDCSB Advanced Tutorial: Reproducible Data Visualization Workflow with Cytosc...
Jenkins User Conference 2014
Prepare to defend thyself with Blue/Green
All Day DevOps 2016 Fabian - Defending Thyself with Blue Green
Nagios Conference 2011 - Mike Guthrie - Exploring Nagios Visualization Tools
Productionize spark structured streaming
How to build a social network on serverless
3h à l'assaut d'une application réactive - Devoxx 2015
stackconf 2021 | Continuous Security – integrating security into your pipelines
Lessons Learned from 2000 Event Driven Microservices - Reversim
DevSum - Lessons Learned from 2000 microservices
Wix+Confluent Meetup - Lessons Learned from 2000 Event Driven Microservices
GeeCon - Lessons Learned from 2000 microservices
Vision pk1
BuildStuff - Lessons Learned from 2000 Event Driven Microservices
Pipeline as code for your infrastructure as Code
How to build a social network on Serverless (AWS Community Summit)
Ad

More from InfluxData (20)

PPTX
Announcing InfluxDB Clustered
PDF
Best Practices for Leveraging the Apache Arrow Ecosystem
PDF
How Bevi Uses InfluxDB and Grafana to Improve Predictive Maintenance and Redu...
PDF
Power Your Predictive Analytics with InfluxDB
PDF
How Teréga Replaces Legacy Data Historians with InfluxDB, AWS and IO-Base
PDF
Build an Edge-to-Cloud Solution with the MING Stack
PDF
Meet the Founders: An Open Discussion About Rewriting Using Rust
PDF
Introducing InfluxDB Cloud Dedicated
PDF
Gain Better Observability with OpenTelemetry and InfluxDB
PPTX
How a Heat Treating Plant Ensures Tight Process Control and Exceptional Quali...
PDF
How Delft University's Engineering Students Make Their EV Formula-Style Race ...
PPTX
Introducing InfluxDB’s New Time Series Database Storage Engine
PDF
Start Automating InfluxDB Deployments at the Edge with balena
PDF
Understanding InfluxDB’s New Storage Engine
PDF
Streamline and Scale Out Data Pipelines with Kubernetes, Telegraf, and InfluxDB
PPTX
Ward Bowman [PTC] | ThingWorx Long-Term Data Storage with InfluxDB | InfluxDa...
PDF
Scott Anderson [InfluxData] | New & Upcoming Flux Features | InfluxDays 2022
PDF
Steinkamp, Clifford [InfluxData] | Closing Thoughts | InfluxDays 2022
PDF
Steinkamp, Clifford [InfluxData] | Welcome to InfluxDays 2022 - Day 2 | Influ...
PDF
Steinkamp, Clifford [InfluxData] | Closing Thoughts Day 1 | InfluxDays 2022
Announcing InfluxDB Clustered
Best Practices for Leveraging the Apache Arrow Ecosystem
How Bevi Uses InfluxDB and Grafana to Improve Predictive Maintenance and Redu...
Power Your Predictive Analytics with InfluxDB
How Teréga Replaces Legacy Data Historians with InfluxDB, AWS and IO-Base
Build an Edge-to-Cloud Solution with the MING Stack
Meet the Founders: An Open Discussion About Rewriting Using Rust
Introducing InfluxDB Cloud Dedicated
Gain Better Observability with OpenTelemetry and InfluxDB
How a Heat Treating Plant Ensures Tight Process Control and Exceptional Quali...
How Delft University's Engineering Students Make Their EV Formula-Style Race ...
Introducing InfluxDB’s New Time Series Database Storage Engine
Start Automating InfluxDB Deployments at the Edge with balena
Understanding InfluxDB’s New Storage Engine
Streamline and Scale Out Data Pipelines with Kubernetes, Telegraf, and InfluxDB
Ward Bowman [PTC] | ThingWorx Long-Term Data Storage with InfluxDB | InfluxDa...
Scott Anderson [InfluxData] | New & Upcoming Flux Features | InfluxDays 2022
Steinkamp, Clifford [InfluxData] | Closing Thoughts | InfluxDays 2022
Steinkamp, Clifford [InfluxData] | Welcome to InfluxDays 2022 - Day 2 | Influ...
Steinkamp, Clifford [InfluxData] | Closing Thoughts Day 1 | InfluxDays 2022

Recently uploaded (20)

PPTX
A Presentation on Touch Screen Technology
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Encapsulation theory and applications.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Approach and Philosophy of On baking technology
PDF
Hybrid model detection and classification of lung cancer
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Chapter 5: Probability Theory and Statistics
PDF
A novel scalable deep ensemble learning framework for big data classification...
PPTX
Tartificialntelligence_presentation.pptx
PDF
Hindi spoken digit analysis for native and non-native speakers
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Zenith AI: Advanced Artificial Intelligence
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
August Patch Tuesday
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
A Presentation on Touch Screen Technology
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
A comparative study of natural language inference in Swahili using monolingua...
Encapsulation theory and applications.pdf
Programs and apps: productivity, graphics, security and other tools
Approach and Philosophy of On baking technology
Hybrid model detection and classification of lung cancer
Digital-Transformation-Roadmap-for-Companies.pptx
Unlocking AI with Model Context Protocol (MCP)
Chapter 5: Probability Theory and Statistics
A novel scalable deep ensemble learning framework for big data classification...
Tartificialntelligence_presentation.pptx
Hindi spoken digit analysis for native and non-native speakers
Group 1 Presentation -Planning and Decision Making .pptx
NewMind AI Weekly Chronicles - August'25-Week II
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Zenith AI: Advanced Artificial Intelligence
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
August Patch Tuesday
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx

Testing and Monitoring and Broken Things | Nikki Attea | Sensu