API › @qwik.dev/core/insights

Insights

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Insights: import("@qwik.dev/core").Component<unknown>;

Edit this section

InsightsError

export interface InsightsError

Property

Modifiers

Type

Description

column

number

error

string

line

number

manifestHash

string

Manifest Hash of the container.

message

string

source

string

stack

string

timestamp

number

url

string

Edit this section

InsightsPayload

export interface InsightsPayload

Property

Modifiers

Type

Description

manifestHash

string

Manifest Hash of the container.

previousSymbol?

string | null

(Optional) Previous symbol received on the client.

Client periodically sends symbol log to the server. Being able to connect the order of symbols is useful for server clustering. Sending previous symbol name allows the server to stitch the symbol list together.

publicApiKey

string

API key of the application which we are trying to profile.

This key can be used for sharding the data.

qVersion

string

Qwik version

symbols

InsightSymbol[]

List of symbols which have been received since last update.

Edit this section

InsightSymbol

export interface InsightSymbol

Property

Modifiers

Type

Description

delay

number

Time delta since last symbol. Can be used to stich symbol requests together

interaction

boolean

Was this symbol as a result of user interaction. User interactions represent roots for clouters.

latency

number

Number of ms between the time the symbol was requested and it was loaded.

route

string

Current route so we can have a better understanding of which symbols are needed for each route.

symbol

string

Symbol name

timeline

number

Number of ms between the q:route attribute change and the qsymbol event

Edit this section