betfair / opentsp

Time Series Pipeline (TSP) is an open metric gathering and routing system.
Apache License 2.0
27 stars 5 forks source link

cmd/tsp-forwarder: add ListenAddr (obsolete collect-site) #1

Closed masiulaniec closed 9 years ago

masiulaniec commented 9 years ago

Add a ListenAddr setting that specifies the listen address for the built-in data point listener (this listener is currently implemented in cmd/collect-site).

The ListenAddr setting is the last thing that prevents tsp-controller from managing all details of the network topology. Currently, the operator must pass the listen port as a flag to collect-site, even though this port is already declared in /etc/tsp-controller/network.

This is particularly relevant on machines that try to run both opentsdb and tsp-aggregator: they both try to listen on :4242, but only one is allowed.

masiulaniec commented 9 years ago

Integrated.