The highest tagged major version is
v7 .
Discover Packages
github.com/thoppe-dwarakanath/beats
metricbeat
module
mysql
package
Version:
v6.0.0-alpha2+incompat...
Opens a new window with list of versions in this module.
Published: May 31, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Directories Overview Index Constants Variables Functions Types GetMySQLEnvDSN() NewDB(dsn) NewModule(base) ParseDSN(mod, host)
Documentation
¶
Package mysql is Metricbeat module for MySQL server.
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.
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)]]/
ParseDSN creates a DSN (data source name) string by parsing the host.
It validates the resulting DSN and returns an error if the DSN is invalid.
Format: [username[:password]@][protocol[(address)]]/
Example: root:test@tcp(127.0.0.1:3306)/
Source Files
¶
Directories
¶
Show internal
Collapse all
Package status fetches MySQL server status metrics.
Package status fetches MySQL server status metrics.
Click to show internal directories.
Click to hide internal directories.