Repository URL to install this package:
|
Version:
0.0.7 ▾
|
export type LoggingMetaTimingType = {
durationInNanoSeconds: number | string
startTime: string | Date
endTime: string | Date
} | 'unfinished'
export interface LoggingMetaMetaType {
url?: string
spanName?: string
appName?: string
bytesReceived?: number
bytesSent?: number
}
export interface LoggingMetaCacheType {
isCached: boolean
cachedAtBreakpoint?: 'orchestration-request' | 'transformed-resolver-response' | 'ssr-html' | 'client-side-graphql'
// or array of these
type?: 'fs' | 'redis' | 'in-memory' | 'indexdb' | 'localstorage' | 'service-worker'
createdOn?: Date | string
expiresOn?: Date | string
}
export interface LoggingMetaTracingType {
openTraceId?: string
openTraceSpanId?: number
requestId?: string
sessionId?: string
'x-b3-traceid'?: string
'x-b3-spanid'?: number
'x-request-id'?: string
'x-sk-session-id'?: string
}
export interface LoggingMetaType {
meta?: LoggingMetaMetaType
timing: LoggingMetaTimingType
cache: LoggingMetaCacheType
tracing: LoggingMetaTracingType
}