MCPcopy Create free account
hub / github.com/astercloud/aster / AddEvent

Method AddEvent

pkg/telemetry/tracer.go:34–34  ·  view source on GitHub ↗

AddEvent 添加事件

(name string, attrs ...Attribute)

Source from the content-addressed store, hash-verified

32
33 // AddEvent 添加事件
34 AddEvent(name string, attrs ...Attribute)
35
36 // RecordError 记录错误
37 RecordError(err error)

Callers 11

WrapToolCallMethod · 0.65
recordPromptEventMethod · 0.65
recordCompletionEventMethod · 0.65
ExampleFunction · 0.65
AddEventMethod · 0.65
AddEventFunction · 0.65
basicOTelExampleFunction · 0.65
agentTracingExampleFunction · 0.65
llmTracingExampleFunction · 0.65
toolTracingExampleFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected