Skip to content

Commit d24f028

Browse files
committed
sql: mark a few recently added metrics as non-essential
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. Release note: None
1 parent 1aabeeb commit d24f028

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
@@ -601,7 +601,6 @@ layers:
601601
aggregation: AVG
602602
derivative: NON_NEGATIVE_DERIVATIVE
603603
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.
604-
essential: true
605604
- name: sql.routine.delete.started.count.internal
606605
exported_name: sql_routine_delete_started_count_internal
607606
labeled_name: 'sql.count{query_type: routine-started-delete, query_internal: true}'
@@ -641,7 +640,6 @@ layers:
641640
aggregation: AVG
642641
derivative: NON_NEGATIVE_DERIVATIVE
643642
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.
644-
essential: true
645643
- name: sql.routine.insert.started.count.internal
646644
exported_name: sql_routine_insert_started_count_internal
647645
labeled_name: 'sql.count{query_type: routine-started-insert, query_internal: true}'
@@ -681,7 +679,6 @@ layers:
681679
aggregation: AVG
682680
derivative: NON_NEGATIVE_DERIVATIVE
683681
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.
684-
essential: true
685682
- name: sql.routine.select.started.count.internal
686683
exported_name: sql_routine_select_started_count_internal
687684
labeled_name: 'sql.count{query_type: routine-started-select, query_internal: true}'
@@ -721,7 +718,6 @@ layers:
721718
aggregation: AVG
722719
derivative: NON_NEGATIVE_DERIVATIVE
723720
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.
724-
essential: true
725721
- name: sql.routine.update.started.count.internal
726722
exported_name: sql_routine_update_started_count_internal
727723
labeled_name: 'sql.count{query_type: routine-started-update, query_internal: true}'

0 commit comments

Comments
 (0)