.. _configuration_backend_stream_tcp: ********** stream_tcp ********** A layer-4 backend that connects to upstream peers over TCP. This backend type is valid only for stream tasks. Config Keys =========== The following common keys are supported: * :ref:`discover ` * :ref:`discover_data ` * :ref:`extra_metrics_tags ` peer_pick_policy ---------------- **optional**, **type**: :external+values:ref:`selective pick policy ` Set the policy used to select the next peer address. For Ketama, rendezvous hash, and jump hash, the hash key is ````. **default**: random duration_stats -------------- **optional**, **type**: :external+values:ref:`histogram metrics ` Configure histogram metrics for TCP connect duration. **default**: set with default value