ReadResourceDetailSpanModifiers

Opt-in span modifiers that capture resource read result contents. May contain sensitive data — add to spanModifiers explicitly, not included in defaults. Note: gen_ai.resource.* attributes are http4k custom conventions, not official OTel semantic conventions.

Functions

Link copied to clipboard
open operator fun invoke(sb: Span, request: McpRequest)
open operator override fun invoke(sb: Span, response: McpResponse)