Closed Raynos closed 9 years ago
Why is it isDisabled()
at config time? Why not disable()
and enable()
at run time? or does this just check whether it's disabled or not?
This will used with zero-config getRemote which means that dynamically updating config will keep this property up to date.
@lxe because a mutable stateful interface is made of bullshit
other than above lgtm.
This allows you to pass a predicate function that disableds Statsd at runtime.
This will work cleanly if you have a runtime remote configuration service.
cc @sh1mmer