Package-level declarations
Types
Opt-in span modifiers that capture tool call arguments and results. These may contain sensitive data — add to spanModifiers explicitly, not included in defaults.
Opt-in span modifiers that capture completion arguments and result values. May contain sensitive data — add to spanModifiers explicitly, not included in defaults. Note: gen_ai.completion.* attributes are http4k custom conventions, not official OTel semantic conventions.
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.
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
OpenTelemetry tracing for MCP servers. Follows the latest conventions from the OTel spec.