Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to stop translating '/' to '-' in statsd key? #31

Open
hbprotoss opened this issue Feb 2, 2016 · 2 comments
Open

How to stop translating '/' to '-' in statsd key? #31

hbprotoss opened this issue Feb 2, 2016 · 2 comments

Comments

@hbprotoss
Copy link

We use statsd to measure api time cost and count. I pass http uri as key to statsd, but it seems that influxdb receives data with key translated by statsd.

I comment out line 288 .replace(/\//g, '-') and restart statsd, but still doesn't work

@hbprotoss hbprotoss changed the title Any idea on how to translate '/' to '-' in statsd key? Any idea on how to stop translating '/' to '-' in statsd key? Feb 2, 2016
@hbprotoss hbprotoss changed the title Any idea on how to stop translating '/' to '-' in statsd key? How to stop translating '/' to '-' in statsd key? Feb 2, 2016
@longtian
Copy link

longtian commented Mar 1, 2016

@markkimsal
Copy link

@hbprotoss it looks like you can stop the sanitization with a statsd config:

keyNameSanitize = false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants