jmxtrans / jmxtrans-agent

Java Agent based JMX metrics exporter.
MIT License
178 stars 110 forks source link

Adding support for StatsD counter/gauges #76

Closed rtoma closed 8 years ago

rtoma commented 8 years ago

Attempt to fix issue https://github.com/jmxtrans/jmxtrans-agent/issues/44.

I can think of 2 ways of solving this issue:

  1. select gauge vs counter based on the metricType, thats the mbean attribute type
  2. add a outputWriter config key to globally select gauge vs counter.

I've implemented the 1st.

@NGough34: let me know if this fits your need.

cyrille-leclerc commented 8 years ago

Thanks @rtoma !