Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- init_config:
- instances:
- - server: 127.0.0.1
- user: datadog
- pass: '<amit@123>' # from the CREATE USER step earlier
- port: 3306 # e.g. 3306
- options:
- replication: 0
- galera_cluster: true
- extra_status_metrics: true
- extra_innodb_metrics: false
- extra_performance_metrics: true
- schema_size_metrics: false
- disable_innodb_metrics: false
- queries:
- - query: SELECT VARIABLE_NAME, VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'Uptime';
- metric: mysql.uptime_status.200
- tags:
- - test:mysql_uptime
- type: gauge
- field: VARIABLE_NAME
- logs:
- - type: file
- path: /var/log/mysql/mysql_error.log
- source: mysql
- sourcecategory: database
- service: myapplication
- ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement