Page MenuHomePhabricator

some gdash images are broken (500 ISE from graphite)
Closed, DeclinedPublic

Description

https://gdash.wikimedia.org/dashboards/filebackend/ uses a few broken images. (500 ISE)

One example:

https://graphite.wikimedia.org/render/?title=LockManager%20Sampled%20Call%20Rate%20log%282%29%20-8hours&from=-8hours&width=1024&height=500&until=now&areaMode=none&hideLegend=false&logBase=2&lineWidth=1&lineMode=connected&target=cactiStyle%28LockManager.*.count%29

Graphite encountered an unexpected error while handling your request.

Please contact your site administrator if the problem persists.

Traceback (most recent call last):

File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py", line 92, in get_response
  response = callback(request, *callback_args, **callback_kwargs)
File "/opt/graphite/webapp/graphite/render/views.py", line 105, 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 575, in cactiStyle
  lastLen = max([len(repr(int(safeLast(series)))) for series in seriesList]) + 3

TypeError: int() argument must be a string or a number, not 'NoneType'


Version: wmf-deployment
Severity: normal
URL: https://gdash.wikimedia.org/dashboards/filebackend/

Details

Reference
bz57174

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:18 AM
bzimport set Reference to bz57174.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to jeremyb from comment #0)

https://gdash.wikimedia.org/dashboards/filebackend/ uses a few broken
images. (500 ISE)

Cannot see any obvious brokenness on https://gdash.wikimedia.org/dashboards/filebackend/ - still an issue?

(In reply to Andre Klapper from comment #1)

Cannot see any obvious brokenness on
https://gdash.wikimedia.org/dashboards/filebackend/ - still an issue?

The broken (500) in comment 0 now says No Data with a 200 response.

The closest match in the current filebackend page is a slightly different target param and that returns a plausible graph.

(target changed from cactiStyle(LockManager.*.count) to cactiStyle(MediaWiki.LockManager.*.count); I guess that was done in puppet at some point since filing)