Documentation
¶
Overview ¶
Package tencentcloudlogserviceexporter exports data to TenCent Log Service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory creates a factory for tencentcloud LogService exporter.
Types ¶
type Config ¶
type Config struct {
// LogService's Region, https://cloud.tencent.com/document/product/614/18940
// for TencentCloud Kubernetes(or CVM), set ap-{region}.cls.tencentyun.com, eg ap-beijing.cls.tencentyun.com;
// others set ap-{region}.cls.tencentcs.com, eg ap-beijing.cls.tencentcs.com
Region string `mapstructure:"region"`
// LogService's LogSet Name
LogSet string `mapstructure:"logset"`
// LogService's Topic Name
Topic string `mapstructure:"topic"`
// TencentCloud access key id
SecretID string `mapstructure:"secret_id"`
// TencentCloud access key secret
SecretKey configopaque.String `mapstructure:"secret_key"`
}
Config defines configuration for TencentCloud Log Service exporter.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.