@agentinsights/tracing
v0.1.0
Published
AgentInsight instrumentation methods based on OpenTelemetry
Downloads
41
Maintainers
Readme
@agentinsight/tracing
AgentInsight 追踪原语 / AgentInsight Tracing Primitives
基于 OpenTelemetry 的追踪方法,包括 startActiveSpan、startActiveGeneration 和 observe 包装器。
OpenTelemetry-based instrumentation methods including startActiveSpan, startActiveGeneration, and the observe wrapper.
安装 / Installation
npm install @agentinsight/tracing快速开始 / Quick Start
import { observe } from "@agentinsight/tracing";
const result = await observe({ name: "my-operation" }, async () => {
return "Hello, AgentInsight!";
});