id: version-0.20.0-cluster-config-metrics title: Metrics Manager sidebar_label: Metrics Manager original_id: cluster-config-metrics

You can configure all of the Metrics Managers (MMs) in a topology using the parameters below.

Network Configuration

You can configure how the MM collects and transmits data in one (but only one) of two ways: time based or size based. If you choose time based, you can specify the maximum batch time (in milliseconds) for reading from and writing to the MM's socket; if you choose size based, you can specify maximum batch sizes (in bytes) instead.

Time-based Configuration

ConfigMeaningDefault
heron.metricsmgr.network.read.batch.time.msThe maximum batch time in milliseconds for the MM to read from the socket16
heron.metricsmgr.network.write.batch.time.msThe maximum batch time in milliseconds for the MM to write to the socket16

Size-based Configuration

ConfigMeaningDefault
heron.metricsmgr.network.read.batch.size.bytesSize based, the maximum batch size in bytes to read from socket32768
heron.metricsmgr.network.write.batch.size.bytesSize based, the maximum batch size in bytes to write to socket32768

Buffer Configuration

Each MM instance has a socket buffer for reading and writing metrics data. You can set maximum buffer sizes for both send and receive buffers.

ConfigMeaningDefault
heron.metricsmgr.network.options.socket.send.buffer.size.bytesThe maximum socket's send buffer size in bytes6553600
heron.metricsmgr.network.options.socket.received.buffer.size.bytesThe maximum socket‘s received buffer size in bytes of the metrics manager’s network options8738000