UNPKG

@zendesk/retrace

Version:

define and capture Product Operation Traces along with computed metrics with an optional friendly React beacon API

6 lines (5 loc) 375 B
import type { Span } from './spanTypes'; import type { RecordedSpan } from './traceRecordingTypes'; import type { RelationSchemasBase } from './types'; /** used for calculating span occurrence number */ export declare const getSpanKey: <RelationSchemasT extends RelationSchemasBase<RelationSchemasT>>(span: Span<RelationSchemasT> | RecordedSpan<RelationSchemasT>) => string;