Type alias: SerializedReadableSpan

@ottrelite/interop-otel.SerializedReadableSpan

SerializedReadableSpan: Object

Wrapper for

See

ReadableSpan that takes into account the fact that the some props may be undefined (wrong OTEL typings), fixing Nitro Modules converter error in runtime in such case FIXME: some props adjusted because of a bug in Nitro Modules that fails to compile TS types which recursively reference themselves; this may be dropped when Nitro fixes this issue

Type declaration

NameType
attributesRecord<string, AttributeValue>
droppedAttributesCount?number
droppedEventsCount?number
droppedLinksCount?number
duration?HrTime
endTimeHrTime
ended?boolean
eventsNitroFixedTimedEvent[]
instrumentationScopeInstrumentationScope
kindSpanKind
linksNitroFixedLink[]
namestring
parentSpanContext?SpanContextWithSerializedTraceState
resourceNitroFixedResource
spanContextSpanContextWithSerializedTraceState
startTimeHrTime
statusSpanStatus
Need to boost your app's performance?
We help React Native teams enhance speed, responsiveness, and efficiency.