Threshold function breaks graph rendering

Bug #911334 reported by Chris Hoffman
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Graphite
Fix Released
Low
Unassigned

Bug Description

When the function threshold() is applied, the graph no longer renders. I have tried it on a bunch of different stats and all resulted in a broken graph.

The function looks like this:

threshold(stats.type.subtype, 100)

Tags: render
Revision history for this message
Lance Reed (reed-r-lance) wrote : Re: [Bug 911334] [NEW] Threshold function breaks graph rendering

Others may chime in, but the I have the threshold function working
with the following syntax:

threshold(VALUE,"SOME_TEXT")

e.g.
threshold(1000,"1 Second Baseline")

This draws a solid line for me when using Milliseconds in a timing /
response graph.

Hope that helps.

On Tue, Jan 3, 2012 at 11:33 AM, Chris Hoffman
<email address hidden> wrote:
> Public bug reported:
>
> When the function threshold() is applied, the graph no longer renders.
> I have tried it on a bunch of different stats and all resulted in a
> broken graph.
>
> The function looks like this:
>
> threshold(stats.type.subtype, 100)
>
> ** Affects: graphite
>     Importance: Undecided
>         Status: New
>
>
> ** Tags: render
>
> --
> You received this bug notification because you are subscribed to
> Graphite.
> https://bugs.launchpad.net/bugs/911334
>
> Title:
>  Threshold function breaks graph rendering
>
> Status in Graphite - Enterprise scalable realtime graphing:
>  New
>
> Bug description:
>  When the function threshold() is applied, the graph no longer renders.
>  I have tried it on a bunch of different stats and all resulted in a
>  broken graph.
>
>  The function looks like this:
>
>  threshold(stats.type.subtype, 100)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/graphite/+bug/911334/+subscriptions

Revision history for this message
Chris Hoffman (christopher-hoffman) wrote :

Ok, it looks like that does work. I guess the Graphite Composer make it looks like you are applying a function on a stat value and asks for a value. I guess the only way to add it is through the 'Add' dialog and not through the 'Special' functions wizard.

Revision history for this message
Michael Leinartas (mleinartas) wrote :

I removed threshold from the menu a while back in trunk (r723) as there's no way with the current menu implementation to add functions which are independent targets themselves. I'm going to mark this as closed for now.

Revision history for this message
Michael Leinartas (mleinartas) wrote :

Invalid menu item removed in r723

Changed in graphite:
importance: Undecided → Low
milestone: none → 0.9.10
status: New → Fix Committed
Changed in graphite:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.