youtubebeat/vendor/github.com/elastic/beats/metricbeat/module/mysql/_meta/config.reference.yml

20 lines
588 B
YAML

- module: mysql
metricsets:
- "status"
# - "galera_status"
period: 10s
# Host DSN should be defined as "user:pass@tcp(127.0.0.1:3306)/"
# The username and password can either be set in the DSN or using the username
# and password config options. Those specified in the DSN take precedence.
hosts: ["root:secret@tcp(127.0.0.1:3306)/"]
# Username of hosts. Empty by default.
#username: root
# Password of hosts. Empty by default.
#password: secret
# By setting raw to true, all raw fields from the status metricset will be added to the event.
#raw: false