tim-group / java-statsd-client

a java statsd client library
Other
275 stars 139 forks source link

Control over format of message reported by statsd #41

Open shimonmagal opened 8 years ago

shimonmagal commented 8 years ago

Hi, I'm hoping you can add support to control over the format "%s%s:%s|%s@%f" that is in the messageFor method in NonBlockingStatsdClient. Some graphite servers like HostedGraphite.com support the format "%s%s %s" - that is seperated by space.

In any case, I was wondering if you can just an overloaded constructor that allows passing in the desired format. Otherwise, for it to use the current format.

Thank you