We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is legendValue's definition:
legendValue(seriesList, *valueTypes)
This test for legendValue panics:
{ "legendValue(metric1,\"foo\")", map[parser.MetricRequest][]*types.MetricData{ {"metric1", 0, 1}: {types.MakeMetricData("metric1", []float64{1, 2, 3, 4, 5}, 1, now32)}, }, []*types.MetricData{types.MakeMetricData("metric1 (avg: 3)", []float64{1, 2, 3, 4, 5}, 1, now32).SetNameTag("metric1")}, },
because foo is not any of last, avg, total, min, max. It should return a nice error instead of panicking.
foo
last, avg, total, min, max
The text was updated successfully, but these errors were encountered:
@carrieedwards was this fixed? I can't find any PR that addressed this
Sorry, something went wrong.
Ah, my apologies, I thought this was referring to a different issue that had been fixed. I'll re-open
This was fixed here #102
No branches or pull requests
This is legendValue's definition:
This test for legendValue panics:
because
foo
is not any oflast, avg, total, min, max
. It should return a nice error instead of panicking.The text was updated successfully, but these errors were encountered: