You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.
Hi, the commit 2 months ago (fdc6d17) to address the alignment problem when Graphite fails to find values for the requested metric has an undesirable side effect when composite functions are chained together in a query for a metric (like for example a sumSeries on 2 metrics):
Graphite does not necessarily return the parameters requested in the same order in the JSON returned and so the underscorejs find function can fail (I presume Graphite does some kind of sorting). Graphite also seems to like injecting space characters inconsistently too:
A temporary workaround I'm implementing at the moment is to adjust my dashboard config to use the ordering that's sent back from Graphite, but it's something worth considering, or flagging as a gotcha when working with Graphite.
Adam
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, the commit 2 months ago (fdc6d17) to address the alignment problem when Graphite fails to find values for the requested metric has an undesirable side effect when composite functions are chained together in a query for a metric (like for example a sumSeries on 2 metrics):
Graphite does not necessarily return the parameters requested in the same order in the JSON returned and so the underscorejs find function can fail (I presume Graphite does some kind of sorting). Graphite also seems to like injecting space characters inconsistently too:
/render/?target=sumSeries(api.foo.rate,api.bar.rate)
JSON:
[
{
target: "sumSeries(api.bar.rate,api.foo.rate)"
.... etc
}
]
A temporary workaround I'm implementing at the moment is to adjust my dashboard config to use the ordering that's sent back from Graphite, but it's something worth considering, or flagging as a gotcha when working with Graphite.
Adam
The text was updated successfully, but these errors were encountered: