SlideShare a Scribd company logo
1 of 66
Real-Time-Monitoring


Max Köhler I 9. Feb. 2012




                            © 2012 Mayflower GmbH
Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 2
Real-Time-Monitoring
... what ?
monitoring sucks



            Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 5
„
    But does monitoring
       REALLY suck?


                 Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 6
...



      Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 7
„
Yes, yes i know:
       You can just combine Nagios + collectd + graphite +
       pnp4nagios an you have everything you need!
                               ...




                                           Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 8
„
Seriously? Kiss my ass. I‘m a huge fan of the Unix pipeline
philosophy but, crhist, have you ever heard the phrase
„antipattern“?
                                                                               - John E. Vincent




http://lusislog.blogspot.com/2011/06/why-monitoring-sucks.html

                                                                 Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 9
https://github.com/monitoringsucks




                      Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 10
monitoring sucks



            Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 11
monitoring sucks



            Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 11
monitoring sucks
                 is fun




            Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 11
it's all about ...



              Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 12
Making Decisions



           Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 13
Making Decisions



           Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 14
How many users are using
     feature xyz ?


               Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 15
Feature #xyz


34%
          Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 16
Did we make it faster?



               Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 17
base          feature xyz

400ms

300ms

200ms

100ms

 0ms
        5.2     6.2   7.2             8.2                         9.2

                               Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 18
No !

       Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 19
Can we deploy that
   for all users?


            Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 20
Did we break
 something?


         Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 21
events / sec

60

45

30

15

 0
  14:00   15:00       16:00          17:00                        18:00

                                 Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 22
Yes !

        Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 23
Will we even notice?



              Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 24
Real-Time-Monitoring I   Mayflower GmbH I 9. Feb 2012 I 25
Changes




          http://www.flickr.com/photos/addrox/2587484034/sizes/m/in/photostream/

                             Real-Time-Monitoring I   Mayflower GmbH I 9. Feb 2012 I 26
Monitor!
Monitor!
Monitor!
„If you can not measure it,
 you can not improve it!“




                                                    Lord Kelvin

                       Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 28
DevOp



                                                       bingo ;)

        Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 29
Access
                Yes                                             No




http://www.flickr.com/photos/mogwai_83/3022261893/

                                                     Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 30
Tooling



          Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 31
Carbon
                        StatsD

               Whisper
Graphite
                                 Logster
                 Real-Time
     CollectD                        Low-Level

                   High-Level

           Dashboards                  gdash
                         Graphiti



                                    Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 32
Graphite
Enterprise Scalable Realtime Graphing




                         Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 33
1. Store numeric time-series data
2. Render graphs on demand



                      Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 34
Graphite
                                          Data




               rendering                  carbon


     browser



                           whisper
                                     Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 35
StatsD



         Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 36
Graphite



                                               statsd


               rendering                  carbon


     browser



                           whisper
                                     Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 37
Counting


StatsD::increment('events.success');

 StatsD::decrement('event.count');




                         Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 38
Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 39
Timing


$timeStart = microtime(true);
$worker->process();
$timeEnd = round(microtime(true) - $timeStart, 4);

StatsD::timing('events.timing', $timeEnd);




                                     Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 40
Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 41
Sampling



StatsD::increment('events.success', 0.1);




                              Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 42
gdash



        Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 43
Dashboard


// dash.yaml
:name: Event-Queue
:description: Informationen über den Gesundheitszustand
des Patienten...




                                     Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 44
Graphs
// timing.graph
title       "Event-Queue Timing "
vtitle      "Duration in s"
from        "-1hours"
area        :none
linewidth   1
description "Duration in s"

field :lower, :scale => 1,
               :color => "green",
               :alias => "Lower",
               :data => "sumSeries(events.*.timing.lower)",
               :derivative => false

field :mean, :scale   => 1,
               :color => "yellow",
               :alias => "Mean",
               :data => "sumSeries(events.*.timing.mean)",
               :derivative => false




                                                   Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 45
Graph Settings
title         "A sample graph"
vtitle        "events"
width         800
height        600
from          "-2days"
until         "-1days"
area          :all|first|none
description   "Events"
hide_legend   true
linewidth     2
...


                                 Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 46
Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 47
Logster



          Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 48
Log


2012/02/02 09:09:06 [warning] 13674#0: *24533 FastCGI sent in stderr: ...
2012/02/02 14:06:07 [warning] 13674#0: *24533 FastCGI sent in stderr: ...
2012/02/02 19:02:01 [warning] 13674#0: *24533 FastCGI sent in stderr: ...




                                                         Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 49
Log


2012/02/02 09:09:06 [warning] 13674#0: *24533 FastCGI sent in stderr: ...
2012/02/02 14:06:07 [warning] 13674#0: *24533 FastCGI sent in stderr: ...
2012/02/02 19:02:01 [warning] 13674#0: *24533 FastCGI sent in stderr: ...




                                                         Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 50
Parser

         ....

self.reg = re.compile('magic')

         ....

# Return a list of metrics objects
return [
    MetricObject("warning", (self.warning / self.duration), "warnings per sec"),
]




                                                        Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 51
600

450

300

150

  0
      12   13   14   15   16   17   18   19   20   21      22       23      24      25     26




                                                        Real-Time-Monitoring I   Mayflower GmbH I 9. Feb 2012 I 52
Deploy-Trend


echo "deploys 1 `date +%s`" | nc graphite.info 2003




                                     Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 53
600

450

300

150

  0
      12   13   14   15   16   17   18   19   20   21      22       23      24      25     26




                                                        Real-Time-Monitoring I   Mayflower GmbH I 9. Feb 2012 I 54
Happy Developers

600

450

300

150

  0
      12   13   14   15   16   17   18   19   20   21      22       23      24      25     26




                                                        Real-Time-Monitoring I   Mayflower GmbH I 9. Feb 2012 I 54
CollectD-Graphite
      Plugin


            Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 55
collectd to graphite

#collectd.conf

<Plugin write_http>
  <URL "http://monitor:3012/post-collectd">
  </URL>
</Plugin>




                                              Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 56
Start !



          Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 57
Graphite
http://gist.github.com/1023728




                        Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 58
StatsD
git clone https://github.com/etsy/statsd.git




                                Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 59
StatsD Client




            Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 60
Vagrant



          Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 61
Making Decisions
  Low MTTD
   (Mean Time To Detect)




                       Real-Time-Monitoring I   Mayflower GmbH I 9. Feb. 2012 I 62
Vielen Dank für Ihre Aufmerksamkeit!




Kontakt   Max Köhler
          max.koehler@mayflower.de
          +49 89 242054-1160

          Mayflower GmbH
          Mannhardtstr. 6
          80538 München



                                       © 2012 Mayflower GmbH

More Related Content

Similar to Real-Time Monitoring Makes Decisions Easy

Improving your workflows and awareness in the team with tools
Improving your workflows and awareness in the team with toolsImproving your workflows and awareness in the team with tools
Improving your workflows and awareness in the team with toolsMayflower GmbH
 
Introduction to XperiDesk 2013.1
Introduction to XperiDesk 2013.1Introduction to XperiDesk 2013.1
Introduction to XperiDesk 2013.1Dirk Ortloff
 
Playing Nice in the Product Playground
Playing Nice in the Product PlaygroundPlaying Nice in the Product Playground
Playing Nice in the Product PlaygroundIntuit Inc.
 
AEM Hub - on the road with AEM
AEM Hub - on the road with AEMAEM Hub - on the road with AEM
AEM Hub - on the road with AEMDavid Nuescheler
 
IBM Industrie 4.0 journey @CeBIT
IBM Industrie 4.0 journey @CeBITIBM Industrie 4.0 journey @CeBIT
IBM Industrie 4.0 journey @CeBITPlamen Kiradjiev
 
Data mining in big databases with geo reference and easy web publishing and s...
Data mining in big databases with geo reference and easy web publishing and s...Data mining in big databases with geo reference and easy web publishing and s...
Data mining in big databases with geo reference and easy web publishing and s...MapWindow GIS
 
DevOps - How to get technical buy in
DevOps - How to get technical buy inDevOps - How to get technical buy in
DevOps - How to get technical buy inMartin Alfke
 
Cloudstack never heard of it
Cloudstack   never heard of it Cloudstack   never heard of it
Cloudstack never heard of it ShapeBlue
 
2015 3D Printing for microfluidics manufacturing
2015 3D Printing for microfluidics manufacturing2015 3D Printing for microfluidics manufacturing
2015 3D Printing for microfluidics manufacturingJan Eite Bullema
 
Construction Time.pdf
Construction Time.pdfConstruction Time.pdf
Construction Time.pdfStudio52
 
Construction Time-Lapse Video & Site Monitoring
Construction Time-Lapse Video & Site MonitoringConstruction Time-Lapse Video & Site Monitoring
Construction Time-Lapse Video & Site MonitoringStudio52
 
SW360 Update Tooling Telco
SW360 Update Tooling TelcoSW360 Update Tooling Telco
SW360 Update Tooling TelcoShane Coughlan
 
Mobile Media Revolution - The change in the medialandcape.
Mobile Media Revolution - The change in the medialandcape.Mobile Media Revolution - The change in the medialandcape.
Mobile Media Revolution - The change in the medialandcape.Monty C. M. Metzger
 
Virtual Reality Analytics
Virtual Reality AnalyticsVirtual Reality Analytics
Virtual Reality AnalyticsJoerg Osarek
 
.conf Go Zurich 2022 - Keynote
.conf Go Zurich 2022 - Keynote.conf Go Zurich 2022 - Keynote
.conf Go Zurich 2022 - KeynoteSplunk
 

Similar to Real-Time Monitoring Makes Decisions Easy (20)

Goobi overview
Goobi overviewGoobi overview
Goobi overview
 
Improving your workflows and awareness in the team with tools
Improving your workflows and awareness in the team with toolsImproving your workflows and awareness in the team with tools
Improving your workflows and awareness in the team with tools
 
Introduction to XperiDesk 2013.1
Introduction to XperiDesk 2013.1Introduction to XperiDesk 2013.1
Introduction to XperiDesk 2013.1
 
Playing Nice in the Product Playground
Playing Nice in the Product PlaygroundPlaying Nice in the Product Playground
Playing Nice in the Product Playground
 
AEM Hub - on the road with AEM
AEM Hub - on the road with AEMAEM Hub - on the road with AEM
AEM Hub - on the road with AEM
 
5 felix holz ok
5 felix holz ok5 felix holz ok
5 felix holz ok
 
7 Digital Trends to Watch
7 Digital Trends to Watch7 Digital Trends to Watch
7 Digital Trends to Watch
 
IBM Industrie 4.0 journey @CeBIT
IBM Industrie 4.0 journey @CeBITIBM Industrie 4.0 journey @CeBIT
IBM Industrie 4.0 journey @CeBIT
 
Data mining in big databases with geo reference and easy web publishing and s...
Data mining in big databases with geo reference and easy web publishing and s...Data mining in big databases with geo reference and easy web publishing and s...
Data mining in big databases with geo reference and easy web publishing and s...
 
DevOps - How to get technical buy in
DevOps - How to get technical buy inDevOps - How to get technical buy in
DevOps - How to get technical buy in
 
Cloudstack never heard of it
Cloudstack   never heard of it Cloudstack   never heard of it
Cloudstack never heard of it
 
2015 3D Printing for microfluidics manufacturing
2015 3D Printing for microfluidics manufacturing2015 3D Printing for microfluidics manufacturing
2015 3D Printing for microfluidics manufacturing
 
Construction Time.pdf
Construction Time.pdfConstruction Time.pdf
Construction Time.pdf
 
Construction Time-Lapse Video & Site Monitoring
Construction Time-Lapse Video & Site MonitoringConstruction Time-Lapse Video & Site Monitoring
Construction Time-Lapse Video & Site Monitoring
 
SW360 Update Tooling Telco
SW360 Update Tooling TelcoSW360 Update Tooling Telco
SW360 Update Tooling Telco
 
Mobile Media Revolution - The change in the medialandcape.
Mobile Media Revolution - The change in the medialandcape.Mobile Media Revolution - The change in the medialandcape.
Mobile Media Revolution - The change in the medialandcape.
 
Connecting the Unconnected
Connecting the UnconnectedConnecting the Unconnected
Connecting the Unconnected
 
Unit Test Fun
Unit Test FunUnit Test Fun
Unit Test Fun
 
Virtual Reality Analytics
Virtual Reality AnalyticsVirtual Reality Analytics
Virtual Reality Analytics
 
.conf Go Zurich 2022 - Keynote
.conf Go Zurich 2022 - Keynote.conf Go Zurich 2022 - Keynote
.conf Go Zurich 2022 - Keynote
 

More from Mayflower GmbH

Mit Maintenance umgehen können- Fixt du noch Bugs oder lieferst du schon neue...
Mit Maintenance umgehen können- Fixt du noch Bugs oder lieferst du schon neue...Mit Maintenance umgehen können- Fixt du noch Bugs oder lieferst du schon neue...
Mit Maintenance umgehen können- Fixt du noch Bugs oder lieferst du schon neue...Mayflower GmbH
 
JavaScript Days 2015: Security
JavaScript Days 2015: SecurityJavaScript Days 2015: Security
JavaScript Days 2015: SecurityMayflower GmbH
 
Vom Entwickler zur Führungskraft
Vom Entwickler zur FührungskraftVom Entwickler zur Führungskraft
Vom Entwickler zur FührungskraftMayflower GmbH
 
Salt and pepper — native code in the browser Browser using Google native Client
Salt and pepper — native code in the browser Browser using Google native ClientSalt and pepper — native code in the browser Browser using Google native Client
Salt and pepper — native code in the browser Browser using Google native ClientMayflower GmbH
 
Plugging holes — javascript memory leak debugging
Plugging holes — javascript memory leak debuggingPlugging holes — javascript memory leak debugging
Plugging holes — javascript memory leak debuggingMayflower GmbH
 
50 mal produktiver - oder warum ich gute Teams brauche und nicht gute Entwick...
50 mal produktiver - oder warum ich gute Teams brauche und nicht gute Entwick...50 mal produktiver - oder warum ich gute Teams brauche und nicht gute Entwick...
50 mal produktiver - oder warum ich gute Teams brauche und nicht gute Entwick...Mayflower GmbH
 
Native Cross-Platform-Apps mit Titanium Mobile und Alloy
Native Cross-Platform-Apps mit Titanium Mobile und AlloyNative Cross-Platform-Apps mit Titanium Mobile und Alloy
Native Cross-Platform-Apps mit Titanium Mobile und AlloyMayflower GmbH
 
Pair Programming Mythbusters
Pair Programming MythbustersPair Programming Mythbusters
Pair Programming MythbustersMayflower GmbH
 
Shoeism - Frau im Glück
Shoeism - Frau im GlückShoeism - Frau im Glück
Shoeism - Frau im GlückMayflower GmbH
 
Bessere Software schneller liefern
Bessere Software schneller liefernBessere Software schneller liefern
Bessere Software schneller liefernMayflower GmbH
 
Von 0 auf 100 in 2 Sprints
Von 0 auf 100 in 2 SprintsVon 0 auf 100 in 2 Sprints
Von 0 auf 100 in 2 SprintsMayflower GmbH
 
Piwik anpassen und skalieren
Piwik anpassen und skalierenPiwik anpassen und skalieren
Piwik anpassen und skalierenMayflower GmbH
 
Agilitaet im E-Commerce - E-Commerce Breakfast
Agilitaet im E-Commerce - E-Commerce BreakfastAgilitaet im E-Commerce - E-Commerce Breakfast
Agilitaet im E-Commerce - E-Commerce BreakfastMayflower GmbH
 

More from Mayflower GmbH (20)

Mit Maintenance umgehen können- Fixt du noch Bugs oder lieferst du schon neue...
Mit Maintenance umgehen können- Fixt du noch Bugs oder lieferst du schon neue...Mit Maintenance umgehen können- Fixt du noch Bugs oder lieferst du schon neue...
Mit Maintenance umgehen können- Fixt du noch Bugs oder lieferst du schon neue...
 
Why and what is go
Why and what is goWhy and what is go
Why and what is go
 
Agile Anti-Patterns
Agile Anti-PatternsAgile Anti-Patterns
Agile Anti-Patterns
 
JavaScript Days 2015: Security
JavaScript Days 2015: SecurityJavaScript Days 2015: Security
JavaScript Days 2015: Security
 
Vom Entwickler zur Führungskraft
Vom Entwickler zur FührungskraftVom Entwickler zur Führungskraft
Vom Entwickler zur Führungskraft
 
Produktive teams
Produktive teamsProduktive teams
Produktive teams
 
Salt and pepper — native code in the browser Browser using Google native Client
Salt and pepper — native code in the browser Browser using Google native ClientSalt and pepper — native code in the browser Browser using Google native Client
Salt and pepper — native code in the browser Browser using Google native Client
 
Plugging holes — javascript memory leak debugging
Plugging holes — javascript memory leak debuggingPlugging holes — javascript memory leak debugging
Plugging holes — javascript memory leak debugging
 
Usability im web
Usability im webUsability im web
Usability im web
 
Rewrites überleben
Rewrites überlebenRewrites überleben
Rewrites überleben
 
JavaScript Security
JavaScript SecurityJavaScript Security
JavaScript Security
 
50 mal produktiver - oder warum ich gute Teams brauche und nicht gute Entwick...
50 mal produktiver - oder warum ich gute Teams brauche und nicht gute Entwick...50 mal produktiver - oder warum ich gute Teams brauche und nicht gute Entwick...
50 mal produktiver - oder warum ich gute Teams brauche und nicht gute Entwick...
 
Responsive Webdesign
Responsive WebdesignResponsive Webdesign
Responsive Webdesign
 
Native Cross-Platform-Apps mit Titanium Mobile und Alloy
Native Cross-Platform-Apps mit Titanium Mobile und AlloyNative Cross-Platform-Apps mit Titanium Mobile und Alloy
Native Cross-Platform-Apps mit Titanium Mobile und Alloy
 
Pair Programming Mythbusters
Pair Programming MythbustersPair Programming Mythbusters
Pair Programming Mythbusters
 
Shoeism - Frau im Glück
Shoeism - Frau im GlückShoeism - Frau im Glück
Shoeism - Frau im Glück
 
Bessere Software schneller liefern
Bessere Software schneller liefernBessere Software schneller liefern
Bessere Software schneller liefern
 
Von 0 auf 100 in 2 Sprints
Von 0 auf 100 in 2 SprintsVon 0 auf 100 in 2 Sprints
Von 0 auf 100 in 2 Sprints
 
Piwik anpassen und skalieren
Piwik anpassen und skalierenPiwik anpassen und skalieren
Piwik anpassen und skalieren
 
Agilitaet im E-Commerce - E-Commerce Breakfast
Agilitaet im E-Commerce - E-Commerce BreakfastAgilitaet im E-Commerce - E-Commerce Breakfast
Agilitaet im E-Commerce - E-Commerce Breakfast
 

Recently uploaded

A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 

Recently uploaded (20)

A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 

Real-Time Monitoring Makes Decisions Easy

  • 1. Real-Time-Monitoring Max Köhler I 9. Feb. 2012 © 2012 Mayflower GmbH
  • 2. Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 2
  • 5. monitoring sucks Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 5
  • 6. But does monitoring REALLY suck? Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 6
  • 7. ... Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 7
  • 8. „ Yes, yes i know: You can just combine Nagios + collectd + graphite + pnp4nagios an you have everything you need! ... Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 8
  • 9. „ Seriously? Kiss my ass. I‘m a huge fan of the Unix pipeline philosophy but, crhist, have you ever heard the phrase „antipattern“? - John E. Vincent http://lusislog.blogspot.com/2011/06/why-monitoring-sucks.html Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 9
  • 10. https://github.com/monitoringsucks Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 10
  • 11. monitoring sucks Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 11
  • 12. monitoring sucks Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 11
  • 13. monitoring sucks is fun Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 11
  • 14. it's all about ... Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 12
  • 15. Making Decisions Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 13
  • 16. Making Decisions Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 14
  • 17. How many users are using feature xyz ? Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 15
  • 18. Feature #xyz 34% Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 16
  • 19. Did we make it faster? Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 17
  • 20. base feature xyz 400ms 300ms 200ms 100ms 0ms 5.2 6.2 7.2 8.2 9.2 Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 18
  • 21. No ! Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 19
  • 22. Can we deploy that for all users? Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 20
  • 23. Did we break something? Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 21
  • 24. events / sec 60 45 30 15 0 14:00 15:00 16:00 17:00 18:00 Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 22
  • 25. Yes ! Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 23
  • 26. Will we even notice? Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 24
  • 27. Real-Time-Monitoring I Mayflower GmbH I 9. Feb 2012 I 25
  • 28. Changes http://www.flickr.com/photos/addrox/2587484034/sizes/m/in/photostream/ Real-Time-Monitoring I Mayflower GmbH I 9. Feb 2012 I 26
  • 30. „If you can not measure it, you can not improve it!“ Lord Kelvin Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 28
  • 31. DevOp bingo ;) Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 29
  • 32. Access Yes No http://www.flickr.com/photos/mogwai_83/3022261893/ Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 30
  • 33. Tooling Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 31
  • 34. Carbon StatsD Whisper Graphite Logster Real-Time CollectD Low-Level High-Level Dashboards gdash Graphiti Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 32
  • 35. Graphite Enterprise Scalable Realtime Graphing Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 33
  • 36. 1. Store numeric time-series data 2. Render graphs on demand Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 34
  • 37. Graphite Data rendering carbon browser whisper Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 35
  • 38. StatsD Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 36
  • 39. Graphite statsd rendering carbon browser whisper Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 37
  • 40. Counting StatsD::increment('events.success'); StatsD::decrement('event.count'); Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 38
  • 41. Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 39
  • 42. Timing $timeStart = microtime(true); $worker->process(); $timeEnd = round(microtime(true) - $timeStart, 4); StatsD::timing('events.timing', $timeEnd); Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 40
  • 43. Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 41
  • 44. Sampling StatsD::increment('events.success', 0.1); Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 42
  • 45. gdash Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 43
  • 46. Dashboard // dash.yaml :name: Event-Queue :description: Informationen über den Gesundheitszustand des Patienten... Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 44
  • 47. Graphs // timing.graph title "Event-Queue Timing " vtitle "Duration in s" from "-1hours" area :none linewidth 1 description "Duration in s" field :lower, :scale => 1, :color => "green", :alias => "Lower", :data => "sumSeries(events.*.timing.lower)", :derivative => false field :mean, :scale => 1, :color => "yellow", :alias => "Mean", :data => "sumSeries(events.*.timing.mean)", :derivative => false Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 45
  • 48. Graph Settings title "A sample graph" vtitle "events" width 800 height 600 from "-2days" until "-1days" area :all|first|none description "Events" hide_legend true linewidth 2 ... Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 46
  • 49. Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 47
  • 50. Logster Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 48
  • 51. Log 2012/02/02 09:09:06 [warning] 13674#0: *24533 FastCGI sent in stderr: ... 2012/02/02 14:06:07 [warning] 13674#0: *24533 FastCGI sent in stderr: ... 2012/02/02 19:02:01 [warning] 13674#0: *24533 FastCGI sent in stderr: ... Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 49
  • 52. Log 2012/02/02 09:09:06 [warning] 13674#0: *24533 FastCGI sent in stderr: ... 2012/02/02 14:06:07 [warning] 13674#0: *24533 FastCGI sent in stderr: ... 2012/02/02 19:02:01 [warning] 13674#0: *24533 FastCGI sent in stderr: ... Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 50
  • 53. Parser .... self.reg = re.compile('magic') .... # Return a list of metrics objects return [     MetricObject("warning", (self.warning / self.duration), "warnings per sec"), ] Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 51
  • 54. 600 450 300 150 0 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 Real-Time-Monitoring I Mayflower GmbH I 9. Feb 2012 I 52
  • 55. Deploy-Trend echo "deploys 1 `date +%s`" | nc graphite.info 2003 Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 53
  • 56. 600 450 300 150 0 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 Real-Time-Monitoring I Mayflower GmbH I 9. Feb 2012 I 54
  • 57. Happy Developers 600 450 300 150 0 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 Real-Time-Monitoring I Mayflower GmbH I 9. Feb 2012 I 54
  • 58. CollectD-Graphite Plugin Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 55
  • 59. collectd to graphite #collectd.conf <Plugin write_http> <URL "http://monitor:3012/post-collectd"> </URL> </Plugin> Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 56
  • 60. Start ! Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 57
  • 61. Graphite http://gist.github.com/1023728 Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 58
  • 62. StatsD git clone https://github.com/etsy/statsd.git Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 59
  • 63. StatsD Client Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 60
  • 64. Vagrant Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 61
  • 65. Making Decisions Low MTTD (Mean Time To Detect) Real-Time-Monitoring I Mayflower GmbH I 9. Feb. 2012 I 62
  • 66. Vielen Dank für Ihre Aufmerksamkeit! Kontakt Max Köhler max.koehler@mayflower.de +49 89 242054-1160 Mayflower GmbH Mannhardtstr. 6 80538 München © 2012 Mayflower GmbH