← Back to team overview

graphite-dev team mailing list archive

Re: [Question #175552]: stats data started to be much behind after updating to 0.9.9

 

Question #175552 on Graphite changed:
https://answers.launchpad.net/graphite/+question/175552

Aaron Sterr proposed the following answer:
I have tracked this problem down in my installation to use of symbolic
links in my metric storage.

METRIC NAME: carbon.agents.ny2-laa-005_dev_tradingscreen_com-a.committedPoints
TRUNCATED:    s.ny2-laa-005_dev_tradingscreen_com-a.committedPoints

The code that is truncating the name is in storage.py (in __init__)

  if real_fs_path != self.fs_path:
    relative_fs_path = self.metric_path.replace('.', '/') + self.extension
    base_fs_path = realpath(self.fs_path[ :-len(relative_fs_path) ])
    relative_real_fs_path = real_fs_path[ len(base_fs_path)+1: ]
    self.real_metric = relative_real_fs_path[ :-len(self.extension) ].replace('/', '.') 


Here are my install details:

FILENAME: /data/psgapps/graphite/storage/whisper/carbon/agents/ny2-laa-
005_dev_tradingscreen_com-a/committedPoints.wsp

SYMLINK: 
/data/psgapps/graphite/storage/whisper/carbon -> /data/versions/graphitedata00/whisper/carbon

REALFILE:
/data/versions/graphitedata00/whisper/carbon/agents/ny2-laa-005_dev_tradingscreen_com-a/committedPoints.wsp

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.