Skip to content

Commit 2050aaa

Browse files
authored
[MySQL][TSDB] Add metric type mapping for performance datastream (#5378)
* Updated changelog and manifest
1 parent 502c601 commit 2050aaa

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

packages/mysql/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: "1.7.0"
3+
changes:
4+
- description: Added metric type mapping for performance datastream
5+
type: enhancement
6+
link: https://github.com/elastic/integrations/pull/5378
27
- version: "1.6.1"
38
changes:
49
- description: Added categories and/or subcategories.

packages/mysql/data_stream/performance/fields/fields.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,25 @@
77
fields:
88
- name: max.timer.wait
99
type: long
10+
metric_type: gauge
1011
description: Maximum wait time of the summarized events that are timed
1112
- name: last.seen
1213
type: date
1314
description: Time at which the digest was most recently seen
1415
- name: quantile.95
1516
type: long
17+
metric_type: gauge
1618
description: The 95th percentile of the statement latency, in picoseconds
1719
- name: digest
1820
type: flattened
1921
description: Performance schema digest
2022
- name: count.star
2123
type: long
24+
metric_type: gauge
2225
description: Number of summarized events
2326
- name: avg.timer.wait
2427
type: long
28+
metric_type: gauge
2529
description: Average wait time of the summarized events that are timed
2630
- name: table_io_waits
2731
type: group
@@ -41,4 +45,5 @@
4145
Name of the index that was used when the table I/O wait event was recorded. PRIMARY indicates that table I/O used the primary index. NULL means that table I/O used no index. Inserts are counted against INDEX_NAME = NULL
4246
- name: count.fetch
4347
type: long
48+
metric_type: gauge
4449
description: Number of all fetch operations > 0

packages/mysql/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
format_version: 1.0.0
22
name: mysql
33
title: MySQL
4-
version: 1.6.1
4+
version: 1.7.0
55
license: basic
66
description: Collect logs and metrics from MySQL servers with Elastic Agent.
77
type: integration

0 commit comments

Comments
 (0)