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

discard metric have space character count != 2 #227

Closed
wants to merge 1 commit into from
Closed

discard metric have space character count != 2 #227

wants to merge 1 commit into from

Conversation

toopa2002
Copy link

Metric that have whitespace in metric name is not dropped by carbon-c-relay.
For example => echo "test.test test 1478206983" | nc localhost 2003
I think it is better to drop this kind of metric in c-relay rather than allow it pass to Carbon-cache service.

grobian added a commit that referenced this pull request Nov 11, 2016
This implements a solution for issue #228, issue #142, #issue #121,
pull #227 and pull #87.

Introduce new `validate <regexp> else <drop | log>` construct in match
rules to do checks on the data part of the message.
@grobian
Copy link
Owner

grobian commented Nov 11, 2016

I've introduced a validate clause to match rules

@grobian grobian closed this Nov 11, 2016
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

Successfully merging this pull request may close these issues.

2 participants