For TCP and UDP the hostname or IP address of the server, for IPC the file name of the Unix domain socket.
Optional
autoAutomatically connect on write if not connected. Defaults to
false
.
Optional
familyFor TCP and UDP the IP address family to use.
Optional
portServer port to connect to. Defaults to [[DEFAULT_PORT]].
Optional
prefixPrefix added to all metric paths.
Optional
retryNumber of automatic retries on network error. Defaults to 0
.
Optional
retryTime to wait before retrying after error. Defaults to [[DEFAULT_RETRY_TIMEOUT]].
Optional
sendSize of send buffer. If set to 0
metrics are sent immediately.
Defaults to [[DEFAULT_SEND_BUFFER_SIZE]].
Optional
sendBuffer wait time. If set to 0
metrics are sent immediately.
Defaults to [[DEFAULT_SEND_INTERVAL]].
Optional
tlsCAOverride the trusted CA certificates.
Optional
tlsPEM encoded TLS certificate if [[CarbonClientOptions.transport]] is 'TLS'.
Optional
tlsPEM encoded TLS private key if [[CarbonClientOptions.transport]] is 'TLS'.
Optional
transportTransport layer protocol to use. Defaults to [[DEFAULT_TRANSPORT]].
Optional
udpIf [[CarbonClient.transport]] is "UDP"
the
dgram.SocketOptions.sendBufferSize
of UDP sockets.
[[CarbonClient]] options.