Hierarchy

  • StatsOptions

Properties

largeRequest?: number

Max amount bytes after request will be logged

Default

5kb

retryCount?: number

Max amount of retries after request will be logged

Default

3

slowRequest?: number

Max time (ms) after request will be logged

Default

5000

tracking?: {
    largeRequest?: boolean;
    retries?: boolean;
    slowRequest?: boolean;
}

Enables logs for requests that may worth paying attention

Type declaration

  • Optional largeRequest?: boolean

    Tracks large requests if true

  • Optional retries?: boolean

    Tracks retried requests if true

  • Optional slowRequest?: boolean

    Tracks slow requests if true