| 1 |
# Network Configuration Settings |
| 2 |
|
| 3 |
[Receivers](https://github.com/open-telemetry/opentelemetry-collector/blob/main/receiver/README.md) |
| 4 |
leverage network configuration to set connection and transport information. |
| 5 |
|
| 6 |
- `endpoint`: Configures the address for this network connection. For TCP and |
| 7 |
UDP networks, the address has the form "host:port". The host must be a |
| 8 |
literal IP address, or a host name that can be resolved to IP addresses. The |
| 9 |
port must be a literal port number or a service name. If the host is a |
| 10 |
literal IPv6 address it must be enclosed in square brackets, as in |
| 11 |
"[2001:db8::1]:80" or "[fe80::1%zone]:80". The zone specifies the scope of |
| 12 |
the literal IPv6 address as defined in RFC 4007. |
| 13 |
- `transport`: Known protocols are "tcp", "tcp4" (IPv4-only), "tcp6" |
| 14 |
(IPv6-only), "udp", "udp4" (IPv4-only), "udp6" (IPv6-only), "ip", "ip4" |
| 15 |
(IPv4-only), "ip6" (IPv6-only), "unix", "unixgram" and "unixpacket". |
| 16 |
- `dialer`: Dialer configuration |
| 17 |
- `timeout`: Dialer timeout is the maximum amount of time a dial will wait for a connect to complete. The default is no timeout. |
| 18 |
|
| 19 |
Note that for TCP receivers only the `endpoint` configuration setting is |
| 20 |
required. |