Open pawellesniewski opened 8 years ago
hmm the validation only validates metric keys. you're right that we should also validate the other fields and format of the message itself.
wait i'm mistaken. it's not a missing feature, we do have the validation. we validate that we have 3 fields and that they are a float and a unix timestamp, at least that's what should happen. but from your report it looks like it's broken.
anyway when i have some time i will reproduce. should be easy to find and fix . (feel free to beat me to it with a PR though? :))
Hi! I really like carbon-relay-ng daemon, which has replaced my previous carbon-relay basic installation. Unfortunatelly i discovered that it accepts badly formatted metrics even with "strict" legacy metric validation level. So far i disovered only two special cases:
First - metric with "NaN" instead of value:
Second - metric with "new line" character:
which is then badly formatted on receiving site.