Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

'/' is not allowed in graphite names, add it to sanitize

  • Loading branch information...
commit 59c8e558bc9829b7133cb26b75319efb087ba432 1 parent dd42105
@NorthIsUp NorthIsUp authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/greplin/scales/
2  src/greplin/scales/
@@ -46,7 +46,7 @@ def __init__(self, host, port, prefix=None):
def _sanitize(self, name):
"""Sanitize a name for graphite."""
- return name.strip().replace(' ', '-').replace('.', '-')
+ return name.strip().replace(' ', '-').replace('.', '-').replace('/', '_')
def _forbidden(self, path, value):
Please sign in to comment.
Something went wrong with that request. Please try again.