This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
CloudWatch Metrics Collector fails to publish metrics with small values #44
Labels
bug
Something isn't working
CloudWatch metrics can't accept metrics with magnitude < ~4.257959840008151e-109. Publishing metrics of this magnitude will cause the following error message:
Steps to reproduce:
roslaunch cloudwatch_metrics_collector sample_application.launch
rostopic pub -r 0.5 /metrics ros_monitoring_msgs/MetricList '{metrics: [{metric_name: 'too_small', value: 2.1289799200040754E-109, time_stamp:{secs: <time>, nsecs: 0}}]}'
Proposed Solution:
Add an option to round small values to 0 before publishing to Cloudwatch
The text was updated successfully, but these errors were encountered: