Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() component.ExporterFactory
NewFactory creates a factory for observIQ exporter
Types ¶
type Config ¶
type Config struct { config.ExporterSettings `mapstructure:",squash"` exporterhelper.TimeoutSettings `mapstructure:",squash"` exporterhelper.QueueSettings `mapstructure:"sending_queue"` exporterhelper.RetrySettings `mapstructure:"retry_on_failure"` // TLSSetting is the TLS settings for http client to use when sending logs to endpoint TLSSetting configtls.TLSClientSetting `mapstructure:"tls,omitempty"` // APIkey is the api key for authenticating with ingestion endpoint (required if no SecretKey) APIKey string `mapstructure:"api_key"` // SecretKey is the secret key for authenticating with the ingestion endpoint (required if no APIKey) SecretKey string `mapstructure:"secret_key"` // Endpoint is the url that defines the ingestion endpoint (default: "https://nozzle.app.observiq.com/v1/add") Endpoint string `mapstructure:"endpoint"` // AgentID is the ID that identifies this agent (default: uuid based off os.HostName()) AgentID string `mapstructure:"agent_id"` // AgentName is the name identifies this agent (default: os.HostName()) AgentName string `mapstructure:"agent_name"` // DialerTimeout is the amount of time to wait before aborting establishing the tcp connection when making // an http request (default: 10s) DialerTimeout time.Duration `mapstructure:"dialer_timeout"` }
Config object for observIQ exporter
Source Files ¶
Click to show internal directories.
Click to hide internal directories.