← Back to team overview

graphite-dev team mailing list archive

[Question #227472]: perSecond function returns an exception

 

New question #227472 on Graphite:
https://answers.launchpad.net/graphite/+question/227472

Trying out perSecond(metricName) returns the following exception:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-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 27, in evaluateTokens
    func = SeriesFunctions[tokens.call.func]
KeyError: u'perSecond'

I tried this with wildcard on multiple server and single metric and returns same result.

We're using Graphite 0.9.10.

any help would be much appreciated! 

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.