Configuration for the usage monitoring services

Database Writer Enabled (usage.local.writer.enabled)

Enable the database usage writer.

Default: true

Remote Writer Enabled (usage.remote.writer.enabled)

Enable the remote usage writer.

Default: false

Rollup Generator Enabled (rollup.generator.enableRollups)

Enable the rollup writer to write rollup data to rollup database tables.

Default: true

Rollup Batch Size (usage.batch.writer.rollupBatchSize)

The batch size for rollup recording. A batch is written if it reaches this limit or the write interval has been exceeded.

Default: 50

Usage Batch Size (usage.batch.writer.usageBatchSize)

The batch size for usage recording. A batch is written if it reaches this limit or the write interval has been exceeded.

Default: 50

Usage Generator Enabled (rollup.generator.enableUsage)

Enable the usage writer to write usage data to usage database tables.

Default: true

Batch Write Interval (usage.batch.writer.writeInterval)

The maximum interval between batch writes in milliseconds.

Default: 1000

Discard Oldest on Overflow (usage.batch.writer.discardOldestOnOverflow)

Should the oldest queue entry be discarded on queue overflow? If false, the newset entry is discarded if the queues back up.

Default: true

Usage data max heap size (usage.batch.writer.maxSizeUsageDataPct)

How much of jvm heap can the usage data queue occupy

Default: 20

Usage messages max heap size (usage.batch.writer.maxSizeUsageMessagesPct)

How much of jvm heap can the usage message queue occupy

Default: 40

Retry on Unrecoverable Error (usage.remote.writer.retryOnUnrecoverableError)

Indicates whether a remote written batch should be retried if an unrecoverable error is encountered. Recoverable errors include HTTP connection failures and and HTTP 404. Unrecoverable are all others.

Default: false