Skip to content

Commit c052356

Browse files
craig[bot]yuzefovich
andcommitted
Merge #152365
152365: sql: mark a few recently added metrics as non-essential r=yuzefovich a=yuzefovich I think it was a mistake that we marked "routine started" metrics as essential - we only do that for "executed" metrics outside of the routine context, and not for "started", so I think we should follow that pattern. Additionally, this commit moves some metrics around so that "started" and "executed" are grouped. Epic: CRDB-52656 Release note: None Co-authored-by: Yahor Yuzefovich <[email protected]>
2 parents 37243f5 + d24f028 commit c052356

File tree

3 files changed

+98
-106
lines changed

3 files changed

+98
-106
lines changed

docs/generated/metrics/metrics.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,6 @@ layers:
634634
aggregation: AVG
635635
derivative: NON_NEGATIVE_DERIVATIVE
636636
how_to_use: This high-level metric reflects workload volume. Monitor this metric to identify abnormal application behavior or patterns over time. If abnormal patterns emerge, apply the metric's time range to the SQL Activity pages to investigate interesting outliers or patterns. For example, on the Transactions page and the Statements page, sort on the Execution Count column. To find problematic sessions, on the Sessions page, sort on the Transaction Count column. Find the sessions with high transaction counts and trace back to a user or application.
637-
essential: true
638637
- name: sql.routine.delete.started.count.internal
639638
exported_name: sql_routine_delete_started_count_internal
640639
labeled_name: 'sql.count{query_type: routine-started-delete, query_internal: true}'
@@ -674,7 +673,6 @@ layers:
674673
aggregation: AVG
675674
derivative: NON_NEGATIVE_DERIVATIVE
676675
how_to_use: This high-level metric reflects workload volume. Monitor this metric to identify abnormal application behavior or patterns over time. If abnormal patterns emerge, apply the metric's time range to the SQL Activity pages to investigate interesting outliers or patterns. For example, on the Transactions page and the Statements page, sort on the Execution Count column. To find problematic sessions, on the Sessions page, sort on the Transaction Count column. Find the sessions with high transaction counts and trace back to a user or application.
677-
essential: true
678676
- name: sql.routine.insert.started.count.internal
679677
exported_name: sql_routine_insert_started_count_internal
680678
labeled_name: 'sql.count{query_type: routine-started-insert, query_internal: true}'
@@ -714,7 +712,6 @@ layers:
714712
aggregation: AVG
715713
derivative: NON_NEGATIVE_DERIVATIVE
716714
how_to_use: This high-level metric reflects workload volume. Monitor this metric to identify abnormal application behavior or patterns over time. If abnormal patterns emerge, apply the metric's time range to the SQL Activity pages to investigate interesting outliers or patterns. For example, on the Transactions page and the Statements page, sort on the Execution Count column. To find problematic sessions, on the Sessions page, sort on the Transaction Count column. Find the sessions with high transaction counts and trace back to a user or application.
717-
essential: true
718715
- name: sql.routine.select.started.count.internal
719716
exported_name: sql_routine_select_started_count_internal
720717
labeled_name: 'sql.count{query_type: routine-started-select, query_internal: true}'
@@ -754,7 +751,6 @@ layers:
754751
aggregation: AVG
755752
derivative: NON_NEGATIVE_DERIVATIVE
756753
how_to_use: This high-level metric reflects workload volume. Monitor this metric to identify abnormal application behavior or patterns over time. If abnormal patterns emerge, apply the metric's time range to the SQL Activity pages to investigate interesting outliers or patterns. For example, on the Transactions page and the Statements page, sort on the Execution Count column. To find problematic sessions, on the Sessions page, sort on the Transaction Count column. Find the sessions with high transaction counts and trace back to a user or application.
757-
essential: true
758754
- name: sql.routine.update.started.count.internal
759755
exported_name: sql_routine_update_started_count_internal
760756
labeled_name: 'sql.count{query_type: routine-started-update, query_internal: true}'

0 commit comments

Comments
 (0)