forked from newrelic/nri-mysql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mysql-config.yml.sample
41 lines (35 loc) · 1.35 KB
/
mysql-config.yml.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
integrations:
- name: nri-mysql
env:
HOSTNAME: localhost
PORT: 3306
# ENABLE_TLS: false
# INSECURE_SKIP_VERIFY: false
# Specify extra connection parameters as attr1=val1&attr2=val2.
# EXTRA_CONNECTION_URL_ARGS: ""
# If not empty `socket` parameter will discard `port` parameter
SOCKET: <PATH_TO_LOCAL_SOCKET_FILE_NAME>
USERNAME: newrelic
PASSWORD: <YOUR_SELECTED_PASSWORD>
# Allow old password https://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html#sysvar_old_passwords
# OLD_PASSWORDS: false
# Name of the database to be monitored
# DATABASE: ""
# Enable extended metrics
# EXTENDED_METRICS: false
# Enable additional metrics
# EXTENDED_INNODB_METRICS: false
# EXTENDED_MY_ISAM_METRICS: false
# New users should leave this property as `true`, to identify the
# monitored entities as `remote`. Setting this property to `false` (the
# default value) is deprecated and will be removed soon, disallowing
# entities that are identified as `local`.
# Please check the documentation to get more information about local
# versus remote entities:
# https://github.com/newrelic/infra-integrations-sdk/blob/master/docs/entity-definition.md
REMOTE_MONITORING: true
interval: 30s
labels:
env: production
role: write-replica
inventory_source: config/mysql