SlideShare a Scribd company logo
1 of 111
Download to read offline
rethinking metrics: 
metrics 2.0
instagram.com/wrongrob
vimeo.com/43800150
problems 
Metrics 2.0 concepts 
implementations 
uses & ideas
Mostly 
graphite
terminology 
sync
(1234567890, 82) 
(1234567900, 123) 
(1234567910, 109) 
(1234567920, 77) 
db15.mysql.queries_running 
host=db15 mysql.queries_running
Problems
Vimeo.com 
pagerequests/s? 
server X disk write?
stats.hits.vimeo_com 
stats_counts.hits.vimeo_com 
stats.*.vimeo_requests 
collectd.db.disk.sda1.disk_time.write
Understanding metrics 
Terminology? Meaning? 
Prefix? 
Unit? 
Aggregation? 
Source?
Unclear, inconsistent 
terminology, format 
tightly coupled 
lack information
http://litlquest.com/forest-trees/see-forest-trees-2
O(S*P*A*C) 
S = # Sources 
P = # People 
A = # Aggregators 
C = #Complexity
Graphs and 
dashboards are a 
huge time sink.
metrics 2.0 
concepts
Self-describing 
Standardized 
Orthogonal dimensions
stats.timers.dfs5. 
proxy-server.object.GET.200. 
timing.upper_90
{ 
server: dfvimeodfsproxy5, 
http_method: GET, 
http_code: 200, 
unit: ms, 
metric_type: gauge, 
stat: upper_90, 
swift_type: object 
}
MB/s Err/d 
Req/h ... 
B Err Warn Conn 
File Req … 
SI + IEC
allow more characters 
unit: Req/s, 
site: vimeo.com, 
...
Metadata 
meta: { 
src: proxy.py:458, 
from: diamond 
}
metrics20.org
Immediate understanding 
of metrics 
Minimize time to graphs, 
alerting, troubleshooting 
compatibility & flexibility 
in tooling
Implementations 
getting the data
Source formats 
… 
service=foo instance=host unit=B 123 
1234567890 
{s}foo.{i}host.{u}B 123 1234567890 
<uuid> 125 1234567890 #seperate data 
…
Carbon-tagger 
… 
stats.gauges.host.foo 125 1234567890 
service=foo instance=host 
target_type=gauge unit=B 123 1234567890 
…
Statsdaemon 
unit=B 
unit=B 
... 
unit=ms 
unit=ms 
... 
unit=B/s 
unit=ms stat=mean 
unit=ms stat=upper_90 
...
Keep metric 
tags in sync 
with data
Implementations 
Graphing & dashboarding 
Visualization 
Alerting
Graphing & 
Dashboarding
Graph 
Explorer
Graph-Explorer queries 101 
proxy-server swift 
server:regex unit=ms 
(AND)
upper_90 (or stat=upper_90) 
from <datetime> 
to <datetime> 
avg over <timespec> 
(5M, 1h, 3d, ...)
Compare object put/get 
stack … 
http_method:(PUT|GET) 
swift_type=object 
avg by http_code,server
Comparing servers 
http_method:(PUT|GET) 
group by unit,target_type 
avg by http_code, 
swift_type,http_method
transcode unit=Job/s 
avg over <time> 
from <datetime> to <datetime>
Note: data is obfuscated
Bucketing 
sum by zone:eu-west|us-east| 
ap-southeast|us-west| 
sa-east|vimeo-df|vimeo-lv 
group by state
Note: data is obfuscated
Compare job states per region 
group by zone
Note: data is obfuscated
Unit conversion 
unit=Mb/s network 
server:regex 
sum by server
Integration 
Metric unit=B/s 
Query unit=TB
Deriving 
Metric unit=B 
Query unit=GB/d
Highly extensible 
Equal rights for 
all tags 
→ real world use 
drives spec
Err/s Anything/s 
MAnything/d 
B Err Conn File Req 
Anything 
SI + IEC
Minimize time from 
information need to 
insights.
Future 
Work
Faced-based suggestions 
Custom hierachies
Tag insights
●Storage aggregation rules 
● graphite API functions such as 
cumulative, summarize and 
smartSummarize 
●consolidateBy & Graph 
renderers
stat=upper/lower/mean/... 
(assume avg otherwise)
Visualizations
From: dygraphs.com
bin=10 
bin=20 
bin=30 
bin=40 
bin=50 
bin=100
Alerting
unit=Err/s
Classifying 
clusters of 
cause & effect
Different algos 
for different 
metric categories
Alert criticality 
& routing based 
on tags
integrating 
logs & metrics
Algorithms 
leverage both 
logs and metrics
Conclusion 
structured 
self-describing 
standardized 
metrics = enabler
Conclusion 
Concerns? Ideas? Advice? 
Ready for early adopters! 
Work with me on next-gen 
telemetry!
Seen in this presentation: 
metrics20.org 
vimeo.github.io/graph-explorer 
github.com/vimeo/timeserieswidget 
github.com/vimeo/carbon-tagger 
github.com/vimeo/statsdaemon 
github.com/graphite-ng/carbon-relay-ng 
github.com/Dieterbe/anthracite
You might also like: 
github.com/vimeo/graphite-influxdb 
github.com/vimeo/graphite-api-influxdb-docker 
Github.com/vimeo/whisper-to-influxdb 
github.com/Dieterbe/influx-cli 
github.com/graphite-ng/graphite-ng 
Github.com/vimeo/smoketcp 
Github.com/vimeo/tailgate
Stay in touch! 
Metrics20 google group 
it-telemetry google group 
twitter.com/Dieter_be 
dieter.plaetinck.be 
dieter@plaetinck.be 
dieter@vimeo.com 
Lisa labs office hours after lunch 
Q & A
Bonus round
Dashboard definition 
queries = [ 
'cpu usage sum by core', 
'mem unit=B !total group by type:swap', 
'stack network unit=Mb/s', 
'unit=B (free|used) group by =mountpoint' 
]
Catchall plugins 
stats.dfvimeocliapp2.twitter.error 
{ 
“n1”: “dfvimeocliapp2”, 
“n2”: “twitter”, 
“n3”: “error”, 
“plugin”: “catchall_statsd”, 
“source”: “statsd”, 
“target_type”: “rate”, 
“unit”: “unknown/s” 
}
Equivalence 
servers.host.cpu.total.iowait → “core” : “_sum_” 
servers.host.cpu.<core-number>.iowait 
servers.host.loadavg.15

More Related Content

What's hot

Anders Nielsen AD Model-Builder
Anders Nielsen AD Model-BuilderAnders Nielsen AD Model-Builder
Anders Nielsen AD Model-Builder
David LeBauer
 
Digital Differential Analyzer Line Drawing Algorithm in C
Digital Differential Analyzer Line Drawing Algorithm in CDigital Differential Analyzer Line Drawing Algorithm in C
Digital Differential Analyzer Line Drawing Algorithm in C
Kasun Ranga Wijeweera
 

What's hot (19)

Computer graphics
Computer graphics Computer graphics
Computer graphics
 
Anders Nielsen template model-builder
Anders Nielsen template model-builderAnders Nielsen template model-builder
Anders Nielsen template model-builder
 
Introduction to graphics programming in c
Introduction to graphics programming in cIntroduction to graphics programming in c
Introduction to graphics programming in c
 
Anders Nielsen AD Model-Builder
Anders Nielsen AD Model-BuilderAnders Nielsen AD Model-Builder
Anders Nielsen AD Model-Builder
 
Computer graphics lab manual
Computer graphics lab manualComputer graphics lab manual
Computer graphics lab manual
 
Programming Assignment Help
Programming Assignment HelpProgramming Assignment Help
Programming Assignment Help
 
C Graphics Functions
C Graphics FunctionsC Graphics Functions
C Graphics Functions
 
Graphics Programming in C
Graphics Programming in CGraphics Programming in C
Graphics Programming in C
 
COMPUTER GRAPHICS LAB MANUAL
COMPUTER GRAPHICS LAB MANUALCOMPUTER GRAPHICS LAB MANUAL
COMPUTER GRAPHICS LAB MANUAL
 
Basics of Computer graphics lab
Basics of Computer graphics labBasics of Computer graphics lab
Basics of Computer graphics lab
 
Graphics practical lab manual
Graphics practical lab manualGraphics practical lab manual
Graphics practical lab manual
 
Matlab Visualizing Data
Matlab Visualizing DataMatlab Visualizing Data
Matlab Visualizing Data
 
Cgm Lab Manual
Cgm Lab ManualCgm Lab Manual
Cgm Lab Manual
 
MBrace: Cloud Computing with F#
MBrace: Cloud Computing with F#MBrace: Cloud Computing with F#
MBrace: Cloud Computing with F#
 
Dip 5 mathematical preliminaries
Dip 5 mathematical preliminariesDip 5 mathematical preliminaries
Dip 5 mathematical preliminaries
 
Cg lab cse-v (1) (1)
Cg lab cse-v (1) (1)Cg lab cse-v (1) (1)
Cg lab cse-v (1) (1)
 
MBrace: Large-scale cloud computation with F# (CUFP 2014)
MBrace: Large-scale cloud computation with F# (CUFP 2014)MBrace: Large-scale cloud computation with F# (CUFP 2014)
MBrace: Large-scale cloud computation with F# (CUFP 2014)
 
programming for programs solving using C language
programming for  programs solving using C languageprogramming for  programs solving using C language
programming for programs solving using C language
 
Digital Differential Analyzer Line Drawing Algorithm in C
Digital Differential Analyzer Line Drawing Algorithm in CDigital Differential Analyzer Line Drawing Algorithm in C
Digital Differential Analyzer Line Drawing Algorithm in C
 

Similar to Rethinking metrics: metrics 2.0 @ Lisa 2014

Rethinking metrics: metrics 2.0
Rethinking metrics: metrics 2.0Rethinking metrics: metrics 2.0
Rethinking metrics: metrics 2.0
Dieter Plaetinck
 
Metrics 2.0 @ Monitorama PDX 2014
Metrics 2.0 @ Monitorama PDX 2014Metrics 2.0 @ Monitorama PDX 2014
Metrics 2.0 @ Monitorama PDX 2014
Dieter Plaetinck
 
Grill at bigdata-cloud conf
Grill at bigdata-cloud confGrill at bigdata-cloud conf
Grill at bigdata-cloud conf
amarsri
 

Similar to Rethinking metrics: metrics 2.0 @ Lisa 2014 (20)

Rethinking metrics: metrics 2.0
Rethinking metrics: metrics 2.0Rethinking metrics: metrics 2.0
Rethinking metrics: metrics 2.0
 
Metrics 2.0 @ Monitorama PDX 2014
Metrics 2.0 @ Monitorama PDX 2014Metrics 2.0 @ Monitorama PDX 2014
Metrics 2.0 @ Monitorama PDX 2014
 
Business Dashboards using Bonobo ETL, Grafana and Apache Airflow
Business Dashboards using Bonobo ETL, Grafana and Apache AirflowBusiness Dashboards using Bonobo ETL, Grafana and Apache Airflow
Business Dashboards using Bonobo ETL, Grafana and Apache Airflow
 
Architecture for scalable Angular applications
Architecture for scalable Angular applicationsArchitecture for scalable Angular applications
Architecture for scalable Angular applications
 
So You Want to Write an Exporter
So You Want to Write an ExporterSo You Want to Write an Exporter
So You Want to Write an Exporter
 
Anais Dotis-Georgiou & Faith Chikwekwe [InfluxData] | Top 10 Hurdles for Flux...
Anais Dotis-Georgiou & Faith Chikwekwe [InfluxData] | Top 10 Hurdles for Flux...Anais Dotis-Georgiou & Faith Chikwekwe [InfluxData] | Top 10 Hurdles for Flux...
Anais Dotis-Georgiou & Faith Chikwekwe [InfluxData] | Top 10 Hurdles for Flux...
 
[1D6]RE-view of Android L developer PRE-view
[1D6]RE-view of Android L developer PRE-view[1D6]RE-view of Android L developer PRE-view
[1D6]RE-view of Android L developer PRE-view
 
Grill at bigdata-cloud conf
Grill at bigdata-cloud confGrill at bigdata-cloud conf
Grill at bigdata-cloud conf
 
Introduction to Mahout
Introduction to MahoutIntroduction to Mahout
Introduction to Mahout
 
Introduction to Mahout given at Twin Cities HUG
Introduction to Mahout given at Twin Cities HUGIntroduction to Mahout given at Twin Cities HUG
Introduction to Mahout given at Twin Cities HUG
 
Digital analytics with R - Sydney Users of R Forum - May 2015
Digital analytics with R - Sydney Users of R Forum - May 2015Digital analytics with R - Sydney Users of R Forum - May 2015
Digital analytics with R - Sydney Users of R Forum - May 2015
 
Flyte kubecon 2019 SanDiego
Flyte kubecon 2019 SanDiegoFlyte kubecon 2019 SanDiego
Flyte kubecon 2019 SanDiego
 
Cascading talk in Etsy (http://www.meetup.com/cascading/events/169390262/)
Cascading talk in Etsy (http://www.meetup.com/cascading/events/169390262/)Cascading talk in Etsy (http://www.meetup.com/cascading/events/169390262/)
Cascading talk in Etsy (http://www.meetup.com/cascading/events/169390262/)
 
Model-based GUI testing using UPPAAL
Model-based GUI testing using UPPAALModel-based GUI testing using UPPAAL
Model-based GUI testing using UPPAAL
 
Simplify Feature Engineering in Your Data Warehouse
Simplify Feature Engineering in Your Data WarehouseSimplify Feature Engineering in Your Data Warehouse
Simplify Feature Engineering in Your Data Warehouse
 
No more struggles with Apache Spark workloads in production
No more struggles with Apache Spark workloads in productionNo more struggles with Apache Spark workloads in production
No more struggles with Apache Spark workloads in production
 
Monitoring using Prometheus and Grafana
Monitoring using Prometheus and GrafanaMonitoring using Prometheus and Grafana
Monitoring using Prometheus and Grafana
 
Easy path to machine learning
Easy path to machine learningEasy path to machine learning
Easy path to machine learning
 
Data visualization in python/Django
Data visualization in python/DjangoData visualization in python/Django
Data visualization in python/Django
 
TransmogrifAI - Automate Machine Learning Workflow with the power of Scala an...
TransmogrifAI - Automate Machine Learning Workflow with the power of Scala an...TransmogrifAI - Automate Machine Learning Workflow with the power of Scala an...
TransmogrifAI - Automate Machine Learning Workflow with the power of Scala an...
 

More from Dieter Plaetinck

Metrics stack 2.0
Metrics stack 2.0Metrics stack 2.0
Metrics stack 2.0
Dieter Plaetinck
 
Metrics 2.0 & Graph-Explorer
Metrics 2.0 & Graph-ExplorerMetrics 2.0 & Graph-Explorer
Metrics 2.0 & Graph-Explorer
Dieter Plaetinck
 

More from Dieter Plaetinck (6)

Grafana 7.0 Preview - Meetup Tel Aviv Yafo
Grafana 7.0 Preview - Meetup Tel Aviv YafoGrafana 7.0 Preview - Meetup Tel Aviv Yafo
Grafana 7.0 Preview - Meetup Tel Aviv Yafo
 
Graphite & Metrictank - Meetup Tel Aviv Yafo
Graphite & Metrictank - Meetup Tel Aviv YafoGraphite & Metrictank - Meetup Tel Aviv Yafo
Graphite & Metrictank - Meetup Tel Aviv Yafo
 
Next generation alerting and fault detection, SRECon Europe 2016
Next generation alerting and fault detection, SRECon Europe 2016Next generation alerting and fault detection, SRECon Europe 2016
Next generation alerting and fault detection, SRECon Europe 2016
 
Alerting in Grafana, Grafanacon 2015
Alerting in Grafana, Grafanacon 2015Alerting in Grafana, Grafanacon 2015
Alerting in Grafana, Grafanacon 2015
 
Metrics stack 2.0
Metrics stack 2.0Metrics stack 2.0
Metrics stack 2.0
 
Metrics 2.0 & Graph-Explorer
Metrics 2.0 & Graph-ExplorerMetrics 2.0 & Graph-Explorer
Metrics 2.0 & Graph-Explorer
 

Recently uploaded

Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
chumtiyababu
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
Kamal Acharya
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 

Recently uploaded (20)

Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 

Rethinking metrics: metrics 2.0 @ Lisa 2014