Mirrors UDP packets to multiple targets.
This can be useful for sending StatsD metrics to multiple metrics backends.
For a given config.toml
file:
bind_address = "0.0.0.0:8125"
targets = [
"127.0.0.1:8126",
"127.0.0.1:8127",
]
Run:
udp-fanout -c config.toml
This will bind udp-fanout
to port 8125
, and mirror any UDP packets recieved to ports 8126
and 8127
.