Mongo proxy

MongoDB configuration overview.

config.filter.network.mongo_proxy.v2.MongoProxy

[config.filter.network.mongo_proxy.v2.MongoProxy proto]

{
  "stat_prefix": "...",
  "access_log": "...",
  "delay": "{...}",
  "emit_dynamic_metadata": "..."
}
stat_prefix
(string, REQUIRED) The human readable prefix to use when emitting statistics.
access_log
(string) The optional path to use for writing Mongo access logs. If not access log path is specified no access logs will be written. Note that access log is also gated runtime.
delay
(config.filter.fault.v2.FaultDelay) Inject a fixed delay before proxying a Mongo operation. Delays are applied to the following MongoDB operations: Query, Insert, GetMore, and KillCursors. Once an active delay is in progress, all incoming data up until the timer event fires will be a part of the delay.
emit_dynamic_metadata
(bool) Flag to specify whether dynamic metadata should be emitted. Defaults to false.