Runtime Monitor parameters (cdap-site.xml and cdap.default.xml)

Parameter Name

Default Value

Description

Parameter Name

Default Value

Description

app.program.runtime.monitor.polltime.ms

2000

Polling time in milliseconds to poll updates from a runtime.

app.program.runtime.monitor.batch.size

1000

Number of events to fetch from a runtime in each poll call.

app.program.runtime.monitor.compression.enabled

true

Enable compression for runtime monitoring traffic.

app.program.runtime.monitor.topics.configs [Final]

audit.topic,data.event.topic,

metadata.messaging.topic,

metrics.topic.prefix:${metrics.messaging.topic.num},

program.status.event.topic,

log.tms.topic.prefix:${log.publish.num.partitions}

A comma-separated list of topic config to be monitored by runtime monitor.

app.program.runtime.monitor.graceful.shutdown.ms

30000

Number of milliseconds to wait for the runtime to shutdown after a program execution completed in that runtime. This value should be larger than the value of the "app.program.runtime.monitor.polltime.ms" property.

app.program.runtime.monitor.initialize.batch.size

100

Number of runtime states to fetch from dataset in each batch during runtime monitor initialization.

app.program.runtime.monitor.run.record.fetch.class

io.cdap.cdap.internal.app.store.StoreProgramRunRecordFetcher

Class name of the ProgramRunRecordFetcher used by the runtime monitoring system. This value controls the run record fetching mechanism depending on the CDAP setup.

app.program.runtime.monitor.server.bind.address

0.0.0.0

The address for the runtime monitor server to bind to.

app.program.runtime.monitor.server.bind.port

0

The port the runtime monitor server to bind to.

app.program.runtime.monitor.server.ssl.enabled

${ssl.internal.enabled}

Enable usage of SSL for the runtime monitor server. By default is disabled. This is because traffic is already encrypted through the SSH tunnel.

app.program.runtime.monitor.server.info.file [Final]

runtime.monitor.server.info

File name for the runtime monitor to store the port number. This configuration is for internal use only and should not be changed.

app.program.runtime.monitor.server.consume.chunk.size

60000

Approximate size in bytes of each chunk streamed back to Runtime Monitor client.

app.program.runtime.monitor.threads

20

Maximum number of threads being used by runtime monitor for runtime monitoring.

system.runtime.monitor.retry.policy.base.delay.ms

100

The base delay between retries in milliseconds.

system.runtime.monitor.retry.policy.max.delay.ms

1000

The maximum delay between retries in milliseconds.

system.runtime.monitor.retry.policy.max.retries

2147483647

The maximum number of retries to attempt before aborting.

system.runtime.monitor.retry.policy.max.time.secs

3600

The maximum elapsed time in seconds before retries are aborted.

system.runtime.monitor.retry.policy.type

exponential.backoff

The type of retry policy for log processing. Allowed options: "none", "fixed.delay", or "exponential.backoff".

Created in 2020 by Google Inc.