mysql-metrics job from mysql-monitoring/10.1.0
Github source:
6335bcb3
or
master branch
Properties¶
logging
¶
format
¶
timestamp
¶Format for timestamp in component logs. Valid values are ‘rfc3339’, ‘unix-epoch’. ‘rfc3339’ is the recommended format. It will result in all timestamps controlled by this job to be in RFC3339 format, which is human readable. This includes stdout, pre-start, and post-start logs. This does not include stderr logs from golang libraries. ‘unix-epoch’ will result in all timestamps being in the format they were before the rfc3339 flag was introduced. This format is different for different logs. We do not recommend using this flag unless you have scripts that expect a particular timestamp format.
- Default
rfc3339
mysql-metrics
¶
backup_metrics_enabled
¶enable backup metrics
- Default
false
backup_schedule_in_hours
¶the expected number of hours between backups
broker_metrics_enabled
¶enable broker metrics
- Default
false
cpu_metrics_enabled
¶enable cpu metrics
- Default
true
disk_metrics_enabled
¶enable disk metrics
- Default
true
galera_metrics_enabled
¶enabled galera metrics
- Default
true
heartbeat_database
¶schema where heartbeat table exists
- Default
replication_monitoring
heartbeat_table
¶table where heartbeat data is stored
- Default
heartbeat
host
¶hostname for accessing mysql
leader_follower_metrics_enabled
¶enable leader follower metrics
- Default
false
log_metrics_to_disk
¶when enabled, metrics will be emitted through the firehose and also logged onto disk
- Default
true
metrics_frequency
¶interval to poll metrics in seconds
- Default
30
minimum_metrics_frequency
¶internal property: enforce minimum bound for metrics
- Default
10
mysql_metrics_enabled
¶enable mysql metrics
- Default
true
origin
¶metric prefix when metrics are emitted
- Default
p-mysql
password
¶database password for mysql metrics
port
¶port for accessing mysql
source_id
¶the source_id when metrics are emitted
- Default
p-mysql
tls
¶TLS configuration for loggregator client
username
¶database username for mysql metrics
- Default
mysql-metrics
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/mysql-metrics/
directory
(learn more).
config/bpm.yml
(frombpm.yml.erb
)config/indicators.yml
(fromindicators.yml.erb
)config/mysql-metrics-config.yml
(frommysql-metrics-config.yml.erb
)certs/loggregator-ca.pem
(fromloggregator-ca.erb
)certs/loggregator-client-cert.pem
(fromloggregator-client-cert.erb
)certs/loggregator-client-key.pem
(fromloggregator-client-key.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.