Const
Default input processing function that converts function arguments to OpenTelemetry attributes.
This is a convenience function that combines toInputType and getInputAttributes to provide a complete input processing pipeline for tracing decorators.
toInputType
getInputAttributes
The function arguments to process
OpenTelemetry attributes representing the input
const attrs = defaultProcessInput("hello", { key: "value" });// Returns: { [INPUT_VALUE]: '["hello",{"key":"value"}]', [INPUT_MIME_TYPE]: MimeType.JSON } Copy
const attrs = defaultProcessInput("hello", { key: "value" });// Returns: { [INPUT_VALUE]: '["hello",{"key":"value"}]', [INPUT_MIME_TYPE]: MimeType.JSON }
Default input processing function that converts function arguments to OpenTelemetry attributes.
This is a convenience function that combines
toInputTypeandgetInputAttributesto provide a complete input processing pipeline for tracing decorators.