18
Infrastructure Testing with Sensu and RSpec Ben Snape

Infrastructure Testing with Sensu and RSpec

Embed Size (px)

Citation preview

Page 1: Infrastructure Testing with Sensu and RSpec

Infrastructure Testing with Sensu and RSpec

Ben Snape

Page 2: Infrastructure Testing with Sensu and RSpec

Agenda● Me● ITV● Why● What● How

Page 3: Infrastructure Testing with Sensu and RSpec

Me● Developer in Test● Platform Engineer● Ruby, Puppet, Git, AWS

http://bensnape.com

Page 4: Infrastructure Testing with Sensu and RSpec

ITV is the largest FTA commercial broadcaster in the UK, largest creator of unscripted content in the US, has 99.8% of all UK programmes with audiences of 5m or more

£2.5bn Revenue £1bn on new commissions

Distributed to 20 platforms including Sky,

BT and ITV Player

3,500 hours of original programming

Page 5: Infrastructure Testing with Sensu and RSpec

The ProblemBusiness & Engineering Operations

Page 6: Infrastructure Testing with Sensu and RSpec

● brings the team closer together● increased understanding● feedback loop● scalability

Why have monitoring?

Page 7: Infrastructure Testing with Sensu and RSpec

Shared Responsibility

Page 8: Infrastructure Testing with Sensu and RSpec
Page 9: Infrastructure Testing with Sensu and RSpec

What is monitoring?

Logging MetricsAlerting

Page 10: Infrastructure Testing with Sensu and RSpec
Page 11: Infrastructure Testing with Sensu and RSpec

LoggingELK stack

storage collection / transformation

visualisation

Page 12: Infrastructure Testing with Sensu and RSpec

Metrics

storage / API visualisation

Page 13: Infrastructure Testing with Sensu and RSpec

Alerting

Page 14: Infrastructure Testing with Sensu and RSpec

Sensu Infrastructure

Page 15: Infrastructure Testing with Sensu and RSpec

Infrastructure Tests

Page 16: Infrastructure Testing with Sensu and RSpec

Demo

https://github.com/bsnape/sensu-rspec-integration

Page 17: Infrastructure Testing with Sensu and RSpec
Page 18: Infrastructure Testing with Sensu and RSpec