Skip to content

Commit 3d860c6

Browse files
committed
sql: update metrics description
Small update to metrics descriptions that change the caption that's shown for the y-axis for the bytes/rows read/written metrics. Epic: AOP-30 Release note: None
1 parent 89f5c67 commit 3d860c6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/generated/metrics/metrics.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8956,7 +8956,7 @@ layers:
89568956
- name: sql.statements.bytes_read.count
89578957
exported_name: sql_statements_bytes_read_count
89588958
description: Number of bytes read by SQL statements
8959-
y_axis_label: SQL Statements
8959+
y_axis_label: Bytes
89608960
type: COUNTER
89618961
unit: BYTES
89628962
aggregation: AVG
@@ -8972,7 +8972,7 @@ layers:
89728972
- name: sql.statements.index_bytes_written.count
89738973
exported_name: sql_statements_index_bytes_written_count
89748974
description: Number of primary and secondary index bytes modified by SQL statements
8975-
y_axis_label: SQL Statements
8975+
y_axis_label: Bytes
89768976
type: COUNTER
89778977
unit: BYTES
89788978
aggregation: AVG
@@ -8988,7 +8988,7 @@ layers:
89888988
- name: sql.statements.index_rows_written.count
89898989
exported_name: sql_statements_index_rows_written_count
89908990
description: Number of primary and secondary index rows modified by SQL statements
8991-
y_axis_label: SQL Statements
8991+
y_axis_label: Rows
89928992
type: COUNTER
89938993
unit: COUNT
89948994
aggregation: AVG
@@ -9004,7 +9004,7 @@ layers:
90049004
- name: sql.statements.rows_read.count
90059005
exported_name: sql_statements_rows_read_count
90069006
description: Number of rows read by SQL statements
9007-
y_axis_label: SQL Statements
9007+
y_axis_label: Rows
90089008
type: COUNTER
90099009
unit: COUNT
90109010
aggregation: AVG

pkg/sql/exec_util.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1517,25 +1517,25 @@ var (
15171517
MetaStatementRowsRead = metric.Metadata{
15181518
Name: "sql.statements.rows_read.count",
15191519
Help: "Number of rows read by SQL statements",
1520-
Measurement: "SQL Statements",
1520+
Measurement: "Rows",
15211521
Unit: metric.Unit_COUNT,
15221522
}
15231523
MetaStatementBytesRead = metric.Metadata{
15241524
Name: "sql.statements.bytes_read.count",
15251525
Help: "Number of bytes read by SQL statements",
1526-
Measurement: "SQL Statements",
1526+
Measurement: "Bytes",
15271527
Unit: metric.Unit_BYTES,
15281528
}
15291529
MetaStatementIndexRowsWritten = metric.Metadata{
15301530
Name: "sql.statements.index_rows_written.count",
15311531
Help: "Number of primary and secondary index rows modified by SQL statements",
1532-
Measurement: "SQL Statements",
1532+
Measurement: "Rows",
15331533
Unit: metric.Unit_COUNT,
15341534
}
15351535
MetaStatementIndexBytesWritten = metric.Metadata{
15361536
Name: "sql.statements.index_bytes_written.count",
15371537
Help: "Number of primary and secondary index bytes modified by SQL statements",
1538-
Measurement: "SQL Statements",
1538+
Measurement: "Bytes",
15391539
Unit: metric.Unit_BYTES,
15401540
}
15411541
)

0 commit comments

Comments
 (0)