Documentation ¶
Overview ¶
Package mysql is Metricbeat module for MySQL server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssetMysql ¶
func AssetMysql() string
AssetMysql returns asset data. This is the base64 encoded gzipped contents of ../metricbeat/module/mysql.
func GetMySQLEnvDSN ¶
GetMySQLEnvDSN returns the MySQL server DSN to use for testing. It reads the value from the MYSQL_DSN environment variable and returns root@tcp(127.0.0.1:3306)/ if it is not set.
func NewDB ¶
NewDB returns a new mysql database handle. The dsn value (data source name) must be valid, otherwise an error will be returned.
DSN Format: [username[:password]@][protocol[(address)]]/
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package galera_status fetches MySQL Galera server status metrics.
|
Package galera_status fetches MySQL Galera server status metrics. |
Package status fetches MySQL server status metrics.
|
Package status fetches MySQL server status metrics. |
Click to show internal directories.
Click to hide internal directories.