UNPKG

arvo-core

Version:

This core package contains all the core classes and components of the Arvo Event Driven System

14 lines (13 loc) 603 B
import { SpanKind } from '@opentelemetry/api'; import type { VersionedArvoContract } from '../ArvoContract/VersionedArvoContract'; import { ArvoExecutionSpanKind } from '../OpenTelemetry/ArvoExecution/types'; import { OpenInferenceSpanKind } from '../OpenTelemetry/OpenInference/types'; export declare const createSpanOptions: (contract: VersionedArvoContract<any, any>) => { kind: SpanKind; attributes: { "arvo.span.kind": ArvoExecutionSpanKind; "openinference.span.kind": OpenInferenceSpanKind; 'arvo.contract.uri': any; 'arvo.contract.version': any; }; };