SlideShare a Scribd company logo
Сбор и обработка
клиентских метрик
I am
● Many years in IT :)
● FullStack Developer
● JavaScript, NodeJS, AngularJS, etc …
● Independent contractor/IT Expert/CTO
● Pet projects: IoT, Arduino, Hardware, etc …
Why?
What?
● DomainLookup
● TTFB
● DOMContentLoaded
● Load
● ….
● Custom metrics
Gathering of client side metrics
Dev tools
Your Client Matters
● Browser
● Locations
● CDN
● Server loading
● etc
PerformanceTiming
● performance.timing.xxx (read-only)
● DOMHighResTimeStamp type - microseconds
● https://developer.mozilla.org/en-
US/docs/Web/API/PerformanceTiming
PerformanceTiming
timing.js
● helpers
● Normalizes firstPaint, etc ..
● https://github.com/addyosmani/timing.js/
Custom metrics
● performance.mark(markName)
● performance.measure(name, startMark, endMark);
● getEntries(); getEntriesByName(); getEntriesByType();
<body>
<script>performance.mark(‘startNavigation’);</script>
<div class=”navigationBlock”> … </div>
<script>performance.mark(‘endNavigation’); performance.measure(‘navigationTime’,
‘startNavigation’, ‘endNavigation’);</script>
</body>
Sending ...
● to server
● ajax, web sockets, …
● is there a standard?
etsy/statsd
● node.js
● http/udp
● Third-party backends
etsy/statsd
● node.js
● http/udp
● Third-party backends
● <metricname>:<value>|<type>
etsy/statsd
● node.js
● http/udp
● Third-party backends
● <metricname>:<value>|<type>
● Counting - gorets:1|c
etsy/statsd
● node.js
● http/udp
● Third-party backends
● <metricname>:<value>|<type>
● Counting - gorets:1|c
● Sampling - gorets:1|c|@0.1
etsy/statsd
● node.js
● http/udp
● Third-party backends
● <metricname>:<value>|<type>
● Counting - gorets:1|c
● Sampling - gorets:1|c|@0.1
● Timing - glork:320|ms|@0.1
etsy/statsd
● node.js
● http/udp
● Third-party backends
● <metricname>:<value>|<type>
● Counting - gorets:1|c
● Sampling - gorets:1|c|@0.1
● Timing - glork:320|ms|@0.1
● Gauges - gaugor:333|g gaugor:-10|g
etsy/statsd
● node.js
● http/udp
● Third-party backends
● <metricname>:<value>|<type>
● Counting - gorets:1|c
● Sampling - gorets:1|c|@0.1
● Timing - glork:320|ms|@0.1
● Gauges - gaugor:333|g gaugor:-10|g
● https://github.com/etsy/statsd
Graphite
● https://graphite.readthedocs.io/en/latest/
● Store numeric time-series data
● Render graphs of this data on demand
Graphite
Grafana
● Beautiful metric & analytic dashboards
● http://grafana.org/
Finally
Questions?
● e-mail: gleb.vinnikov@gmail.com
● blog: http://vinnikov.net
● https://www.facebook.com/gleb.vinnikov

More Related Content

PDF
NODE JS OC Meetup 1
PDF
bongaus.fi - Spotting Service Powered by Django
PPTX
Javascript basics
PDF
GWT - Building Rich Internet Applications Using OO Tools
PPTX
Performance & dev tools
PDF
Dot Net Training in Chennai
PDF
тревел лайфхаки
PDF
Tooling Matters - Development tools
NODE JS OC Meetup 1
bongaus.fi - Spotting Service Powered by Django
Javascript basics
GWT - Building Rich Internet Applications Using OO Tools
Performance & dev tools
Dot Net Training in Chennai
тревел лайфхаки
Tooling Matters - Development tools

Similar to Gathering of client side metrics (20)

PPTX
Using Modern Browser APIs to Improve the Performance of Your Web Applications
PDF
Baby steps to Domain-Driven Design
PDF
Intro to meteor @py gotham Aug 15-16 2015
PDF
Front-End Developer's Career Roadmap
PDF
Web App Prototypes with Google App Engine
PPTX
Parallel programing in web applications - public.pptx
PPTX
Nightwatch 101 - Salvador Molina
PDF
Dart the better Javascript 2015
PDF
EuroPython 2013 - FAST, DOCUMENTED AND RELIABLE JSON BASED WEBSERVICES WITH P...
PDF
Android Made Simple
PDF
Programming for non tech entrepreneurs
PDF
Metrics
PDF
Client vs Server Templating: Speed up initial load for SPA with Angular as an...
PPTX
Go bei der 4Com GmbH & Co. KG
PPTX
Hands on react native
PDF
React fristy day learn basic NM_Day01.pdf
PPTX
An overview of node.js
PPTX
Node.js Web Apps @ ebay scale
PDF
HTML, CSS & Javascript Architecture (extended version) - Jan Kraus
Using Modern Browser APIs to Improve the Performance of Your Web Applications
Baby steps to Domain-Driven Design
Intro to meteor @py gotham Aug 15-16 2015
Front-End Developer's Career Roadmap
Web App Prototypes with Google App Engine
Parallel programing in web applications - public.pptx
Nightwatch 101 - Salvador Molina
Dart the better Javascript 2015
EuroPython 2013 - FAST, DOCUMENTED AND RELIABLE JSON BASED WEBSERVICES WITH P...
Android Made Simple
Programming for non tech entrepreneurs
Metrics
Client vs Server Templating: Speed up initial load for SPA with Angular as an...
Go bei der 4Com GmbH & Co. KG
Hands on react native
React fristy day learn basic NM_Day01.pdf
An overview of node.js
Node.js Web Apps @ ebay scale
HTML, CSS & Javascript Architecture (extended version) - Jan Kraus
Ad

Recently uploaded (20)

PPT
FIRE PREVENTION AND CONTROL PLAN- LUS.FM.MQ.OM.UTM.PLN.00014.ppt
PPTX
Top Website Bugs That Hurt User Experience – And How Expert Web Design Fixes
PPTX
Cyber Hygine IN organizations in MSME or
PDF
Top 8 Trusted Sources to Buy Verified Cash App Accounts.pdf
PDF
📍 LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1 TERPOPULER DI INDONESIA ! 🌟
PPTX
KSS ON CYBERSECURITY INCIDENT RESPONSE AND PLANNING MANAGEMENT.pptx
PPTX
curriculumandpedagogyinearlychildhoodcurriculum-171021103104 - Copy.pptx
PPTX
1402_iCSC_-_RESTful_Web_APIs_--_Josef_Hammer.pptx
PPTX
Internet Safety for Seniors presentation
PPTX
The-Importance-of-School-Sanitation.pptx
PDF
Containerization lab dddddddddddddddmanual.pdf
PDF
si manuel quezon at mga nagawa sa bansang pilipinas
PPTX
Reading as a good Form of Recreation
PPTX
Mathew Digital SEO Checklist Guidlines 2025
PPTX
newyork.pptxirantrafgshenepalchinachinane
PDF
Uptota Investor Deck - Where Africa Meets Blockchain
PDF
The Evolution of Traditional to New Media .pdf
PPTX
Introduction to cybersecurity and digital nettiquette
PPT
250152213-Excitation-SystemWERRT (1).ppt
PDF
Course Overview and Agenda cloud security
FIRE PREVENTION AND CONTROL PLAN- LUS.FM.MQ.OM.UTM.PLN.00014.ppt
Top Website Bugs That Hurt User Experience – And How Expert Web Design Fixes
Cyber Hygine IN organizations in MSME or
Top 8 Trusted Sources to Buy Verified Cash App Accounts.pdf
📍 LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1 TERPOPULER DI INDONESIA ! 🌟
KSS ON CYBERSECURITY INCIDENT RESPONSE AND PLANNING MANAGEMENT.pptx
curriculumandpedagogyinearlychildhoodcurriculum-171021103104 - Copy.pptx
1402_iCSC_-_RESTful_Web_APIs_--_Josef_Hammer.pptx
Internet Safety for Seniors presentation
The-Importance-of-School-Sanitation.pptx
Containerization lab dddddddddddddddmanual.pdf
si manuel quezon at mga nagawa sa bansang pilipinas
Reading as a good Form of Recreation
Mathew Digital SEO Checklist Guidlines 2025
newyork.pptxirantrafgshenepalchinachinane
Uptota Investor Deck - Where Africa Meets Blockchain
The Evolution of Traditional to New Media .pdf
Introduction to cybersecurity and digital nettiquette
250152213-Excitation-SystemWERRT (1).ppt
Course Overview and Agenda cloud security
Ad

Gathering of client side metrics