summaryrefslogtreecommitdiff
path: root/databases/mysqld_exporter/files/env.conf
blob: 57dd44a3dd904381b4add5096065519154812be1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# Configuration file for mysqld_exporter.  This file is sourced by the SMF
# method script, allowing usernames and passwords to be stored here and
# protected by standard UNIX permissions.
#

DATA_SOURCE_NAME="user:password@(hostname:3306)/"
export DATA_SOURCE_NAME

#
# Additional flags for mysqld_exporter.  You will likely need to set at least
# "--config.my-cnf /path/to/my.cnf" here.
#
MYSQLD_EXPORTER_FLAGS=""
export MYSQLD_EXPORTER_FLAGS