Wondering how to graph a straight line in order to mark a code release.

Asked by Michael DePuy

My math skills are terrible so I was hoping you guys could help. I am just looking to put a marker into graphite that shows a straight line indicating that a specific event happened.

Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
chrismd (chrismd) said :
#1

The "standard" approach to this is to have create metric that has a non-zero value whenever some event occurs (ie. events.prod.deploy_started) and then to simply add this metric to your graphs and wrap it in a drawAsInfinite() call. That will make every non-zero value be a straight vertical line.

That said, there has been recent work in trunk to add proper support for an Event datatype that is managed by django's db models rather than hacked into the time-series storage system. If you're interested I would suggest asking Lucio or others about this on #graphite on freenode. Otherwise it should be documented in the next release.

Can you help with this problem?

Provide an answer of your own, or ask Michael DePuy for more information if necessary.

To post a message you must log in.