Skip to content
This repository was archived by the owner on Mar 4, 2022. It is now read-only.
This repository was archived by the owner on Mar 4, 2022. It is now read-only.

cannot get cpu usage to show properly #7

Description

@awright424

I get a an exclamation mark and a response error on that specific panel.
&#10;<center>&#10;<h2>&#10;<p>Graphite encountered an unexpected error while handling your request.</p>&#10;<p>Please contact your site administrator if the problem persists.</p>&#10;</h2>&#10;<br>&#10;<div>&#10;&#10;</div>&#10;&#10;<div>&#10;<pre>Traceback (most recent call last):&#10; File &#34;/usr/lib/python2.7/dist-packages/django/core/handlers/base.py&#34;, line 112, in get_response&#10; response = wrapped_callback(request, *callback_args, **callback_kwargs)&#10; File &#34;/usr/lib/python2.7/dist-packages/graphite/render/views.py&#34;, line 110, in renderView&#10; seriesList = evaluateTarget(requestContext, target)&#10; File &#34;/usr/lib/python2.7/dist-packages/graphite/render/evaluator.py&#34;, line 10, in evaluateTarget&#10; result = evaluateTokens(requestContext, tokens)&#10; File &#34;/usr/lib/python2.7/dist-packages/graphite/render/evaluator.py&#34;, line 21, in evaluateTokens&#10; return evaluateTokens(requestContext, tokens.expression)&#10; File &#34;/usr/lib/python2.7/dist-packages/graphite/render/evaluator.py&#34;, line 28, in evaluateTokens&#10; args = [evaluateTokens(requestContext, arg) for arg in tokens.call.args]&#10; File &#34;/usr/lib/python2.7/dist-packages/graphite/render/evaluator.py&#34;, line 21, in evaluateTokens&#10; return evaluateTokens(requestContext, tokens.expression)&#10; File &#34;/usr/lib/python2.7/dist-packages/graphite/render/evaluator.py&#34;, line 29, in evaluateTokens&#10; return func(requestContext, *args)&#10; File &#34;/usr/lib/python2.7/dist-packages/graphite/render/functions.py&#34;, line 268, in averageSeries&#10; (seriesList,start,end,step) = normalize(seriesLists)&#10; File &#34;/usr/lib/python2.7/dist-packages/graphite/render/functions.py&#34;, line 120, in normalize&#10; step = reduce(lcm,[s.step for s in seriesList])&#10;TypeError: reduce() of empty sequence with no initial value&#10;&#10;</pre>&#10;</div>&#10;&#10;</center>&#10;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions