summaryrefslogtreecommitdiffstats
path: root/tests/test_log4jlogster.py
diff options
context:
space:
mode:
authorelukey <ltoscano@wikimedia.org>2017-07-24 15:20:17 +0200
committerelukey <ltoscano@wikimedia.org>2017-07-24 15:20:17 +0200
commit19dddafb75e10e10431f9caad068b64bcced4160 (patch)
treec1b5b98854118453fa0e47a9bdc6e6fac47fc4a7 /tests/test_log4jlogster.py
parent5083e6b1e643e447cbbdacdd6e24455e44ef7195 (diff)
downloadlogster-19dddafb75e10e10431f9caad068b64bcced4160.zip
logster-19dddafb75e10e10431f9caad068b64bcced4160.tar.gz
logster-19dddafb75e10e10431f9caad068b64bcced4160.tar.bz2
Reduce DNS lookups for the statsd domain
The sendto socket call is very flexible but it currently issue a DNS lookup for the statsd domain for every metric in the for loop to push. This change ensures that only one lookup is performed for each batch of metrics to send. It is particularly useful when logster runs every minute and the number of metrics to push is very high.
Diffstat (limited to 'tests/test_log4jlogster.py')
0 files changed, 0 insertions, 0 deletions