MCPcopy Create free account
hub / github.com/Effect-TS/effect / attribute

Method attribute

packages/effect/src/Tracer.ts:384–384  ·  view source on GitHub ↗
(key: string, value: unknown)

Source from the content-addressed store, hash-verified

382 readonly kind: SpanKind
383 end(endTime: bigint, exit: Exit.Exit<unknown, unknown>): void
384 attribute(key: string, value: unknown): void
385 event(name: string, startTime: bigint, attributes?: Record<string, unknown>): void
386 addLinks(links: ReadonlyArray<SpanLink>): void
387}

Callers 12

makeBatchFunction · 0.65
withConnectionSpanFunction · 0.65
streamFunction · 0.65
makeWithTransactionFunction · 0.65
HttpMiddleware.tsFile · 0.65
asHttpEffectFunction · 0.65
makeFunction · 0.65
addSpanAttributesFunction · 0.65
LanguageModel.tsFile · 0.65
effect.tsFile · 0.65
setAttributeFunction · 0.65
setAttributesFunction · 0.65

Implementers 2

NativeSpanpackages/effect/src/Tracer.ts
OtelSpanpackages/opentelemetry/src/OtelTracer.

Calls

no outgoing calls

Tested by

no test coverage detected