Skip to content

Commit badbcdc

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 e3751cf commit badbcdc

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
@@ -8750,7 +8750,7 @@ layers:
87508750
- name: sql.statements.bytes_read.count
87518751
exported_name: sql_statements_bytes_read_count
87528752
description: Number of bytes read by SQL statements
8753-
y_axis_label: SQL Statements
8753+
y_axis_label: Bytes
87548754
type: COUNTER
87558755
unit: BYTES
87568756
aggregation: AVG
@@ -8766,7 +8766,7 @@ layers:
87668766
- name: sql.statements.index_bytes_written.count
87678767
exported_name: sql_statements_index_bytes_written_count
87688768
description: Number of primary and secondary index bytes modified by SQL statements
8769-
y_axis_label: SQL Statements
8769+
y_axis_label: Bytes
87708770
type: COUNTER
87718771
unit: BYTES
87728772
aggregation: AVG
@@ -8782,7 +8782,7 @@ layers:
87828782
- name: sql.statements.index_rows_written.count
87838783
exported_name: sql_statements_index_rows_written_count
87848784
description: Number of primary and secondary index rows modified by SQL statements
8785-
y_axis_label: SQL Statements
8785+
y_axis_label: Rows
87868786
type: COUNTER
87878787
unit: COUNT
87888788
aggregation: AVG
@@ -8798,7 +8798,7 @@ layers:
87988798
- name: sql.statements.rows_read.count
87998799
exported_name: sql_statements_rows_read_count
88008800
description: Number of rows read by SQL statements
8801-
y_axis_label: SQL Statements
8801+
y_axis_label: Rows
88028802
type: COUNTER
88038803
unit: COUNT
88048804
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)