Download - Webcast Slides: All About StatsD
WEBCAST:All About StatsD
October 2, 2012
Monday, October 8, 12
Agenda
• StatsD: What’s the big deal & why should I care?
• Why did we create AppFirst StatsD?• How does it differ from other StatsD versions?• Can I use “normal” StatsD?• What’s the key to success? (Hint: namespace)
• How do you turn StatsD into beautiful visuals?
2
Monday, October 8, 12
Where Did StatsD Come From?
3
“We’ve found that tracking everything is key to moving fast, but
the only way to do it is to make tracking anything easy. Using StatsD, we enable
engineers to track what they need to track, at the drop of a hat, without requiring time-
sucking con!guration changes or complicated processes.”
https://github.com/etsy/statsd
Monday, October 8, 12
Why is StatsD So Cool?
• Powerful way to get any data out of your application
• Super simple to use
• Service that “listens” for stats and sends using UDP to Graphite and other backends
• Stats collected• Counters - increment or decrement• Timers - • Gauges - arbitrary value
• Easy to export any data from an application
4
Monday, October 8, 12
Why Did We Create AppFirst StatsD?
• Uses the AppFirst collector to send data to the AppFirst backend• Guaranteed delivery• Encrypted
• Extended StatsD -- additional "eld for messages• login: 1|c|X|pamela@app"rst.com• Supports Timers, Counters and Gauges
• AppFirst StatsD client libraries available today• Java• C#• Python
• More coming soon!
5
Monday, October 8, 12
AppFirst StatsD vs “Normal” StatsD
6
Monday, October 8, 12
AppFirst StatsD Example
StatsdClient client = new AFClient();client.increment("user_searches", "1", “/Documents/My Important Doc”);
7
Monday, October 8, 12
Working with “Normal” StatsD
1. Add the following line in your /etc/AppFirst "le:StatsDPassThrough TRUE
2. Restart the collectorAdministration -> Services -> AppAccess -> Restartsudo /etc/init.d/afcollector restart
3. Change StatsD con"guration to send to LOCAL HOST and not the ip address of Graphite (or whatever backend you are using)
8
Monday, October 8, 12
Best Practices
• Namespace = buckets in StatsD lingo
• Hierarchy is explicit and designed to do aggregations• Examples:
• prod.myapp.web.logins• prod.myapp.web.failed_logins• prod.myapp.db.X• prod.myapp.db.Y• prod.newapp.• dev.myapp.
9
Monday, October 8, 12
How It Works
** Patent Pending** Patent Pending
10
Monday, October 8, 12
Visibility At Every Level, For Every Role
11
Monday, October 8, 12
Creating Beautiful Visuals.....
12
Monday, October 8, 12
Additional Features
Auto-Detect Application Stacks
Smart Thresholds
Get Started in Minutes
13
Monday, October 8, 12
Pricing
14
Monday, October 8, 12
Thanks for Attending
Maximizing the DevOps Dashboard
1.800.782.2181 x108
pamela@app"rst.com
15
Monday, October 8, 12