Big查询代理(Agent)Analytics插件(Plugin)

constructor(config: BigQueryLoggerConfig, bigQuery: BigQuery = createBigQuery(config), ioContext: CoroutineContext = Dispatchers.IO, timeSource: TimeSource = TimeSource.Monotonic)

Creates a plugin that logs to the table config names.

Parameters

config

Where and what to log.

bigQuery

Client that creates and upgrades the table and its views; the Storage Write API writes the rows with this client's credentials.

ioContext

Context that blocking BigQuery calls and the background writer run in.

timeSource

Clock for the interval between attempts to create the table.