graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #03180
Re: [Question #208654]: nPercentile does not render
Question #208654 on Graphite changed:
https://answers.launchpad.net/graphite/+question/208654
Dennis gave more information on the question:
plotting:
nPercentile(acct_in.KPN_Transit.0-bytes,0.95)
result:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/opt/graphite/webapp/graphite/render/views.py", line 104, in renderView
seriesList = evaluateTarget(requestContext, target)
File "/opt/graphite/webapp/graphite/render/evaluator.py", line 10, in evaluateTarget
result = evaluateTokens(requestContext, tokens)
File "/opt/graphite/webapp/graphite/render/evaluator.py", line 21, in evaluateTokens
return evaluateTokens(requestContext, tokens.expression)
File "/opt/graphite/webapp/graphite/render/evaluator.py", line 29, in evaluateTokens
return func(requestContext, *args)
File "/opt/graphite/webapp/graphite/render/functions.py", line 1286, in nPercentile
name = 'nPercentile(%s, %.1f)' % (n, s_copy.name, perc_val)
TypeError: float argument required, not str
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.