SlideShare una empresa de Scribd logo
1 de 19
Measure Anything,
Measure Everything
StatsD & Graphite
By Avi Revivo / 2015
New development checklist
 Code standards
 Comments
 Logic
 Error handling
 Testable code
 Logging
 What is missing?
What about?
 Feature usage
 Performance
 Business KPIs
So why is it not there?
2 main reasons
#1 Complexity
It’s just not simple enough
#2 Understanding the Developer’s Role
“Dear Engineers,
Your job is not to write code.
I know. You think you were hired to write code. In fact, your entire interview process
centered around how well you could write code. And I’m sure you do it really well.
But it’s not your job.
Your job is to improve our product for our users.”
Blog post Link
Let’s focus on complexity
How simple should it be? Dead simple!
As simple as writing a log line…
Meet StatsD
A network service that runs on the Node.js that listens
for statistics, like counters and timers, sent over UDP or
TCP and sends aggregates to one or more pluggable
backend services.
Example: Sending a Metric
echo "foo:1|c" | nc -u -w0 127.0.0.1 8125
<metricname>:<value>|<type>
Key Concepts
 Buckets - Each stat is in its own "bucket". They are not
predefined anywhere.
 Values - Each stat will have a value.
 Flush - After the flush interval timeout, stats are aggregated
and sent to an upstream backend service.
Available Metric Types
Counting
gorets:1|c
Timing
glork:320|ms|@0.1
Gauges
gaugor:333|g
Sets
uniques:765|s
Sampling supported
Meet Graphite
An all-in-one solution for storing and visualizing realtime time-
series data in an efficient manner.
Graphite Architecture
Graphite Web
A powerful
dashboard for our
metrics and a
powerful plotting API.
Carbon
The core of Graphite.
It consists of set of
three processes that
take care of receiving
incoming data,
aggregating it and
persisting it to disk.
Whisper
An efficient time-
series based
database.
Understanding Carbon
Carbon's job is to make that data available for real-time graphing
immediately and try to get it stored on disk as fast as possible.
It support configurable data persistency rules and full control
over the way data is aggregated.
Carbon Retention Rules
 For a timespan of 6 hours I want to store my data in intervals of 10 seconds.
 For a timespan of 7 days I want to store my data in intervals of 1 minute.
 For a timespan of 1 year I want to store my data in intervals of 1 hour.
 For a timespan of 5 year I want to store my data in intervals of 24 hours.
[counts]
Pattern = .count$
retentions = 10s:6h;1m:7d;1h:1y,1d:5y
Carbon Aggregation Rules
[sum]
Pattern= .count$
aggregationMethod = sum
stats.app.users.logins.count
stats.app.emails.sent.count
Avergage, Min, Max etc.
DEMO

Más contenido relacionado

La actualidad más candente

Cis 528presentation final
Cis 528presentation finalCis 528presentation final
Cis 528presentation finalpriyalmistry4
 
IBM Extreme Blue FTP Discovery Week 2 Presentation
IBM Extreme Blue FTP Discovery Week 2 PresentationIBM Extreme Blue FTP Discovery Week 2 Presentation
IBM Extreme Blue FTP Discovery Week 2 PresentationUniversity of St Andrews
 
Introduction to GCP
Introduction to GCP Introduction to GCP
Introduction to GCP Knoldus Inc.
 
Event streaming pipeline with Windows Azure and ArcGIS Geoevent extension
Event streaming pipeline with Windows Azure and ArcGIS Geoevent extensionEvent streaming pipeline with Windows Azure and ArcGIS Geoevent extension
Event streaming pipeline with Windows Azure and ArcGIS Geoevent extensionRoberto Messora
 
High Volume Streaming Data: How Amazon Web Services is Changing Our Approach
High Volume Streaming Data: How Amazon Web Services is Changing Our ApproachHigh Volume Streaming Data: How Amazon Web Services is Changing Our Approach
High Volume Streaming Data: How Amazon Web Services is Changing Our ApproachMichael Krouze
 
Google Cloud Platform for the Enterprise
Google Cloud Platform for the EnterpriseGoogle Cloud Platform for the Enterprise
Google Cloud Platform for the EnterpriseVMware Tanzu
 
Do we need a bigger dev data culture
Do we need a bigger dev data cultureDo we need a bigger dev data culture
Do we need a bigger dev data cultureSimon Dittlmann
 
Kafka and GraphQL: Misconceptions and Connections | Gerard Klijs, Open Web
Kafka and GraphQL: Misconceptions and Connections | Gerard Klijs, Open WebKafka and GraphQL: Misconceptions and Connections | Gerard Klijs, Open Web
Kafka and GraphQL: Misconceptions and Connections | Gerard Klijs, Open WebHostedbyConfluent
 
Session 03 data_migration_at_scale_by_sameer
Session 03 data_migration_at_scale_by_sameerSession 03 data_migration_at_scale_by_sameer
Session 03 data_migration_at_scale_by_sameerAshish Pandey
 
Ai lifecycle and navigator
Ai lifecycle and navigatorAi lifecycle and navigator
Ai lifecycle and navigatoraiclub_slides
 
Cassandra Day London 2015: British Gas Connected Homes: 5 Things We Wish We H...
Cassandra Day London 2015: British Gas Connected Homes: 5 Things We Wish We H...Cassandra Day London 2015: British Gas Connected Homes: 5 Things We Wish We H...
Cassandra Day London 2015: British Gas Connected Homes: 5 Things We Wish We H...DataStax Academy
 
Bluetooth low energy
Bluetooth low energyBluetooth low energy
Bluetooth low energyAlex Hihi
 
Dato vs GraphX
Dato vs GraphXDato vs GraphX
Dato vs GraphXKeira Zhou
 
Google Cloud Platform: Prototype ->Production-> Planet scale
Google Cloud Platform: Prototype ->Production-> Planet scaleGoogle Cloud Platform: Prototype ->Production-> Planet scale
Google Cloud Platform: Prototype ->Production-> Planet scaleIdan Tohami
 

La actualidad más candente (17)

Cis 528 big data
Cis 528 big dataCis 528 big data
Cis 528 big data
 
Cis 528presentation final
Cis 528presentation finalCis 528presentation final
Cis 528presentation final
 
IBM Extreme Blue FTP Discovery Week 2 Presentation
IBM Extreme Blue FTP Discovery Week 2 PresentationIBM Extreme Blue FTP Discovery Week 2 Presentation
IBM Extreme Blue FTP Discovery Week 2 Presentation
 
Introduction to GCP
Introduction to GCP Introduction to GCP
Introduction to GCP
 
Event streaming pipeline with Windows Azure and ArcGIS Geoevent extension
Event streaming pipeline with Windows Azure and ArcGIS Geoevent extensionEvent streaming pipeline with Windows Azure and ArcGIS Geoevent extension
Event streaming pipeline with Windows Azure and ArcGIS Geoevent extension
 
High Volume Streaming Data: How Amazon Web Services is Changing Our Approach
High Volume Streaming Data: How Amazon Web Services is Changing Our ApproachHigh Volume Streaming Data: How Amazon Web Services is Changing Our Approach
High Volume Streaming Data: How Amazon Web Services is Changing Our Approach
 
Google Cloud Platform for the Enterprise
Google Cloud Platform for the EnterpriseGoogle Cloud Platform for the Enterprise
Google Cloud Platform for the Enterprise
 
Telemetry Updates - Juno Edition
Telemetry Updates - Juno Edition Telemetry Updates - Juno Edition
Telemetry Updates - Juno Edition
 
Do we need a bigger dev data culture
Do we need a bigger dev data cultureDo we need a bigger dev data culture
Do we need a bigger dev data culture
 
Kafka and GraphQL: Misconceptions and Connections | Gerard Klijs, Open Web
Kafka and GraphQL: Misconceptions and Connections | Gerard Klijs, Open WebKafka and GraphQL: Misconceptions and Connections | Gerard Klijs, Open Web
Kafka and GraphQL: Misconceptions and Connections | Gerard Klijs, Open Web
 
Session 03 data_migration_at_scale_by_sameer
Session 03 data_migration_at_scale_by_sameerSession 03 data_migration_at_scale_by_sameer
Session 03 data_migration_at_scale_by_sameer
 
Ai lifecycle and navigator
Ai lifecycle and navigatorAi lifecycle and navigator
Ai lifecycle and navigator
 
Cassandra Day London 2015: British Gas Connected Homes: 5 Things We Wish We H...
Cassandra Day London 2015: British Gas Connected Homes: 5 Things We Wish We H...Cassandra Day London 2015: British Gas Connected Homes: 5 Things We Wish We H...
Cassandra Day London 2015: British Gas Connected Homes: 5 Things We Wish We H...
 
Bluetooth low energy
Bluetooth low energyBluetooth low energy
Bluetooth low energy
 
Dato vs GraphX
Dato vs GraphXDato vs GraphX
Dato vs GraphX
 
Qtp testing23
Qtp testing23Qtp testing23
Qtp testing23
 
Google Cloud Platform: Prototype ->Production-> Planet scale
Google Cloud Platform: Prototype ->Production-> Planet scaleGoogle Cloud Platform: Prototype ->Production-> Planet scale
Google Cloud Platform: Prototype ->Production-> Planet scale
 

Destacado

Shifting healthcare costs
Shifting healthcare costsShifting healthcare costs
Shifting healthcare costsSonia Gabriel
 
100 edificios (69 72) camila yaryura
100 edificios (69 72) camila yaryura100 edificios (69 72) camila yaryura
100 edificios (69 72) camila yaryuraRafael Yaryura
 
Infografia johana (1)
Infografia johana (1)Infografia johana (1)
Infografia johana (1)hjcaova
 
Tara Hategului
Tara HateguluiTara Hategului
Tara HateguluiVlad Botca
 
Desastres la tierra tiembla
Desastres la tierra tiemblaDesastres la tierra tiembla
Desastres la tierra tiemblaKAtiRojChu
 
raspi + soracom #pakeana33
raspi + soracom #pakeana33raspi + soracom #pakeana33
raspi + soracom #pakeana33@ otsuka752
 
Post Campaign Analysis.
Post Campaign Analysis.Post Campaign Analysis.
Post Campaign Analysis.Bala Gowtham
 
Atos Lição 1 - Resgatando a visão missionária
Atos Lição 1 - Resgatando a visão missionáriaAtos Lição 1 - Resgatando a visão missionária
Atos Lição 1 - Resgatando a visão missionáriaCleide Corrêa
 
chandrakanth rathod updated resume
chandrakanth rathod updated resumechandrakanth rathod updated resume
chandrakanth rathod updated resumeChandrakanth Rathod
 
Romanos lição 4 - Abraão - Alcançado pela justificação
Romanos lição 4 - Abraão - Alcançado pela justificaçãoRomanos lição 4 - Abraão - Alcançado pela justificação
Romanos lição 4 - Abraão - Alcançado pela justificaçãoCleide Corrêa
 
Daudzdzīvokļu ēkas namu pārvaldnieka un dzīvokļu īpašnieka pienākumi.
Daudzdzīvokļu ēkas namu pārvaldnieka un dzīvokļu īpašnieka pienākumi.Daudzdzīvokļu ēkas namu pārvaldnieka un dzīvokļu īpašnieka pienākumi.
Daudzdzīvokļu ēkas namu pārvaldnieka un dzīvokļu īpašnieka pienākumi.Ekonomikas ministrija/ Dzīvo siltāk
 
teste de avaliação trimestral português 1º ano
teste de avaliação trimestral português 1º anoteste de avaliação trimestral português 1º ano
teste de avaliação trimestral português 1º anoProfessora
 
Introduction to linguistic
Introduction to linguisticIntroduction to linguistic
Introduction to linguisticnurlia bungsu
 

Destacado (15)

Shifting healthcare costs
Shifting healthcare costsShifting healthcare costs
Shifting healthcare costs
 
100 edificios (69 72) camila yaryura
100 edificios (69 72) camila yaryura100 edificios (69 72) camila yaryura
100 edificios (69 72) camila yaryura
 
Infografia johana (1)
Infografia johana (1)Infografia johana (1)
Infografia johana (1)
 
Tara Hategului
Tara HateguluiTara Hategului
Tara Hategului
 
Jane tarea constitucional
Jane tarea constitucionalJane tarea constitucional
Jane tarea constitucional
 
Desastres la tierra tiembla
Desastres la tierra tiemblaDesastres la tierra tiembla
Desastres la tierra tiembla
 
raspi + soracom #pakeana33
raspi + soracom #pakeana33raspi + soracom #pakeana33
raspi + soracom #pakeana33
 
Post Campaign Analysis.
Post Campaign Analysis.Post Campaign Analysis.
Post Campaign Analysis.
 
Ardência bucal por Xerostomia
Ardência bucal por XerostomiaArdência bucal por Xerostomia
Ardência bucal por Xerostomia
 
Atos Lição 1 - Resgatando a visão missionária
Atos Lição 1 - Resgatando a visão missionáriaAtos Lição 1 - Resgatando a visão missionária
Atos Lição 1 - Resgatando a visão missionária
 
chandrakanth rathod updated resume
chandrakanth rathod updated resumechandrakanth rathod updated resume
chandrakanth rathod updated resume
 
Romanos lição 4 - Abraão - Alcançado pela justificação
Romanos lição 4 - Abraão - Alcançado pela justificaçãoRomanos lição 4 - Abraão - Alcançado pela justificação
Romanos lição 4 - Abraão - Alcançado pela justificação
 
Daudzdzīvokļu ēkas namu pārvaldnieka un dzīvokļu īpašnieka pienākumi.
Daudzdzīvokļu ēkas namu pārvaldnieka un dzīvokļu īpašnieka pienākumi.Daudzdzīvokļu ēkas namu pārvaldnieka un dzīvokļu īpašnieka pienākumi.
Daudzdzīvokļu ēkas namu pārvaldnieka un dzīvokļu īpašnieka pienākumi.
 
teste de avaliação trimestral português 1º ano
teste de avaliação trimestral português 1º anoteste de avaliação trimestral português 1º ano
teste de avaliação trimestral português 1º ano
 
Introduction to linguistic
Introduction to linguisticIntroduction to linguistic
Introduction to linguistic
 

Similar a StasD & Graphite - Measure anything, Measure Everything

Reduce SRE Stress: Minimizing Service Downtime with Grafana, InfluxDB and Tel...
Reduce SRE Stress: Minimizing Service Downtime with Grafana, InfluxDB and Tel...Reduce SRE Stress: Minimizing Service Downtime with Grafana, InfluxDB and Tel...
Reduce SRE Stress: Minimizing Service Downtime with Grafana, InfluxDB and Tel...InfluxData
 
Service quality monitoring system architecture
Service quality monitoring system architectureService quality monitoring system architecture
Service quality monitoring system architectureMatsuo Sawahashi
 
How to create custom dashboards in Elastic Search / Kibana with Performance V...
How to create custom dashboards in Elastic Search / Kibana with Performance V...How to create custom dashboards in Elastic Search / Kibana with Performance V...
How to create custom dashboards in Elastic Search / Kibana with Performance V...PerformanceVision (previously SecurActive)
 
Observability for Application Developers (1)-1.pptx
Observability for Application Developers (1)-1.pptxObservability for Application Developers (1)-1.pptx
Observability for Application Developers (1)-1.pptxOpsTree solutions
 
OSMC 2023 | Journey to observability: tracking every function execution in pr...
OSMC 2023 | Journey to observability: tracking every function execution in pr...OSMC 2023 | Journey to observability: tracking every function execution in pr...
OSMC 2023 | Journey to observability: tracking every function execution in pr...NETWAYS
 
Combinação de logs, métricas e rastreamentos para observabilidade unificada
Combinação de logs, métricas e rastreamentos para observabilidade unificadaCombinação de logs, métricas e rastreamentos para observabilidade unificada
Combinação de logs, métricas e rastreamentos para observabilidade unificadaElasticsearch
 
MongoDB World 2018: Overnight to 60 Seconds: An IOT ETL Performance Case Study
MongoDB World 2018: Overnight to 60 Seconds: An IOT ETL Performance Case StudyMongoDB World 2018: Overnight to 60 Seconds: An IOT ETL Performance Case Study
MongoDB World 2018: Overnight to 60 Seconds: An IOT ETL Performance Case StudyMongoDB
 
Machine learning in the physical world by Kip Larson from AWS IoT
Machine learning in the physical world by  Kip Larson from AWS IoTMachine learning in the physical world by  Kip Larson from AWS IoT
Machine learning in the physical world by Kip Larson from AWS IoTBill Liu
 
MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...
MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...
MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...MongoDB
 
Is there a way that we can build our Azure Data Factory all with parameters b...
Is there a way that we can build our Azure Data Factory all with parameters b...Is there a way that we can build our Azure Data Factory all with parameters b...
Is there a way that we can build our Azure Data Factory all with parameters b...Erwin de Kreuk
 
Maximizing Database Tuning in SAP SQL Anywhere
Maximizing Database Tuning in SAP SQL AnywhereMaximizing Database Tuning in SAP SQL Anywhere
Maximizing Database Tuning in SAP SQL AnywhereSAP Technology
 
Cloud Security Monitoring and Spark Analytics
Cloud Security Monitoring and Spark AnalyticsCloud Security Monitoring and Spark Analytics
Cloud Security Monitoring and Spark Analyticsamesar0
 
Analyze Amazon CloudFront and Lambda@Edge Logs to Improve Customer Experience...
Analyze Amazon CloudFront and Lambda@Edge Logs to Improve Customer Experience...Analyze Amazon CloudFront and Lambda@Edge Logs to Improve Customer Experience...
Analyze Amazon CloudFront and Lambda@Edge Logs to Improve Customer Experience...Amazon Web Services
 
Server side scalable web performance
Server side scalable web performanceServer side scalable web performance
Server side scalable web performancePer Ökvist
 
Why and How SmartNews uses SaaS?
Why and How SmartNews uses SaaS?Why and How SmartNews uses SaaS?
Why and How SmartNews uses SaaS?Takumi Sakamoto
 
Apache Beam and Google Cloud Dataflow - IDG - final
Apache Beam and Google Cloud Dataflow - IDG - finalApache Beam and Google Cloud Dataflow - IDG - final
Apache Beam and Google Cloud Dataflow - IDG - finalSub Szabolcs Feczak
 
Boosting the Performance of your Rails Apps
Boosting the Performance of your Rails AppsBoosting the Performance of your Rails Apps
Boosting the Performance of your Rails AppsMatt Kuklinski
 
Elastic Stack: Using data for insight and action
Elastic Stack: Using data for insight and actionElastic Stack: Using data for insight and action
Elastic Stack: Using data for insight and actionElasticsearch
 
Agile Gurugram 2023 | Observability for Modern Applications. How does it help...
Agile Gurugram 2023 | Observability for Modern Applications. How does it help...Agile Gurugram 2023 | Observability for Modern Applications. How does it help...
Agile Gurugram 2023 | Observability for Modern Applications. How does it help...AgileNetwork
 
Modern Data Architectures for Business Outcomes
Modern Data Architectures for Business OutcomesModern Data Architectures for Business Outcomes
Modern Data Architectures for Business OutcomesAmazon Web Services
 

Similar a StasD & Graphite - Measure anything, Measure Everything (20)

Reduce SRE Stress: Minimizing Service Downtime with Grafana, InfluxDB and Tel...
Reduce SRE Stress: Minimizing Service Downtime with Grafana, InfluxDB and Tel...Reduce SRE Stress: Minimizing Service Downtime with Grafana, InfluxDB and Tel...
Reduce SRE Stress: Minimizing Service Downtime with Grafana, InfluxDB and Tel...
 
Service quality monitoring system architecture
Service quality monitoring system architectureService quality monitoring system architecture
Service quality monitoring system architecture
 
How to create custom dashboards in Elastic Search / Kibana with Performance V...
How to create custom dashboards in Elastic Search / Kibana with Performance V...How to create custom dashboards in Elastic Search / Kibana with Performance V...
How to create custom dashboards in Elastic Search / Kibana with Performance V...
 
Observability for Application Developers (1)-1.pptx
Observability for Application Developers (1)-1.pptxObservability for Application Developers (1)-1.pptx
Observability for Application Developers (1)-1.pptx
 
OSMC 2023 | Journey to observability: tracking every function execution in pr...
OSMC 2023 | Journey to observability: tracking every function execution in pr...OSMC 2023 | Journey to observability: tracking every function execution in pr...
OSMC 2023 | Journey to observability: tracking every function execution in pr...
 
Combinação de logs, métricas e rastreamentos para observabilidade unificada
Combinação de logs, métricas e rastreamentos para observabilidade unificadaCombinação de logs, métricas e rastreamentos para observabilidade unificada
Combinação de logs, métricas e rastreamentos para observabilidade unificada
 
MongoDB World 2018: Overnight to 60 Seconds: An IOT ETL Performance Case Study
MongoDB World 2018: Overnight to 60 Seconds: An IOT ETL Performance Case StudyMongoDB World 2018: Overnight to 60 Seconds: An IOT ETL Performance Case Study
MongoDB World 2018: Overnight to 60 Seconds: An IOT ETL Performance Case Study
 
Machine learning in the physical world by Kip Larson from AWS IoT
Machine learning in the physical world by  Kip Larson from AWS IoTMachine learning in the physical world by  Kip Larson from AWS IoT
Machine learning in the physical world by Kip Larson from AWS IoT
 
MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...
MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...
MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...
 
Is there a way that we can build our Azure Data Factory all with parameters b...
Is there a way that we can build our Azure Data Factory all with parameters b...Is there a way that we can build our Azure Data Factory all with parameters b...
Is there a way that we can build our Azure Data Factory all with parameters b...
 
Maximizing Database Tuning in SAP SQL Anywhere
Maximizing Database Tuning in SAP SQL AnywhereMaximizing Database Tuning in SAP SQL Anywhere
Maximizing Database Tuning in SAP SQL Anywhere
 
Cloud Security Monitoring and Spark Analytics
Cloud Security Monitoring and Spark AnalyticsCloud Security Monitoring and Spark Analytics
Cloud Security Monitoring and Spark Analytics
 
Analyze Amazon CloudFront and Lambda@Edge Logs to Improve Customer Experience...
Analyze Amazon CloudFront and Lambda@Edge Logs to Improve Customer Experience...Analyze Amazon CloudFront and Lambda@Edge Logs to Improve Customer Experience...
Analyze Amazon CloudFront and Lambda@Edge Logs to Improve Customer Experience...
 
Server side scalable web performance
Server side scalable web performanceServer side scalable web performance
Server side scalable web performance
 
Why and How SmartNews uses SaaS?
Why and How SmartNews uses SaaS?Why and How SmartNews uses SaaS?
Why and How SmartNews uses SaaS?
 
Apache Beam and Google Cloud Dataflow - IDG - final
Apache Beam and Google Cloud Dataflow - IDG - finalApache Beam and Google Cloud Dataflow - IDG - final
Apache Beam and Google Cloud Dataflow - IDG - final
 
Boosting the Performance of your Rails Apps
Boosting the Performance of your Rails AppsBoosting the Performance of your Rails Apps
Boosting the Performance of your Rails Apps
 
Elastic Stack: Using data for insight and action
Elastic Stack: Using data for insight and actionElastic Stack: Using data for insight and action
Elastic Stack: Using data for insight and action
 
Agile Gurugram 2023 | Observability for Modern Applications. How does it help...
Agile Gurugram 2023 | Observability for Modern Applications. How does it help...Agile Gurugram 2023 | Observability for Modern Applications. How does it help...
Agile Gurugram 2023 | Observability for Modern Applications. How does it help...
 
Modern Data Architectures for Business Outcomes
Modern Data Architectures for Business OutcomesModern Data Architectures for Business Outcomes
Modern Data Architectures for Business Outcomes
 

Último

The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is insideshinachiaurasa2
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfkalichargn70th171
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...kalichargn70th171
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024Mind IT Systems
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 

Último (20)

The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 

StasD & Graphite - Measure anything, Measure Everything

  • 1. Measure Anything, Measure Everything StatsD & Graphite By Avi Revivo / 2015
  • 2. New development checklist  Code standards  Comments  Logic  Error handling  Testable code  Logging  What is missing?
  • 3. What about?  Feature usage  Performance  Business KPIs
  • 4. So why is it not there? 2 main reasons
  • 5. #1 Complexity It’s just not simple enough
  • 6. #2 Understanding the Developer’s Role “Dear Engineers, Your job is not to write code. I know. You think you were hired to write code. In fact, your entire interview process centered around how well you could write code. And I’m sure you do it really well. But it’s not your job. Your job is to improve our product for our users.” Blog post Link
  • 7. Let’s focus on complexity How simple should it be? Dead simple! As simple as writing a log line…
  • 8. Meet StatsD A network service that runs on the Node.js that listens for statistics, like counters and timers, sent over UDP or TCP and sends aggregates to one or more pluggable backend services.
  • 9. Example: Sending a Metric echo "foo:1|c" | nc -u -w0 127.0.0.1 8125 <metricname>:<value>|<type>
  • 10. Key Concepts  Buckets - Each stat is in its own "bucket". They are not predefined anywhere.  Values - Each stat will have a value.  Flush - After the flush interval timeout, stats are aggregated and sent to an upstream backend service.
  • 12. Meet Graphite An all-in-one solution for storing and visualizing realtime time- series data in an efficient manner.
  • 13.
  • 14. Graphite Architecture Graphite Web A powerful dashboard for our metrics and a powerful plotting API. Carbon The core of Graphite. It consists of set of three processes that take care of receiving incoming data, aggregating it and persisting it to disk. Whisper An efficient time- series based database.
  • 15. Understanding Carbon Carbon's job is to make that data available for real-time graphing immediately and try to get it stored on disk as fast as possible. It support configurable data persistency rules and full control over the way data is aggregated.
  • 16. Carbon Retention Rules  For a timespan of 6 hours I want to store my data in intervals of 10 seconds.  For a timespan of 7 days I want to store my data in intervals of 1 minute.  For a timespan of 1 year I want to store my data in intervals of 1 hour.  For a timespan of 5 year I want to store my data in intervals of 24 hours. [counts] Pattern = .count$ retentions = 10s:6h;1m:7d;1h:1y,1d:5y
  • 17. Carbon Aggregation Rules [sum] Pattern= .count$ aggregationMethod = sum stats.app.users.logins.count stats.app.emails.sent.count Avergage, Min, Max etc.
  • 18.
  • 19. DEMO