MCPcopy
hub / github.com/Effect-TS/effect / attribute

Method attribute

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

Source from the content-addressed store, hash-verified

121 readonly kind: SpanKind
122 end(endTime: bigint, exit: Exit.Exit<unknown, unknown>): void
123 attribute(key: string, value: unknown): void
124 event(name: string, startTime: bigint, attributes?: Record<string, unknown>): void
125 addLinks(links: ReadonlyArray<SpanLink>): void
126}

Callers 12

makeExecuteFunction · 0.65
withConnectionMethod · 0.65
streamMethod · 0.65
makeWithTransactionFunction · 0.65
addSpanAttributesFunction · 0.65
asHttpEffectFunction · 0.65
toHttpAppFunction · 0.65
httpMiddleware.tsFile · 0.65
makeFunction · 0.65
core-effect.tsFile · 0.65
setAttributeFunction · 0.65
setAttributesFunction · 0.65

Implementers 2

NativeSpanpackages/effect/src/internal/tracer.ts
OtelSpanpackages/opentelemetry/src/internal/tr

Calls

no outgoing calls

Tested by

no test coverage detected