func DefaultMetricsConfig()

in receiver/mysqlreceiver/internal/metadata/generated_config.go [79:220]


func DefaultMetricsConfig() MetricsConfig {
	return MetricsConfig{
		MysqlBufferPoolDataPages: MetricConfig{
			Enabled: true,
		},
		MysqlBufferPoolLimit: MetricConfig{
			Enabled: true,
		},
		MysqlBufferPoolOperations: MetricConfig{
			Enabled: true,
		},
		MysqlBufferPoolPageFlushes: MetricConfig{
			Enabled: true,
		},
		MysqlBufferPoolPages: MetricConfig{
			Enabled: true,
		},
		MysqlBufferPoolUsage: MetricConfig{
			Enabled: true,
		},
		MysqlClientNetworkIo: MetricConfig{
			Enabled: false,
		},
		MysqlCommands: MetricConfig{
			Enabled: false,
		},
		MysqlConnectionCount: MetricConfig{
			Enabled: false,
		},
		MysqlConnectionErrors: MetricConfig{
			Enabled: false,
		},
		MysqlDoubleWrites: MetricConfig{
			Enabled: true,
		},
		MysqlHandlers: MetricConfig{
			Enabled: true,
		},
		MysqlIndexIoWaitCount: MetricConfig{
			Enabled: true,
		},
		MysqlIndexIoWaitTime: MetricConfig{
			Enabled: true,
		},
		MysqlJoins: MetricConfig{
			Enabled: false,
		},
		MysqlLocks: MetricConfig{
			Enabled: true,
		},
		MysqlLogOperations: MetricConfig{
			Enabled: true,
		},
		MysqlMysqlxConnections: MetricConfig{
			Enabled: true,
		},
		MysqlMysqlxWorkerThreads: MetricConfig{
			Enabled: false,
		},
		MysqlOpenedResources: MetricConfig{
			Enabled: true,
		},
		MysqlOperations: MetricConfig{
			Enabled: true,
		},
		MysqlPageOperations: MetricConfig{
			Enabled: true,
		},
		MysqlPreparedStatements: MetricConfig{
			Enabled: true,
		},
		MysqlQueryClientCount: MetricConfig{
			Enabled: false,
		},
		MysqlQueryCount: MetricConfig{
			Enabled: false,
		},
		MysqlQuerySlowCount: MetricConfig{
			Enabled: false,
		},
		MysqlReplicaSQLDelay: MetricConfig{
			Enabled: false,
		},
		MysqlReplicaTimeBehindSource: MetricConfig{
			Enabled: false,
		},
		MysqlRowLocks: MetricConfig{
			Enabled: true,
		},
		MysqlRowOperations: MetricConfig{
			Enabled: true,
		},
		MysqlSorts: MetricConfig{
			Enabled: true,
		},
		MysqlStatementEventCount: MetricConfig{
			Enabled: false,
		},
		MysqlStatementEventWaitTime: MetricConfig{
			Enabled: false,
		},
		MysqlTableAverageRowLength: MetricConfig{
			Enabled: false,
		},
		MysqlTableIoWaitCount: MetricConfig{
			Enabled: true,
		},
		MysqlTableIoWaitTime: MetricConfig{
			Enabled: true,
		},
		MysqlTableLockWaitReadCount: MetricConfig{
			Enabled: false,
		},
		MysqlTableLockWaitReadTime: MetricConfig{
			Enabled: false,
		},
		MysqlTableLockWaitWriteCount: MetricConfig{
			Enabled: false,
		},
		MysqlTableLockWaitWriteTime: MetricConfig{
			Enabled: false,
		},
		MysqlTableRows: MetricConfig{
			Enabled: false,
		},
		MysqlTableSize: MetricConfig{
			Enabled: false,
		},
		MysqlTableOpenCache: MetricConfig{
			Enabled: false,
		},
		MysqlThreads: MetricConfig{
			Enabled: true,
		},
		MysqlTmpResources: MetricConfig{
			Enabled: true,
		},
		MysqlUptime: MetricConfig{
			Enabled: true,
		},
	}
}