blog/content/2012-02-08_vertical_bars_in_graphite.rst
2022-10-16 23:02:04 -04:00

16 lines
858 B
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Vertical Bars In Graphite
#########################
:date: 2012-02-08 15:10
:author: tyrel
:category: Tech
:tags: graphite, txStatsD
:slug: vertical-bars-in-graphite
: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.