@launchdarkly/observability + @launchdarkly/session-replay
    Preparing search index...

    Class Highlight

    Index

    Constructors

    Properties

    _backendUrl: string
    _counters: Map<string, Counter<Attributes>> = ...
    _eventBytesSinceSnapshot: number
    _firstLoadListeners: FirstLoadListeners
    _gauges: Map<string, Gauge<Attributes>> = ...
    _hasPreviouslyInitialized: boolean
    _histograms: Map<string, Histogram<Attributes>> = ...
    _integrations: IntegrationClient[] = []
    _isCrossOriginIframe: boolean
    _isOnLocalHost: boolean
    _lastSnapshotTime: number
    _lastVisibilityChangeTime: number
    _onToggleFeedbackFormVisibility: () => void
    _optionsInternal: HighlightClassOptionsInternal
    _recordingStartTime: number
    _recordStop: undefined | listenerHandler
    _up_down_counters: Map<string, UpDownCounter<Attributes>> = ...
    appVersion: undefined | string

    The end-user's app version. This isn't Highlight's version.

    debugOptions: DebugOptions
    enableCanvasRecording: boolean
    enablePerformanceRecording: boolean
    enableSegmentIntegration: boolean
    environment: string
    events: eventWithTime[]
    firstloadVersion: string
    graphqlSDK: {
        addSessionFeedback(
            variables: AddSessionFeedbackMutationVariables,
            requestHeaders?: GraphQLClientRequestHeaders,
        ): Promise<AddSessionFeedbackMutation>;
        addSessionProperties(
            variables: AddSessionPropertiesMutationVariables,
            requestHeaders?: GraphQLClientRequestHeaders,
        ): Promise<AddSessionPropertiesMutation>;
        GetSamplingConfig(
            variables: GetSamplingConfigQueryVariables,
            requestHeaders?: GraphQLClientRequestHeaders,
        ): Promise<GetSamplingConfigQuery>;
        identifySession(
            variables: IdentifySessionMutationVariables,
            requestHeaders?: GraphQLClientRequestHeaders,
        ): Promise<IdentifySessionMutation>;
        Ignore(
            variables: IgnoreQueryVariables,
            requestHeaders?: GraphQLClientRequestHeaders,
        ): Promise<IgnoreQuery>;
        initializeSession(
            variables: InitializeSessionMutationVariables,
            requestHeaders?: GraphQLClientRequestHeaders,
        ): Promise<InitializeSessionMutation>;
        pushMetrics(
            variables: PushMetricsMutationVariables,
            requestHeaders?: GraphQLClientRequestHeaders,
        ): Promise<PushMetricsMutation>;
        PushPayload(
            variables: PushPayloadMutationVariables,
            requestHeaders?: GraphQLClientRequestHeaders,
        ): Promise<PushPayloadMutation>;
        PushSessionEvents(
            variables: PushSessionEventsMutationVariables,
            requestHeaders?: GraphQLClientRequestHeaders,
        ): Promise<PushSessionEventsMutation>;
    }
    hasPushedData: boolean
    hasSessionUnloaded: boolean
    inlineImages: boolean
    inlineStylesheet: boolean
    inlineVideos: boolean
    isRunningOnHighlight: boolean

    Determines if the client is running on a Highlight property (e.g. frontend).

    listeners: listenerHandler[]
    logger: Logger
    manualStopped: boolean
    organizationID: string

    Verbose project ID that is exposed to users. Legacy users may still be using ints.

    privacySetting: PrivacySettingOption
    pushPayloadTimerId: undefined | Timeout
    ready: boolean
    reloaded: boolean
    samplingStrategy: SamplingStrategy
    serviceName: string
    sessionData: SessionData
    sessionShortcut: SessionShortcutOptions
    state: "NotRecording" | "Recording"

    Methods

    • Parameters

      • __namedParameters: { forceNew?: boolean; sessionKey?: string }

      Returns Promise<void>

    • This proxy should be used instead of rrweb's native addCustomEvent. The proxy makes sure recording has started before emitting a custom event.

      Type Parameters

      • T

      Parameters

      • tag: string
      • payload: T

      Returns void

    • Parameters

      • __namedParameters: { timestamp: string; user_email?: string; user_name?: string; verbatim: string }

      Returns void

    • Parameters

      • error: Error
      • __namedParameters: { message?: string; payload?: object; source?: string; type?: ErrorMessageType }

      Returns void