Skip to main content
Version: 3.7

StatisticsOptions

Configuration for the Statistics instance used by the crawler

Index

Properties

optionalconfig

Configuration instance to use

optionalkeyValueStore

keyValueStore?: KeyValueStore

Key value store instance to persist the statistics. If not provided, the default one will be used when capturing starts

optionallogIntervalSecs

logIntervalSecs?: number = 60

Interval in seconds to log the current statistics

optionallogMessage

logMessage?: string = ‘Statistics’

Message to log with the current statistics

optionalpersistenceOptions

persistenceOptions?: PersistenceOptions

Control how and when to persist the statistics.