Method: Datadog::Tracing::Contrib::Utils::Quantization::Hash.format_value
- Defined in:
- lib/datadog/tracing/contrib/utils/quantization/hash.rb
.format_value(value, options = {}) ⇒ Object
52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/datadog/tracing/contrib/utils/quantization/hash.rb', line 52 def format_value(value, = {}) return value if [:show] == :all case value when ::Hash format_hash(value, ) when Array # If any are objects, format them. format_array(value, ) else [:placeholder] end end |