For TCP and UDP the hostname or IP address of the server, for IPC the file name of the Unix domain socket.
OptionalautoAutomatically connect on write if not connected. Defaults to
false.
OptionalfamilyFor TCP and UDP the IP address family to use.
OptionalportServer port to connect to. Defaults to [[DEFAULT_PORT]].
OptionalprefixPrefix added to all metric paths.
OptionalretryNumber of automatic retries on network error. Defaults to 0.
OptionalretryTime to wait before retrying after error. Defaults to [[DEFAULT_RETRY_TIMEOUT]].
OptionalsendSize of send buffer. If set to 0 metrics are sent immediately.
Defaults to [[DEFAULT_SEND_BUFFER_SIZE]].
OptionalsendBuffer wait time. If set to 0 metrics are sent immediately.
Defaults to [[DEFAULT_SEND_INTERVAL]].
OptionaltlsCAOverride the trusted CA certificates.
OptionaltlsPEM encoded TLS certificate if [[CarbonClientOptions.transport]] is 'TLS'.
OptionaltlsPEM encoded TLS private key if [[CarbonClientOptions.transport]] is 'TLS'.
OptionaltransportTransport layer protocol to use. Defaults to [[DEFAULT_TRANSPORT]].
OptionaludpIf [[CarbonClient.transport]] is "UDP" the
dgram.SocketOptions.sendBufferSize
of UDP sockets.
[[CarbonClient]] options.