diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index b4d890d4544..420f1292d95 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -303,6 +303,7 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff] - Align on the algorithm used to transform Prometheus histograms into Elasticsearch histograms {pull}36647[36647] - Add linux IO metrics to system/process {pull}37213[37213] - Add new memory/cgroup metrics to Kibana module {pull}37232[37232] +- Support schema_name for MySQL performance metricset {pull}38363[38363] - Add SSL support to mysql module {pull}37997[37997] - Add SSL support for aerospike module {pull}38126[38126] - Add last_terminated_timestamp metric in kubernetes module {pull}39200[39200] {issue}3802[3802] diff --git a/metricbeat/docs/fields.asciidoc b/metricbeat/docs/fields.asciidoc index 708d996f99d..92af8d33410 100644 --- a/metricbeat/docs/fields.asciidoc +++ b/metricbeat/docs/fields.asciidoc @@ -53661,6 +53661,15 @@ type: long -- +*`mysql.performance.events_statements.schemaname`*:: ++ +-- +Schema name. + +type: keyword + +-- + [float] === table_io_waits diff --git a/metricbeat/module/mysql/fields.go b/metricbeat/module/mysql/fields.go index c59ec303e3c..b304521eb4b 100644 --- a/metricbeat/module/mysql/fields.go +++ b/metricbeat/module/mysql/fields.go @@ -32,5 +32,5 @@ func init() { // AssetMysql returns asset data. // This is the base64 encoded zlib format compressed contents of module/mysql. func AssetMysql() string { - return "eJzkXc1z2ziyv+ev6JrLZKoc7Vz2sKl6W+X1OLuuip2s7ey8d+K0yJaIMQgwAChZ89e/QoNfkkiJ+qCS3dUlsUQBv240+hvQO3ih1XvIVvarfAPghJP0Hn64Xz398+MPbwASsrERuRNavYe/vgEA4M/AklmQAevQFRYyckbEFmItJcWOEpgZnYVHJ28AbKqNi2KtZmL+HmYoLb0BMCQJLb2HOb4BmAmSiX3Pc7wDhRk1uPzLrXL/qNFFXr7TAc6/fuNv/QaxVg6FsuBSqhG6FB0syRDoqf90DWo9xNeCzGpS/tkG1gY3R0kGo8CC+tMu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smEEtb58GNB3LufEibN2UCfCUodv1go6/aYYM7PpmjTQYXOVjOL9xUX9kzt7vyuqJN/32y+c6ts7y7DBX0Ppn0Q4AKyx7U9zn/6o9NwXS4m7xgqF2o8X1TVODtYWvj7UflLLv/WJLcO69tiGi7+d3JV/0pNdUI/xYX33kFPedMuhOe7r3zs41x/QXtMrv1gUCU6+6HFEG+zhBNYNlkEHg4mpnKr38Jv6LmIUQYZqHAMi1K7f3/0goaiv3IFF+NZ2adQKk2sC1m2xaATdrZqIqM1i4wqgRSTei8hEYZiry78eCLsywGy483/rox+DGbY+qfytmsi7I56LEmyUph55snVRn5e5ebhiNlW2s2D5mgwI0emPc5gTi1RuOhiUeaDNlkgM3RQQ795DT/QWEU9jWmdwK8pqeobiihpdp+0KU8h8G8Pzansx4JYEpbunuMkXKCQOJV0VY0TsgcLVme0lpiEnXa+tx+rs5zhwHp7fWc+mErLdq2q44H/tXXDSfkbimTDPWbD7AmzKdppCs9Vm9q419JCosO+S1/Q/P8BAAD//70E77g=" } diff --git a/metricbeat/module/mysql/performance/_meta/data.json b/metricbeat/module/mysql/performance/_meta/data.json index 57d4a044d93..a774ed99051 100644 --- a/metricbeat/module/mysql/performance/_meta/data.json +++ b/metricbeat/module/mysql/performance/_meta/data.json @@ -1,62 +1,82 @@ { - "@timestamp": "2020-07-13T13:43:28.495Z", + "@timestamp": "2024-02-27T07:33:02.881Z", "@metadata": { "beat": "metricbeat", "type": "_doc", - "version": "8.0.0" - }, - "event": { - "duration": 1379935, - "dataset": "mysql.performance", - "module": "mysql" - }, - "metricset": { - "name": "performance", - "period": 10000 - }, - "service": { - "address": "tcp(172.17.0.2:3306)/", - "type": "mysql" + "version": "8.14.0" }, "mysql": { "performance": { "events_statements": { "digest": { - "text": "SELECT @@SESSION . `auto_increment_increment` AS `auto_increment_increment` , @@`character_set_client` AS `character_set_client` , @@`character_set_connection` AS `character_set_connection` , @@`character_set_results` AS `character_set_results` , @@`character_set_server` AS `character_set_server` , @@`collation_server` AS `collation_server` , @@`collation_connection` AS `collation_connection` , @@`init_connect` AS `init_connect` , @@`interactive_timeout` AS `interactive_timeout` , @@`license` AS `license` , @@`lower_case_table_names` AS `lower_case_table_names` , @@`max_allowed_packet` AS `max_allowed_packet` , @@`net_write_timeout` AS `net_write_timeout` , @@`performance_schema` AS `performance_schema` , @@`sql_mode` AS `sql_mode` , @@`system_time_zone` AS `system_time_zone` , @@`time_zone` AS `time_zone` , @@`transaction_isolation` AS `transaction_isolation` , @@`wait_timeout` AS `wait_timeout`" + "text": "SHOW SCHEMAS" }, "count": { - "star": 2 + "star": 5 }, "avg": { "timer": { - "wait": 1.78294e+08 + "wait": 1.6439131e+10 } }, "max": { "timer": { - "wait": 1.89622e+08 + "wait": 4.0834164e+10 } }, "last": { - "seen": "2020-07-13 10:04:47.709230" + "seen": "2024-02-27 06:44:17.296246" }, "quantile": { - "95": 1.90546071e+08 - } + "95": 4.1686938347e+10 + }, + "schemaname": "performance_schema" } } }, - "ecs": { - "version": "1.5.0" - }, "host": { - "name": "mcastro" + "id": "41359f29035549cda159ae8d1a533d72", + "containerized": false, + "ip": [ + "127.0.0.1" + ], + "name": "localhost", + "mac": [ + "86-32-76-45-EB-2B" + ], + "hostname": "localhost", + "architecture": "x86_64", + "os": { + "name": "CentOS Linux", + "kernel": "3.10.0-1160.102.1.el7.x86_64", + "codename": "Core", + "type": "linux", + "platform": "centos", + "version": "7 (Core)", + "family": "redhat" + } }, "agent": { - "id": "803dfdba-e638-4590-a2de-80cb1cebe78d", - "name": "mcastro", "type": "metricbeat", - "version": "8.0.0", - "ephemeral_id": "f87e6edc-2f37-45f2-9644-b67b1834abfd" + "version": "8.14.0", + "ephemeral_id": "539a163b-91ab-433c-9893-31a48d09b5a7", + "id": "e5bcfbf0-4c74-44dd-b711-c5e90a69ab7a", + "name": "localhost" + }, + "ecs": { + "version": "8.0.0" + }, + "event": { + "dataset": "mysql.performance", + "module": "mysql", + "duration": 14244062 + }, + "metricset": { + "period": 10000, + "name": "performance" + }, + "service": { + "address": "tcp(127.0.0.1:3306)/?readTimeout=10s&timeout=10s&writeTimeout=10s", + "type": "mysql" } } diff --git a/metricbeat/module/mysql/performance/_meta/fields.yml b/metricbeat/module/mysql/performance/_meta/fields.yml index 9e2c0940b73..afd99b6feeb 100644 --- a/metricbeat/module/mysql/performance/_meta/fields.yml +++ b/metricbeat/module/mysql/performance/_meta/fields.yml @@ -26,6 +26,9 @@ - name: 'avg.timer.wait' type: long description: Average wait time of the summarized events that are timed + - name: 'schemaname' + type: keyword + description: Schema name. - name: table_io_waits type: group description: Records table I/O waits by index diff --git a/metricbeat/module/mysql/performance/manifest.yml b/metricbeat/module/mysql/performance/manifest.yml index 84eb953ab95..13bc61673cb 100644 --- a/metricbeat/module/mysql/performance/manifest.yml +++ b/metricbeat/module/mysql/performance/manifest.yml @@ -6,10 +6,10 @@ input: namespace: performance queries: - query: > - SELECT digest_text, count_star, avg_timer_wait, max_timer_wait, last_seen /*!80001 ,quantile_95 */ - FROM performance_schema.events_statements_summary_by_digest - ORDER BY avg_timer_wait DESC - LIMIT 10; + SELECT schema_name AS schemaname, digest_text, count_star, avg_timer_wait, max_timer_wait, last_seen /*!80001 ,quantile_95 */ + FROM performance_schema.events_statements_summary_by_digest + ORDER BY avg_timer_wait DESC + LIMIT 10; query_namespace: events_statements response_format: table replace_underscores: true