#2 Understanding the Developer’s Role
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…
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
Buckets - Each stat is in its own "bucket". They are not
Values - Each stat will have a value.
Flush - After the flush interval timeout, stats are aggregated
and sent to an upstream backend service.
An all-in-one solution for storing and visualizing realtime time-
series data in an efficient manner.
dashboard for our
metrics and a
powerful plotting API.
The core of Graphite.
It consists of set of
three processes that
take care of receiving
aggregating it and
persisting it to disk.
An efficient time-
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.
Pattern = .count$
retentions = 10s:6h;1m:7d;1h:1y,1d:5y
Carbon Aggregation Rules
aggregationMethod = sum
Avergage, Min, Max etc.