Skip to content

Commit f0f7fd8

Browse files
craig[bot]andy-kimball
andcommitted
Merge #156502
156502: sql: update metrics description r=yuzefovich a=andy-kimball 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 Co-authored-by: Andrew Kimball <andyk@cockroachlabs.com>
2 parents 7f098a1 + badbcdc commit f0f7fd8

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
@@ -8758,7 +8758,7 @@ layers:
87588758
- name: sql.statements.bytes_read.count
87598759
exported_name: sql_statements_bytes_read_count
87608760
description: Number of bytes read by SQL statements
8761-
y_axis_label: SQL Statements
8761+
y_axis_label: Bytes
87628762
type: COUNTER
87638763
unit: BYTES
87648764
aggregation: AVG
@@ -8774,7 +8774,7 @@ layers:
87748774
- name: sql.statements.index_bytes_written.count
87758775
exported_name: sql_statements_index_bytes_written_count
87768776
description: Number of primary and secondary index bytes modified by SQL statements
8777-
y_axis_label: SQL Statements
8777+
y_axis_label: Bytes
87788778
type: COUNTER
87798779
unit: BYTES
87808780
aggregation: AVG
@@ -8790,7 +8790,7 @@ layers:
87908790
- name: sql.statements.index_rows_written.count
87918791
exported_name: sql_statements_index_rows_written_count
87928792
description: Number of primary and secondary index rows modified by SQL statements
8793-
y_axis_label: SQL Statements
8793+
y_axis_label: Rows
87948794
type: COUNTER
87958795
unit: COUNT
87968796
aggregation: AVG
@@ -8806,7 +8806,7 @@ layers:
88068806
- name: sql.statements.rows_read.count
88078807
exported_name: sql_statements_rows_read_count
88088808
description: Number of rows read by SQL statements
8809-
y_axis_label: SQL Statements
8809+
y_axis_label: Rows
88108810
type: COUNTER
88118811
unit: COUNT
88128812
aggregation: AVG

pkg/sql/exec_util.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,25 +1515,25 @@ var (
15151515
MetaStatementRowsRead = metric.Metadata{
15161516
Name: "sql.statements.rows_read.count",
15171517
Help: "Number of rows read by SQL statements",
1518-
Measurement: "SQL Statements",
1518+
Measurement: "Rows",
15191519
Unit: metric.Unit_COUNT,
15201520
}
15211521
MetaStatementBytesRead = metric.Metadata{
15221522
Name: "sql.statements.bytes_read.count",
15231523
Help: "Number of bytes read by SQL statements",
1524-
Measurement: "SQL Statements",
1524+
Measurement: "Bytes",
15251525
Unit: metric.Unit_BYTES,
15261526
}
15271527
MetaStatementIndexRowsWritten = metric.Metadata{
15281528
Name: "sql.statements.index_rows_written.count",
15291529
Help: "Number of primary and secondary index rows modified by SQL statements",
1530-
Measurement: "SQL Statements",
1530+
Measurement: "Rows",
15311531
Unit: metric.Unit_COUNT,
15321532
}
15331533
MetaStatementIndexBytesWritten = metric.Metadata{
15341534
Name: "sql.statements.index_bytes_written.count",
15351535
Help: "Number of primary and secondary index bytes modified by SQL statements",
1536-
Measurement: "SQL Statements",
1536+
Measurement: "Bytes",
15371537
Unit: metric.Unit_BYTES,
15381538
}
15391539
)

0 commit comments

Comments
 (0)