package
0.17.2
Repository: https://github.com/prometheus/mysqld_exporter.git
Documentation: pkg.go.dev

# Functions

New returns a new MySQL exporter for the provided DSN.

# Constants

# Variables

Metric descriptors.
Metric descriptors.
Metric descriptors.

# Structs

Exporter collects MySQL metrics.
ScrapeAutoIncrementColumns collects auto_increment column information.
ScrapeBinlogSize collects from `SHOW BINARY LOGS`.
ScrapeClientStat collects from `information_schema.client_statistics`.
ScrapeEngineInnodbStatus scrapes from `SHOW ENGINE INNODB STATUS`.
ScrapeEngineTokudbStatus scrapes from `SHOW ENGINE TOKUDB STATUS`.
ScrapeGlobalStatus collects from `SHOW GLOBAL STATUS`.
ScrapeGlobalVariables collects from `SHOW GLOBAL VARIABLES`.
ScrapeHeartbeat scrapes from the heartbeat table.
ScrapeInfoSchemaInnodbTablespaces collects from `information_schema.innodb_sys_tablespaces`.
ScrapeInnodbCmp collects from `information_schema.innodb_cmp`.
ScrapeInnodbCmp collects from `information_schema.innodb_cmp`.
ScrapeInnodbMetrics collects from `information_schema.innodb_metrics`.
ScrapePerfEventsStatements collects from `performance_schema.events_statements_summary_by_digest`.
ScrapePerfEventsStatementsSum collects from `performance_schema.events_statements_summary_by_digest`.
ScrapePerfEventsWaits collects from `performance_schema.events_waits_summary_global_by_event_name`.
ScrapePerfFileEvents collects from `performance_schema.file_summary_by_event_name`.
ScrapePerfFileInstances collects from `performance_schema.file_summary_by_instance`.
ScrapePerfIndexIOWaits collects for `performance_schema.table_io_waits_summary_by_index_usage`.
ScrapePerfMemoryEvents collects from `performance_schema.memory_summary_global_by_event_name`.
ScrapePerfReplicationApplierStatsByWorker collects from `performance_schema.replication_applier_status_by_worker`.
ScrapeReplicationGroupMembers collects from `performance_schema.replication_group_members`.
ScrapePerfReplicationGroupMemberStats collects from `performance_schema.replication_group_member_stats`.
ScrapePerfTableIOWaits collects from `performance_schema.table_io_waits_summary_by_table`.
ScrapePerfTableLockWaits collects from `performance_schema.table_lock_waits_summary_by_table`.
ScrapeProcesslist collects from `information_schema.processlist`.
ScrapeQueryResponseTime collects from `information_schema.query_response_time`.
ScrapeReplicaHost collects from `information_schema.replica_host_status`.
ScrapeSchemaStat collects from `information_schema.table_statistics` grouped by schema.
ScrapeSlaveHosts scrapes metrics about the replicating slaves.
ScrapeSlaveStatus collects from `SHOW SLAVE STATUS`.
ScrapeTableSchema collects from `information_schema.tables`.
ScrapeTableStat collects from `information_schema.table_statistics`.
ScrapeUser collects from `information_schema.processlist`.
ScrapeUserStat collects from `information_schema.user_statistics`.

# Interfaces

Scraper is minimal interface that let's you add new prometheus metrics to mysqld_exporter.