Must be a valid JSON object and cannot contain functions, undefined, Infinity and NaN as
values, otherwise they will be replaced with null. The fields need to be serializable
using JSON.stringify. The resulting event will be populated with fields parameter, and
modified with additional properties, thus also empty objects are valid. Only properties
prefixed with event_properties., the duration property and the start_time property are
allowed.
OptionaleventContext: unknownAn optional context that can be used to manipulate the result event within the modification callback.
Safe wrapper for dynatrace.sendEvent which reverts to a noop if RUM JavaScript is not available.