You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
150640: crosscluster: clean up some metrics r=dhartunian a=msbutler
This patch labels a few PCR/LDR metrics as essential and applies a static label to several ldr event metrics.
Epic: CRDB-52339
Release note: none
Co-authored-by: Michael Butler <[email protected]>
Copy file name to clipboardExpand all lines: docs/generated/metrics/metrics.yaml
+83-58Lines changed: 83 additions & 58 deletions
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,28 @@ layers:
85
85
derivative: NONE
86
86
how_to_use: Changefeeds use protected timestamps to protect the data from being garbage collected. Ensure the protected timestamp age does not significantly exceed the GC TTL zone configuration. Alert on this metric if the protected timestamp age is greater than 3 times the GC TTL.
87
87
essential: true
88
+
- name: CROSS_CLUSTER_REPLICATION
89
+
metrics:
90
+
- name: physical_replication.logical_bytes
91
+
exported_name: physical_replication_logical_bytes
92
+
description: Logical bytes (sum of keys + values) ingested by all replication jobs
description: The replicated time of the physical replication stream in seconds since the unix epoch.
103
+
y_axis_label: Seconds
104
+
type: GAUGE
105
+
unit: SECONDS
106
+
aggregation: AVG
107
+
derivative: NONE
108
+
how_to_use: Track replication lag via current time - physical_replication.replicated_time_seconds
109
+
essential: true
88
110
- name: DISTRIBUTED
89
111
metrics:
90
112
- name: distsender.errors.notleaseholder
@@ -107,6 +129,58 @@ layers:
107
129
derivative: NON_NEGATIVE_DERIVATIVE
108
130
how_to_use: RPC errors do not necessarily indicate a problem. This metric tracks remote procedure calls that return a status value other than "success". A non-success status of an RPC should not be misconstrued as a network transport issue. It is database code logic executed on another cluster node. The non-success status is a result of an orderly execution of an RPC that reports a specific logical condition.
109
131
essential: true
132
+
- name: LOGICAL_DATA_REPLICATION
133
+
metrics:
134
+
- name: logical_replication.commit_latency
135
+
exported_name: logical_replication_commit_latency
136
+
description: 'Event commit latency: a difference between event MVCC timestamp and the time it was flushed into disk. If we batch events, then the difference between the oldest event in the batch and flush is recorded'
137
+
y_axis_label: Nanoseconds
138
+
type: HISTOGRAM
139
+
unit: NANOSECONDS
140
+
aggregation: AVG
141
+
derivative: NONE
142
+
how_to_use: track the latency of of applying events from source to destination
143
+
essential: true
144
+
- name: logical_replication.events_dlqed
145
+
exported_name: logical_replication_events_dlqed
146
+
description: Row update events sent to DLQ
147
+
y_axis_label: Failures
148
+
type: COUNTER
149
+
unit: COUNT
150
+
aggregation: AVG
151
+
derivative: NON_NEGATIVE_DERIVATIVE
152
+
how_to_use: track events sent to the dead letter queue
description: The replicated time of the logical replication stream in seconds since the unix epoch.
177
+
y_axis_label: Seconds
178
+
type: GAUGE
179
+
unit: SECONDS
180
+
aggregation: AVG
181
+
derivative: NONE
182
+
how_to_use: Track replication lag via current time - logical_replication.replicated_time_seconds
183
+
essential: true
110
184
- name: NETWORKING
111
185
metrics:
112
186
- name: clock-offset.meannanos
@@ -7026,24 +7100,9 @@ layers:
7026
7100
unit: COUNT
7027
7101
aggregation: AVG
7028
7102
derivative: NON_NEGATIVE_DERIVATIVE
7029
-
- name: logical_replication.commit_latency
7030
-
exported_name: logical_replication_commit_latency
7031
-
description: 'Event commit latency: a difference between event MVCC timestamp and the time it was flushed into disk. If we batch events, then the difference between the oldest event in the batch and flush is recorded'
0 commit comments