Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/observability / openinference / emitOpenInferenceKind
Function: emitOpenInferenceKind()
ts
function emitOpenInferenceKind<T>(span): void;Defined in: packages/observability/src/openinference/index.ts:116
Attach the openinference.span.kind attribute to a span. No-op for span types that lack a clean OpenInference equivalent. The attribute is tagged 'public' because the enum value is bounded and contains no PII.
Type Parameters
| Type Parameter |
|---|
T extends SpanType |
Parameters
| Parameter | Type |
|---|---|
span | AISpan<T> |
Returns
void