blacklocus / metrics-cloudwatch

A reporter for codahale metrics to Amazon CloudWatch
Apache License 2.0
61 stars 27 forks source link

Send units to Cloudwatch #16

Open mattbertolini opened 8 years ago

mattbertolini commented 8 years ago

We recently added this reporter into our Dropwizard app. The install went smoothly but it did take some time to figure out why the metrics weren't sending units to the Cloudwatch UI. It doesn't look like units are being set on the MetricDatum object. Is there a way to either put some unit on the metric or expose a way of letting the caller of the library to specify a unit? Thanks!