| Module | NewRelic::Coerce |
| In: |
lib/new_relic/coerce.rb
|
We really don‘t want to send bad values to the collector, and it doesn‘t accept types like Rational that have occasionally slipped into our data.
These methods are intended to safely coerce things into the form we want, to provide documentation of expected types on to_collector_array methods, and to log failures if totally invalid data gets into outgoing data