log2trace-ui - v1.0.0-rc.9
    Preparing search index...

    Module log2trace-ui/core

    log2trace-ui/core: the headless half of the library.

    Everything that works on trace data without drawing it: turning log records into OTel spans, indexing spans, filtering, the shared view state (store and selectors) and the text a UI shows about a span. Nothing here touches the DOM or any browser global, so it loads in Node, in a Worker and in a test.

    import { transformLogs, buildSpanIndex, matchSpans } from 'log2trace-ui/core';
    

    The package root re-exports all of this next to the <trace-visualizer> element.

    References

    AnyValue → AnyValue
    API_ORIGIN → API_ORIGIN
    areRequiredExternalFiltersFilled → areRequiredExternalFiltersFilled
    ArrayValue → ArrayValue
    buildQueryParams → buildQueryParams
    buildSpanIndex → buildSpanIndex
    ChangeSet → ChangeSet
    compileFilters → compileFilters
    createTraceStore → createTraceStore
    DataPhase → DataPhase
    defineSelector → defineSelector
    describeSpan → describeSpan
    EMPTY_SPAN_SET → EMPTY_SPAN_SET
    EntityRef → EntityRef
    Event → Event
    extractAnyValue → extractAnyValue
    FetchCallback → FetchCallback
    FieldValue → FieldValue
    Filter → Filter
    FilterFieldConfig → FilterFieldConfig
    FilterFieldType → FilterFieldType
    FilterOption → FilterOption
    FilterSource → FilterSource
    filterSpanIds → filterSpanIds
    FilterTarget → FilterTarget
    FilterValue → FilterValue
    FlushScheduler → FlushScheduler
    formatAbsoluteTime → formatAbsoluteTime
    formatDuration → formatDuration
    formatOffset → formatOffset
    getField → getField
    hoveredSpan → hoveredSpan
    IndexedSpan → IndexedSpan
    InfoGroup → InfoGroup
    InfoLevel → InfoLevel
    InfoModel → InfoModel
    InfoRow → InfoRow
    InfoSection → InfoSection
    InfoStatus → InfoStatus
    InstrumentationScope → InstrumentationScope
    KeyValue → KeyValue
    KeyValueList → KeyValueList
    LogEntry → LogEntry
    matchSpans → matchSpans
    matchSummary → matchSummary
    MatchSummary → MatchSummary
    MIXED_ORIGIN → MIXED_ORIGIN
    MutationOptions → MutationOptions
    normalizeOptions → normalizeOptions
    OptionsSource → OptionsSource
    Origin → Origin
    Resource → Resource
    ResourceSpans → ResourceSpans
    ScopeSpans → ScopeSpans
    selectedSpan → selectedSpan
    Selector → Selector
    Slice → Slice
    Span → Span
    SpanId → SpanId
    SpanIndex → SpanIndex
    SpanKind → SpanKind
    spanKindName → spanKindName
    SpanKindRule → SpanKindRule
    SpanMask → SpanMask
    SpanMatcher → SpanMatcher
    SpanSet → SpanSet
    spanSetOf → spanSetOf
    SpanTable → SpanTable
    Status → Status
    Target → Target
    TargetOptions → TargetOptions
    TimeWindow → TimeWindow
    touches → touches
    TraceData → TraceData
    TraceState → TraceState
    TraceStore → TraceStore
    TraceStoreOptions → TraceStoreOptions
    TransformConfig → TransformConfig
    transformLogs → transformLogs