Documentation
¶
Overview ¶
Package carbonreceiver implements a receiver that can be used by the OpenTelemetry collector to receive data in the Carbon supported formats. Carbon is the backend used by Graphite, see https://graphite.readthedocs.io/en/latest/carbon-daemons.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶ added in v0.9.0
NewFactory creates a factory for Carbon receiver.
Types ¶
type Config ¶
type Config struct {
confignet.AddrConfig `mapstructure:",squash"`
// TCPIdleTimeout is the timeout for idle TCP connections, it is ignored
// if transport being used is UDP.
TCPIdleTimeout time.Duration `mapstructure:"tcp_idle_timeout"`
// Parser specifies a parser and the respective configuration to be used
// by the receiver.
Parser *protocol.Config `mapstructure:"parser"`
}
Config defines configuration for the Carbon receiver.
Click to show internal directories.
Click to hide internal directories.