Documentation
¶
Overview ¶
Package mysqlcollectnode 提供将一次运行 trace 导出到 MySQL 的 collector 节点注册逻辑。
Index ¶
Constants ¶
View Source
const NodeType = "trace.collect.mysql"
Variables ¶
Functions ¶
Types ¶
type Config ¶
type Config struct {
Address string `json:"address"`
Database string `json:"database"`
Username string `json:"username"`
Password string `json:"password"`
Table string `json:"table"`
TimeoutMs int `json:"timeoutMs"`
}
Config 描述一个 workflow 节点实例要写入的 MySQL 目标。
func DefaultConfig ¶
func DefaultConfig() *Config
Click to show internal directories.
Click to hide internal directories.