Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() component.ExporterFactory
NewFactory creates a factory for Logz.io exporter.
Types ¶
type Config ¶
type Config struct { config.ExporterSettings `mapstructure:",squash"` TracesToken string `mapstructure:"account_token"` // Your Logz.io Account Token, can be found at https://app.logz.io/#/dashboard/settings/general MetricsToken string `mapstructure:"metrics_token"` // Your Logz.io Metrics Token, can be found at https://docs.logz.io/user-guide/accounts/finding-your-metrics-account-token/ Region string `mapstructure:"region"` // Your Logz.io 2-letter region code, can be found at https://docs.logz.io/user-guide/accounts/account-region.html#available-regions CustomEndpoint string `mapstructure:"custom_endpoint"` // Custom endpoint to ship traces to. Use only for dev and tests. DrainInterval int `mapstructure:"drain_interval"` // Queue drain interval in seconds. Defaults to `3`. QueueCapacity int64 `mapstructure:"queue_capacity"` // Queue capacity in bytes. Defaults to `20 * 1024 * 1024` ~ 20mb. QueueMaxLength int `mapstructure:"queue_max_length"` // Max number of items allowed in the queue. Defaults to `500000`. }
Config contains Logz.io specific configuration such as Account TracesToken, Region, etc.
Click to show internal directories.
Click to hide internal directories.