Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Real-Time Monitoring with Grafana, StatsD and InfluxDB

Real-Time Monitoring with Grafana, StatsD and InfluxDB

We can take a glimpse at our applications or we can truly see them. We have a choice.

Our path is laden with problems and, when they arise, the first place to run is the log. The log is straightforward when the systems are small, but when we start to scale… the more users we get, the more data we will have to go through, and finding what we need is like staring at a well-stocked library, looking at the book titles, wondering which one could possibly have the information we need.

I’d like to suggest an alternative: the combination of StatsD, a platform that collects data to build statistics, and Grafana. It allows us to create beautiful, interactive dashboards that support pluggable panels.

This talk is not only focused on the theory behind these tools but also in the experience we had with them at Youse. I will present the tools (and the alternative tools too), explain how to use them and show the code we need to measure the events we want to track. A chart will be build from scratch, starting with an event on the system and ending in a beautiful dashboard.

All the code is in Ruby. We use Ruby on Rails on our applications and we found good open source libraries to build and maintain the monitoring system.


Artur Caliendo Prado

November 17, 2017


  1. http://arturprado.com/

  2. None
  3. None
  4. None
  5. Artur Caliendo Prado http://arturprado.com/ artur.prado@youse.com.br @artur.prado @artur_caliendo @arturcp

  6. Monitoração em tempo real com Grafana, StatsD e InfluxDB

  7. None
  8. Abril, 2016 O despertar

  9. None
  10. Compre de pessoas criativas em todos os lugares "Se algo

    se move, a gente mede"
  11. Etsy StatsD: https://github.com/etsy/statsd StatsD Instrument: https://github.com/Shopify/statsd-instrument

  12. None
  13. None
  14. None
  15. None
  16. None
  17. Mostre o Grafana!

  18. None
  19. None
  20. None
  21. None
  22. None
  23. None
  24. None
  25. None
  26. None
  27. None
  28. None
  29. None
  30. None
  31. None
  32. None
  33. None
  34. None
  35. None
  36. None
  37. None
  38. None
  39. None
  40. None
  41. None
  42. None
  43. None
  44. None
  45. None
  46. None
  47. None
  48. Isso é útil?

  49. None
  50. None
  51. None
  52. None
  53. None
  54. None
  55. None
  56. None
  57. None
  58. None
  59. StatsD ou Telegraf?

  60. Count x Sum

  61. Recursos https://www.influxdata.com/ https://github.com/etsy/statsd https://github.com/Shopify/statsd-instrument https://codeascraft.com http://grafana.org/ http://labs.youse.com.br

  62. None
  63. None
  64. http://arturprado.com/ artur.prado@youse.com.br @artur.prado