Skip to content

mysql-metrics job from mysql-monitoring/8.13.0

Github source: 0b53d94 or master branch

Properties

mysql-metrics

broker_metrics_enabled

enable broker metrics

Default
false

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

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

origin tag when metrics are emitted

Default
p-mysql

password

database password for mysql metrics

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).

  • bin/mysql-metrics_ctl (from mysql-metrics_ctl.sh.erb)
  • config/metric-mapping-config.yml (from metric-mapping-config.yml.erb)
  • config/mysql-metrics-config.yml (from mysql-metrics-config.yml.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.