Open for Voting

PERFSTACK: Allow boolean metrics

There may be a workaround for this, if so please let me know in the comments.

It would be extremely helpful to able to add a metric that is True/False (1/0) and displays as a vertical line to a perfstack chart.

So if I am monitoring for a reboot event, I write a True (1) value, otherwise it is false (0)... basically a way to have event flags mapped in a chart:

boolean_metric.png

  • Brainstorming a workaround: Poller evaluates for condition (presence of an event in time window, etc), when a true condition exists create two entries with values 0% and 100%, separated by a second.  Write nothing when the condition is false. This would give you marker lines that are slightly slanted forward, but at the correct positions on the base line.  Just not sure how to make a custom SAM template that would accomplish that, especially the part of writing two entries or none at all... not exactly a normal use case for polling.

  • Yep, a lot of ways this could be useful!  Another example: scheduled application event markers - in one system we get specific log messages for batch job start and job end times.  If I setup one custom poller for job starts and another for job ends, I now have the ability to mark on a database server metric or app specific metric where the batch processing started and ended:

    boolean_stop_start_ex.png

    And the fact that the existing functionality is to not draw where data is missing on a metric works in our favor for this feature request.  At the very least an opportunity to keep data growth due to additional pollers minimized.

  • So, if I'm reading this right you would like to be able to trigger an event and see the effects of the before and after on various metrics. Sounds like a practical idea.I can see that valuable to see in real time what happens to a cluster when one is pulled out or one is added.