diff options
-rw-r--r-- | logster/outputs/statsd.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/logster/outputs/statsd.py b/logster/outputs/statsd.py index 3243133..0153850 100644 --- a/logster/outputs/statsd.py +++ b/logster/outputs/statsd.py @@ -23,6 +23,7 @@ class StatsdOutput(LogsterOutput): def submit(self, metrics): if (not self.dry_run): host = self.statsd_host.split(':') + host[0] = socket.gethostbyname(host[0]) for metric in metrics: metric_name = self.get_metric_name(metric) |