uber-archive / statsrelay

A consistent-hashing relay for statsd and carbon metrics
Other
101 stars 28 forks source link

use the line length when logging the line #35

Closed eklitzke closed 9 years ago

eklitzke commented 9 years ago

Explicitly check the line length before logging, since the line could have partial data. This can happen if we receive a very large stat that gets truncated and therefore is not null terminated.

JeremyGrosser commented 9 years ago

LGTM