A detailed presentation on an analytics tool called librato. Detailed discussion on how to get metrics documented and create instruments, dashboards and Alerts
3. Importance of Analytics ??
❖ War is ninety percent information
— Napolean Bonaparte, French military and political leader
❖ In God we trust, rest all must bring data
—W. Edawards Deming
❖ The goal is to turn data into information and information
into insight
—Carly Fiorina, Former CEO, HP
❖ The price of light is less than the cost of darkness
— Arthur C.Nielsen, Market Researcher & Founder of ACNielsen
4. Librato - Analytics. Why ?
❖ Easy Data Collection
❖ Composite Metrics
❖ Beautiful Visual Insights
❖ Alerts
❖ Rich source for Integration
❖ Easy Bookmarking and Sharing
5. Metrics
❖ The primary data that a client send to Librato.
❖ Anything recorded on Librato
❖ Can be pulled in via
1. Command Line
2. Language Bindings
3. Collection Agents
6. Types of Metrics
Gauge
❖ Value varies between known min and max
❖ Series of measurements where each represents value under observation at one point in
time
❖ Examples are - number of requests/second sent by a device, current disk space, %CPU
utilization etc.
Counters
❖ Values are unbounded and always monotonically increasing in a given run
❖ Values are plotted
❖ Librato only plots the delta for counters.
❖ Example - Number of bytes tranferred and received on each network port of router.
Data bytes increase here monotonically.
7. Programing Time - Lets get some data in there !!
❖ We shall quickly see a script that can send in some data
to our libretto account.
❖ We shall send the CPU utilisation and Memory
Utilisation details of the machine over a period of 10
secs
❖ We shall use the API of Librato to send metrics and
execute our script in the terminal.
8. Metrics Management
Attributes
❖ Y - Axis Label
❖ Tooltip Label
❖ Period
❖ Display Min
❖ Display Max
❖ Sample Display Transform
❖ Color
❖ Data Aggregation
❖ Service Side Aggregation
❖ Stack Metric Sources
❖ Gap Detection
9.
10. Instruments - What they are ??
❖ Composite metrics visual representation
❖ They are used to populate the dashboard
❖ Quickly know how the system performs based on the
conglomerated data for related set of metrics
❖ The hierarchy of data collection is as follows
Metrics —> Instruments —> Dashboards
12. Co-Relate
❖ Used for creating Instruments
❖ Select a metric (Click on the + button on the metric to add it to a instrument)
❖ Select a Source Type (Select the sources of the metric that you want to add as a part
of the instrument)
❖ Stream Composition (Choose the aggregate rule for composing the metrics from
various resources in the instruments)
❖ Manage Metric Attributes (Can share a Y axis for multiple metrics)
❖ Maximizing the graph (Use the controls on the co-relate to resize the graphs)
❖ Stacked Graps (When metrics are related we can stack them to see gruoped result)
❖ Display Integral (Shows the value in numbers for the metrics in the period super
imposed on the graph on a instrument)
14. Dashboards
❖ Aggregation Of Instruments for quick view
❖ Can be shared easily with other collaborators
❖ Instruments in a dashboard can be removed, re-
organised and added easily