uber-archive / statsrelay

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

make statsrelay handle missing carbon/statsd stanzas better #32

Closed eklitzke closed 9 years ago

eklitzke commented 9 years ago

Before if you were missing a carbon or statsd section from the config, statsrelay would complain (although still run). This makes it only complain to stderr when both sections are missing (if one section is missing it will be logged in a less scary way still). This also makes handling empty configs work better, since it will know not to start the event loop now.