Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPClientConfig ¶
type HTTPClientConfig struct {
confighttp.HTTPClientSettings
}
HTTPClientConfig makes confighttp.HTTPClientSettings marshallable with json and yaml
func NewHTTPClientConfig ¶
func NewHTTPClientConfig() HTTPClientConfig
NewHTTPClientConfig creates a new default config
func (*HTTPClientConfig) UnmarshalJSON ¶
func (c *HTTPClientConfig) UnmarshalJSON(data []byte) error
UnmarshalJSON will unmarshal json into a HTTPClientConfig struct
func (*HTTPClientConfig) UnmarshalYAML ¶
func (c *HTTPClientConfig) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML will unmarshal json into a HTTPClientConfig struct
type OTLPOutput ¶
type OTLPOutput struct { helper.OutputOperator // contains filtered or unexported fields }
OTLPOutput is an operator that sends entries to the OTLP recevier
func (*OTLPOutput) Stop ¶
func (o *OTLPOutput) Stop() error
Stop tells the OTLPOutput to stop gracefully
type OTLPOutputConfig ¶
type OTLPOutputConfig struct { helper.OutputConfig `yaml:",inline"` BufferConfig buffer.Config `json:"buffer" yaml:"buffer"` FlusherConfig flusher.Config `json:"flusher" yaml:"flusher"` HTTPClientConfig `yaml:",inline"` }
OTLPOutputConfig is the configuration of a OTLPOutput operator
func NewOTLPOutputConfig ¶
func NewOTLPOutputConfig(operatorID string) *OTLPOutputConfig
NewOTLPOutputConfig creates a new elastic output config with default values
func (OTLPOutputConfig) Build ¶
func (c OTLPOutputConfig) Build(bc operator.BuildContext) ([]operator.Operator, error)
Build will build a new OTLPOutput
Click to show internal directories.
Click to hide internal directories.