Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/observability / openinference / openInferenceKindFor
Function: openInferenceKindFor()
ts
function openInferenceKindFor<T>(type):
| OpenInferenceSpanKind
| null;Defined in: packages/observability/src/openinference/index.ts:104
Resolve the OpenInference span kind for a Graphorin span type. Returns null for types intentionally excluded from emission.
Type Parameters
| Type Parameter |
|---|
T extends SpanType |
Parameters
| Parameter | Type |
|---|---|
type | T |
Returns
| OpenInferenceSpanKind | null