Skip to content

Commit

Permalink
Cherry-pick a change from lp:~drawks/graphite/graphite-perf
Browse files Browse the repository at this point in the history
Remove path normalization (removing double-dots) on incoming metrics
  • Loading branch information
mleinart committed Apr 22, 2012
2 parents dcd7a3e + b2baa57 commit 55e85bc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion carbon/lib/carbon/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def __setitem__(self, key, value):
raise TypeError("Use store() method instead!")

def store(self, metric, datapoint):
metric = '.'.join(part for part in metric.split('.') if part) # normalize the path
try:
self.lock.acquire()
self.setdefault(metric, []).append(datapoint)
Expand Down

0 comments on commit 55e85bc

Please sign in to comment.