populateUnmappedAttributes

Adds unmapped payload attributes from a JSON body to the given Span.

Parameters

body

the request or response body

mappedAttributes

a list of attribute keys that have already been handled and should be skipped when populating unmapped attributes