graphite-web error in fetch

Open
#45 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
15/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
clickhouse, django, python
Domain
backend, databases

Research direction

Start by reproducing the /graphite/render/ failure for the target local.random.diceroll, then read graphite/render/views.py, evaluator.py, datalib.py, and storage.py at the traceback locations. The issue provides no configuration, reproduction steps beyond the traceback, or acceptance criterion, so completion would require identifying the failed fetch and defining a verified fix.

Written by the indexing model from the issue text.

Description

I'm trying to configure graphite-web to read data but I got an exception

Internal Server Error: /graphite/render/ Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/exception.py", line 41, in inner response = get_response(request) File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 187, in _get_response response = self.process_exception_by_middleware(e, request) File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 185, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/opt/graphite/webapp/graphite/render/views.py", line 121, in renderView data.extend(evaluateTarget(requestContext, targets)) File "/opt/graphite/webapp/graphite/render/evaluator.py", line 14, in evaluateTarget prefetchData(requestContext, pathExpressions) File "/opt/graphite/webapp/graphite/render/datalib.py", line 255, in prefetchData for result in STORE.fetch(pathExpressions, startTime, endTime, now, requestContext): File "/opt/graphite/webapp/graphite/storage.py", line 100, in fetch raise Exception('All fetches failed for %s' % (str(patterns))) Exception: All fetches failed for [u'local.random.diceroll']

Dominant language
Java
Stars
260
Forks
55
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ClickHouse/graphouse

All issues in ClickHouse/graphouse

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.