blog/content/2012/02/2012-02-08_vertical_bars_in_graphite.rst

16 lines
869 B
ReStructuredText
Raw Normal View History

2022-10-17 03:02:04 +00:00
Vertical Bars In Graphite
#########################
:date: 2012-02-08 15:10
:author: tyrel
:category: Tech
:tags: graphite, txStatsD
2022-10-17 03:34:35 +00:00
:slug: 2012-02-08-vertical-bars-in-graphite
2022-10-17 03:02:04 +00:00
:status: published
I am working with txStatsD and Graphite. I was having the hardest problem looking through the txStatsD code today finding how to graph something as an event, not a data point. I eventually went into every option on the graphite dashboard and found an option to make a bar.
.. figure:: {static}/images/2012-02-08_graphite_menu.png
:alt: menu in graphite showing draw nonzero as infinite
This is the option that you must use when you want to mark events. For example we want to know “Server restarted”, we would use this technique, as it doesnt make sense to aggregate “server restarted”. Using nonzero as infinite is a good way to show an event took place.