SlideShare a Scribd company logo
Time Series Los Angeles Meetup 10/29/19
Nikki Attea
Software Engineer
Sensu Inc.
Testing and monitoring and
broken things
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
nikki.dev @nikkixdev
Building software is easy.
nikki.dev @nikkixdev
nikki.dev @nikkixdev
Testing and monitoring and broken things
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
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
nikki.dev @nikkixdev
Testing and monitoring and broken things
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
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
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
nikki.dev @nikkixdev
nikki.dev @nikkixdev
nikki.dev @nikkixdev
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
workflow?
nikki.dev @nikkixdev
What does this mean for my org?
nikki.dev @nikkixdev
What does this mean for CD?
nikki.dev @nikkixdev
nikki.dev @nikkixdev
datageddon
nikki.dev @nikkixdev
nikki.dev @nikkixdev
nikki.dev @nikkixdev
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
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)
Sensu
Checks
Sensu
StatsD
Server
Testing and monitoring and broken things
Questions?
nikki.dev @nikkixdev

More Related Content

PDF
E bpf and profilers
PDF
Is your kubernetes negative or positive
PDF
Docker New York City: From GitOps to a scalable CI/CD Pattern for Kubernetes
PDF
Containers and Kubernetes without limits
PPTX
GitOps - Modern best practices for high velocity app dev using cloud native t...
PDF
Go for Operations
PDF
Modern Post-Exploitation Strategies - 44CON 2012
PDF
Continuous Lifecycle London 2018 Event Keynote
E bpf and profilers
Is your kubernetes negative or positive
Docker New York City: From GitOps to a scalable CI/CD Pattern for Kubernetes
Containers and Kubernetes without limits
GitOps - Modern best practices for high velocity app dev using cloud native t...
Go for Operations
Modern Post-Exploitation Strategies - 44CON 2012
Continuous Lifecycle London 2018 Event Keynote

What's hot (20)

PDF
Gitops: a new paradigm for software defined operations
PPTX
GitOps w/argocd
PDF
Openshift argo cd_v1_2
PPTX
GitLab for CI/CD process
PDF
Hardening Your CI/CD Pipelines with GitOps and Continuous Security
PDF
GitOps A/B testing with Istio and Helm
PDF
Keptn: Unbreakable Continuous Delivery - Berlin CI/CD Meetup
PDF
GitOps: Git come unica fonte di verità per applicazioni e infrastruttura
PDF
use case ibm k8s_service+devops
PDF
Cicd pixelfederation
PDF
10 Steps to Cloud Happiness
PDF
MesosCon Asia Keynote: Replacing a Jet Engine Mid-flight
PDF
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCD
PDF
DevOps Workshop:Что бывает, когда DevOps приходит на проект
PDF
Free GitOps Workshop + Intro to Kubernetes & GitOps
PDF
Jenkins in the real world - DevOpsCon 2017
PDF
Workshop Azure DevOps Repos
PDF
Paolo Kreth - Persistence layers for microservices – the converged database a...
PDF
Software Supply Chains for DevOps @ InfoQ Live 2021
PPTX
Running Apache Spark on Kubernetes
Gitops: a new paradigm for software defined operations
GitOps w/argocd
Openshift argo cd_v1_2
GitLab for CI/CD process
Hardening Your CI/CD Pipelines with GitOps and Continuous Security
GitOps A/B testing with Istio and Helm
Keptn: Unbreakable Continuous Delivery - Berlin CI/CD Meetup
GitOps: Git come unica fonte di verità per applicazioni e infrastruttura
use case ibm k8s_service+devops
Cicd pixelfederation
10 Steps to Cloud Happiness
MesosCon Asia Keynote: Replacing a Jet Engine Mid-flight
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCD
DevOps Workshop:Что бывает, когда DevOps приходит на проект
Free GitOps Workshop + Intro to Kubernetes & GitOps
Jenkins in the real world - DevOpsCon 2017
Workshop Azure DevOps Repos
Paolo Kreth - Persistence layers for microservices – the converged database a...
Software Supply Chains for DevOps @ InfoQ Live 2021
Running Apache Spark on Kubernetes
Ad

Similar to Testing and monitoring and broken things (20)

PDF
Testing and Monitoring and Broken Things | Nikki Attea | Sensu
PDF
Testing and monitoring and broken things
PDF
Telemetry: The Overlooked Treasure in Axon Server-Centric Applications
PDF
I pushed in production :). Have a nice weekend
PPTX
Sensu Monitoring
PDF
Practice and challenges from building IaaS
PDF
How Sysbee Manages Infrastructures and Provides Advanced Monitoring by Using ...
PDF
Thinking DevOps in the era of the Cloud - Demi Ben-Ari
PDF
Network visibility and control using industry standard sFlow telemetry
PPTX
WTF is Sensu and Monitoring
PDF
Monitoring Big Data Systems - "The Simple Way"
PPTX
The Art of Container Monitoring
PDF
Webinar Monitoring in era of cloud computing
PDF
Functioning incessantly of Data Science Platform with Kubeflow - Albert Lewan...
PDF
OSDC 2014: Christian Kniep - Understand your data center by overlaying multi...
PDF
Monitorama 2015 Netflix Instance Analysis
PPTX
Using InfluxDB for Full Observability of a SaaS Platform by Aleksandr Tavgen,...
PPTX
Cf summit-2016-monitoring-cf-sensu-graphite
POTX
Performance Tuning EC2 Instances
PDF
Monitor Apache Spark 3 on Kubernetes using Metrics and Plugins
Testing and Monitoring and Broken Things | Nikki Attea | Sensu
Testing and monitoring and broken things
Telemetry: The Overlooked Treasure in Axon Server-Centric Applications
I pushed in production :). Have a nice weekend
Sensu Monitoring
Practice and challenges from building IaaS
How Sysbee Manages Infrastructures and Provides Advanced Monitoring by Using ...
Thinking DevOps in the era of the Cloud - Demi Ben-Ari
Network visibility and control using industry standard sFlow telemetry
WTF is Sensu and Monitoring
Monitoring Big Data Systems - "The Simple Way"
The Art of Container Monitoring
Webinar Monitoring in era of cloud computing
Functioning incessantly of Data Science Platform with Kubeflow - Albert Lewan...
OSDC 2014: Christian Kniep - Understand your data center by overlaying multi...
Monitorama 2015 Netflix Instance Analysis
Using InfluxDB for Full Observability of a SaaS Platform by Aleksandr Tavgen,...
Cf summit-2016-monitoring-cf-sensu-graphite
Performance Tuning EC2 Instances
Monitor Apache Spark 3 on Kubernetes using Metrics and Plugins
Ad

Recently uploaded (20)

PPTX
history of c programming in notes for students .pptx
PDF
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Patient Appointment Booking in Odoo with online payment
PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
PDF
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
PDF
Cost to Outsource Software Development in 2025
PDF
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
PDF
Nekopoi APK 2025 free lastest update
PDF
iTop VPN Free 5.6.0.5262 Crack latest version 2025
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Website Design Services for Small Businesses.pdf
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
assetexplorer- product-overview - presentation
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
Advanced SystemCare Ultimate Crack + Portable (2025)
PPTX
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
history of c programming in notes for students .pptx
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
Computer Software and OS of computer science of grade 11.pptx
Navsoft: AI-Powered Business Solutions & Custom Software Development
Patient Appointment Booking in Odoo with online payment
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
Cost to Outsource Software Development in 2025
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
Nekopoi APK 2025 free lastest update
iTop VPN Free 5.6.0.5262 Crack latest version 2025
Operating system designcfffgfgggggggvggggggggg
Website Design Services for Small Businesses.pdf
Wondershare Filmora 15 Crack With Activation Key [2025
assetexplorer- product-overview - presentation
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
CHAPTER 2 - PM Management and IT Context
Design an Analysis of Algorithms I-SECS-1021-03
Advanced SystemCare Ultimate Crack + Portable (2025)
WiFi Honeypot Detecscfddssdffsedfseztor.pptx

Testing and monitoring and broken things