This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Description
The biggraphite graphite finder is marked as non-local (with the class attribute local=False); as of graphite 1.1.5, if you're using graphite in clustered mode, the frontend sends the local=1 parameter on remote find requests and thus can't ever see anything from biggraphite.
Practically, this means that when I upgraded my frontends from 1.1.4 to 1.1.5, they stopped seeing biggraphite data. I applied the following patch to fix it:
diff --git a/biggraphite/plugins/graphite.py b/biggraphite/plugins/graphite.py
index e5d6c1a..d8821be 100755
--- a/biggraphite/plugins/graphite.py
+++ b/biggraphite/plugins/graphite.py
@@ -261,7 +261,7 @@ class Reader(BaseReader):
class Finder(BaseFinder):
"""Finder plugin for BigGraphite."""
- local = False
+ local = True
def __init__(
self, directories=None, accessor=None, metadata_cache=None, carbonlink=None
I actually can't find where in the 1.1.4 to 1.1.5 transition the local=1 flag started getting set, but it worked before and doesn't work now, so shrug.
If you're curious, the architecture looks something like
