addthis / metrics-reporter-config

Apache License 2.0
74 stars 52 forks source link

Set the UDP protocol instead of TCP #30

Open DigitalMarc opened 8 years ago

DigitalMarc commented 8 years ago

It seems that there is the possibility to use UPD instead of TCP (https://github.com/dropwizard/metrics/blob/3.2-development/metrics-graphite/src/main/java/com/codahale/metrics/graphite/GraphiteUDP.java)

Is there is any way to activate this from the config?

Regards

yuesong commented 8 years ago

Hi @DigitalMarc,

Currently GraphiteReportConfig is hard coded to use Graphite (TCP), so code needs to be changed to support using GraphiteUDP. You are welcome to submit a pull request.

Regards,

Yuesong