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

Suppress log statsite[12503]: Failed parse metric! Input: S.None #298

Open
swbiswal opened this issue Apr 15, 2020 · 1 comment
Open

Suppress log statsite[12503]: Failed parse metric! Input: S.None #298

swbiswal opened this issue Apr 15, 2020 · 1 comment

Comments

@swbiswal
Copy link

Hi There,
I want to suppress statsite[12503]: Failed parse metric! Input: S.None from statsite log so that It will save disk space.
We are getting this error(i.e. input as S.None) when we set rate less than 1 in some python statsd metrics client.
e.g.
stats_client.incr("matrics_name", rate=0.5) will bring 50% time proper matrics name push and 50% time it will push "None".
First I'd like to skip this parse metrics check, and include "None" into the parse. If is it not possible by overwrite some config, I want atleast suppress this error log. Can someone help me here?

@johnkeates
Copy link
Contributor

Does the error depend on a sink? I don't think the C part of statsite has any message like that.

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

2 participants