Metrics

everywhere


by Ingar Abrahamsen

inspired by Coda Hale

What is metrics?

and what's all the fuzz about?

It's Numbers!

It's Stats!

It's Fun!

It's Useful!

code

business value

Money

Tells the trough about

What we believe

&

What's real

When

It Run

In Production

Find the bottleneck

The page loads slow.
It takes many seconds before anything comes up

A third party API

The JS template rendering

SQL Query

The new virtual machine park

A third party API ~ 4000 ms

The JS template rendering ~ 1 ms

SQL Query ~ 15ms

The new virtual machine park ~ 6% cpu load

What can we measure?

Responsetimes

Business transaction

Online or active users

SLA

Whatever you find useful...

Okey, what now!

aggregate it!

graph it!

Analyze it!

Gauges

Counters

Meter

Histogram

Timer

Tooling!

Dropwizard Metrics
Graphite, Grafana (Web frontend)
ElasticSearch & Kibana
Google analytics