2016-06-21 111 views
1

我得到這個錯誤與每一個參數組合我嘗試 「mapSeries」石墨誤差MapSeries

使用石墨v0.9.15

示例URL -
http://myGraphite/render/?width=586&height=308&target=mapSeries(server.server1.route.root.admin.%2A.invocation_count,5)&from=-6h&until=now&format=json

另外一個 -
http://myGraphite/render/?width=586&height=308&target=mapSeries(server.%2A.route.root.admin.%2A.invocation_count,1)&from=-6h&until=now&format=json

Traceback (most recent call last): 
    File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 109, in get_response 
    response = callback(request, *callback_args, **callback_kwargs) 
    File "/opt/graphite/webapp/graphite/render/views.py", line 125, 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'mapSeries' 

回答

1

我已經發現「mapSeries」在0.9.x分支中不可用。 它在0.10.x分支。

+0

是的。 mapSeries&reduceSeries已添加到1.0.0中,並且不存在於0.9.15中:http://graphite.readthedocs.io/en/latest/releases/1_0_0.html#new-render-functions – 7yl4r