Documentation
¶
Index ¶
- Variables
- func BuildClientCommonOtelInstrumenter() instrumenter.Instrumenter[mcpRequest, any]
- func BuildServerCommonOtelInstrumenter() instrumenter.Instrumenter[mcpRequest, any]
- type LExperimentalAttributeExtractor
- func (l LExperimentalAttributeExtractor) OnEnd(attributes []attribute.KeyValue, context context.Context, request mcpRequest, ...) ([]attribute.KeyValue, context.Context)
- func (l LExperimentalAttributeExtractor) OnStart(attributes []attribute.KeyValue, parentContext context.Context, ...) ([]attribute.KeyValue, context.Context)
Constants ¶
This section is empty.
Variables ¶
View Source
var ClientInstrumenter = BuildClientCommonOtelInstrumenter()
View Source
var ServerInstrumenter = BuildServerCommonOtelInstrumenter()
Functions ¶
func BuildClientCommonOtelInstrumenter ¶
func BuildClientCommonOtelInstrumenter() instrumenter.Instrumenter[mcpRequest, any]
func BuildServerCommonOtelInstrumenter ¶
func BuildServerCommonOtelInstrumenter() instrumenter.Instrumenter[mcpRequest, any]
Types ¶
type LExperimentalAttributeExtractor ¶
type LExperimentalAttributeExtractor struct {
Base ai.AICommonAttrsExtractor[mcpRequest, any, aiCommonRequest]
}
Click to show internal directories.
Click to hide internal directories.