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

Method SetAttributes

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

SetAttributes 设置属性

(attrs ...Attribute)

Source from the content-addressed store, hash-verified

26
27 // SetAttributes 设置属性
28 SetAttributes(attrs ...Attribute)
29
30 // SetStatus 设置状态
31 SetStatus(code StatusCode, description string)

Callers 11

WrapModelCallMethod · 0.65
WrapToolCallMethod · 0.65
extractTokenUsageMethod · 0.65
extractResponseInfoMethod · 0.65
setErrorTypeAttributeMethod · 0.65
ExampleFunction · 0.65
SetAttributesMethod · 0.65
SetAttributeFunction · 0.65
basicOTelExampleFunction · 0.65
llmTracingExampleFunction · 0.65
toolTracingExampleFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected