Documentation
¶
Overview ¶
Package dorisexporter exports trace, metric and log data to an Apache Doris instance.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
Types ¶
type Config ¶
type Config struct { // confighttp.ClientConfig.Headers is the headers of doris stream load. confighttp.ClientConfig `mapstructure:",squash"` configretry.BackOffConfig `mapstructure:"retry_on_failure"` QueueSettings exporterhelper.QueueBatchConfig `mapstructure:"sending_queue"` // TableNames is the table name for logs, traces and metrics. Table `mapstructure:"table"` // Database is the database name. Database string `mapstructure:"database"` // Username is the authentication username. Username string `mapstructure:"username"` // Password is the authentication password. Password configopaque.String `mapstructure:"password"` // CreateSchema is whether databases and tables are created automatically. CreateSchema bool `mapstructure:"create_schema"` // MySQLEndpoint is the mysql protocol address to create the schema; ignored if create_schema is false. MySQLEndpoint string `mapstructure:"mysql_endpoint"` // Data older than these days will be deleted; ignored if create_schema is false. If set to 0, historical data will not be deleted. HistoryDays int32 `mapstructure:"history_days"` // The number of days in the history partition that was created when the table was created; ignored if create_schema is false. // If history_days is not 0, create_history_days needs to be less than or equal to history_days. CreateHistoryDays int32 `mapstructure:"create_history_days"` // ReplicationNum is the number of replicas of the table; ignored if create_schema is false. ReplicationNum int32 `mapstructure:"replication_num"` // Timezone is the timezone of the doris. TimeZone string `mapstructure:"timezone"` // LogResponse is whether to log the response of doris stream load. LogResponse bool `mapstructure:"log_response"` // LabelPrefix is the prefix of the label in doris stream load. LabelPrefix string `mapstructure:"label_prefix"` // ProgressInterval is the interval of the progress reporter. LogProgressInterval int `mapstructure:"log_progress_interval"` // contains filtered or unexported fields }
Source Files
¶
Click to show internal directories.
Click to hide internal directories.