Fork me on GitHub
#pedestal
<
2016-11-08
>
semperos23:11:30

trying to wire up a StatsD reporter for use with Pedestal’s built-in metrics; I’m seeing StatsD report bad lines, as in:

8 Nov 18:01:22 - DEBUG: Bad line: io.pedestal/active-servlet-calls in msg ":io.pedestal/active-servlet-calls:0|g"
I think this is caused by the leading : which the message format uses for field separation

semperos23:11:17

looking at io.pedestal.log namespace, the metric names appear to be stringified with str which would result in the above

semperos23:11:20

I’m seeing the same for the sample app that’s in the Pedestal repo:

8 Nov 18:13:59 - DEBUG: :helloworld-metrics.service/statsd-hits:1|g
8 Nov 18:13:59 - DEBUG: Bad line: helloworld-metrics.service/statsd-hits in msg ":helloworld-metrics.service/statsd-hits:1|g"

semperos23:11:38

any thoughts ^^ ?