GetPromptDetailSpanModifiers

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

Functions

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