Have you discovered the power of StatsD yet? Want to learn more about how you can leverage this powerful technology to get deep insights into your business metrics? This webcast is made for you!
StatsD enables you to measure all sorts of interesting things in your environment. We are big fans of its ability to visualize your business metrics -- and have designed our DevOps Dashboard to enable you to see these metrics alongside your infrastructure performance data. Finally, you can get a complete view of what’s really happening thanks to StatsD.
In this webcast you will learn about:
-- How to leverage StatsD to transform your monitoring & management
-- The AppFirst StatsD client libraries
-- What we did to extend them
-- Best practices on setting up a namespace that will grow as your usage grows
-- How to visualize the data in your beautiful DevOps Dashboard so you & everyone on your team can be on the same page
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Webcast Slides: All About StatsD
1. WEBCAST:
All About StatsD
October 2, 2012
Monday, October 8, 12
2. 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
3. Where Did StatsD Come From?
“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 configuration changes or
complicated processes.”
https://github.com/etsy/statsd
3
Monday, October 8, 12
4. 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
5. Why Did We Create AppFirst StatsD?
• Uses the AppFirst collector to send data to the
AppFirst backend
• Guaranteed delivery
• Encrypted
• Extended StatsD -- additional field for messages
• login: 1|c|X|pamela@appfirst.com
• Supports Timers, Counters and Gauges
• AppFirst StatsD client libraries available today
• Java
• C#
• Python
• More coming soon!
5
Monday, October 8, 12
7. AppFirst StatsD Example
StatsdClient
client
=
new
AFClient();
client.increment("user_searches",
"1",
“/Documents/My
Important
Doc”);
7
Monday, October 8, 12
8. Working with “Normal” StatsD
1. Add the following line in your /etc/AppFirst file:
StatsDPassThrough TRUE
2. Restart the collector
Administration -> Services -> AppAccess -> Restart
sudo /etc/init.d/afcollector restart
3. Change StatsD configuration to send to LOCAL HOST and not
the ip address of Graphite (or whatever backend you are using)
8
Monday, October 8, 12
9. 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
10. How It Works
** Patent Pending
** Patent Pending
10
Monday, October 8, 12