DefaultSpanMetadataCustomizer

Default implementation of SpanMetadataCustomizer.

Serializes function input arguments into a JSON-formatted string using parameter names and primitive value representations.

Functions

Link copied to clipboard
expect open override fun formatInputAttributes(method: PlatformMethod, args: Array<Any?>): String

Formats the input attributes for the span created around the given platform method invocation.

actual open override fun formatInputAttributes(method: PlatformMethod, args: Array<Any?>): String

Formats the input attributes for the span created around the given platform method invocation.

Link copied to clipboard
open fun formatOutputAttribute(result: Any?): String

Formats the output attribute for the span created around the given platform method invocation.

open fun formatOutputAttribute(result: Any?): String

Formats the output attribute for the span created around the given platform method invocation.

Link copied to clipboard
open fun resolveSpanName(method: PlatformMethod, args: Array<Any?>): String?

Resolves the span name for the given platform method invocation.

open fun resolveSpanName(method: PlatformMethod, args: Array<Any?>): String?

Resolves the span name for the given platform method invocation.