/
fields.yml
257 lines (257 loc) · 11.1 KB
/
fields.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
- name: gcp.cloudsql_postgresql
description: Google Cloud CloudSQL PostgreSQL metrics
type: group
fields:
- name: database.active_directory.domain_reachable
type: long
metric_type: gauge
description: Indicates whether the instance is able to ping a domain controller from the connected Managed Active Directory domain.
- name: database.active_directory.instance_available
type: long
metric_type: gauge
description: Indicates whether the instance is currently available using Windows Authentication.
- name: database.auto_failover_request.count
type: long
metric_type: gauge
description: Delta of number of instance auto-failover requests.
- name: database.available_for_failover
type: long
metric_type: gauge
description: This is > 0 if the failover operation is available on the instance.
- name: database.cpu.reserved_cores.count
type: double
metric_type: gauge
description: Number of cores reserved for the database.
- name: database.cpu.usage_time.sec
type: double
unit: s
metric_type: gauge
description: Delta CPU usage time in seconds.
- name: database.cpu.utilization.pct
type: double
unit: percent
metric_type: gauge
description: Current CPU utilization represented as a percentage of the reserved CPU that is currently in use.
- name: database.disk.bytes_used.bytes
type: long
unit: byte
metric_type: gauge
description: Data utilization in bytes.
- name: database.disk.bytes_used_by_data_type.bytes
type: long
unit: byte
metric_type: gauge
description: Data utilization in bytes.
- name: database.disk.quota.bytes
type: long
unit: byte
metric_type: gauge
description: Maximum data disk size in bytes.
- name: database.disk.read_ops.count
type: long
metric_type: gauge
description: Delta count of data disk read IO operations.
- name: database.disk.utilization.pct
type: double
unit: percent
metric_type: gauge
description: The fraction of the disk quota that is currently in use.
- name: database.disk.write_ops.count
type: long
metric_type: gauge
description: Delta count of data disk write IO operations.
- name: database.instance_state
type: long
metric_type: gauge
description: The current serving state of the Cloud SQL instance.
- name: database.memory.quota.bytes
type: long
unit: byte
metric_type: gauge
description: Maximum RAM size in bytes.
- name: database.memory.total_usage.bytes
type: long
unit: byte
metric_type: gauge
description: Total RAM usage in bytes. This metric reports the RAM usage of the database process, including the buffer/cache.
- name: database.memory.usage.bytes
type: long
unit: byte
metric_type: gauge
description: RAM usage in bytes. This metric reports the RAM usage of the server, excluding the buffer/cache.
- name: database.memory.utilization.pct
type: double
unit: percent
metric_type: gauge
description: The fraction of the memory quota that is currently in use.
- name: database.network.connections.count
type: long
metric_type: gauge
description: Number of connections to databases on the Cloud SQL instance. Only applicable to MySQL and SQL Server.
- name: database.network.received_bytes.count
type: long
metric_type: gauge
description: Delta count of bytes received through the network.
- name: database.network.sent_bytes.count
type: long
metric_type: gauge
description: Delta count of bytes sent through the network.
- name: database.blocks_read.count
type: long
metric_type: gauge
description: Delta count of disk blocks read by this database. The source field distingushes actual reads from disk versus reads from buffer cache.
- name: database.deadlock.count
type: long
metric_type: gauge
description: Delta count of deadlocks detected for this database.
- name: database.external_sync.initial_sync_complete
type: long
metric_type: gauge
description: Whether all databases on the Postgres External Server (ES) replica have completed the initial sync and are replicating changes from the source.
- name: database.external_sync.max_replica_byte_lag.bytes
type: long
unit: byte
metric_type: gauge
description: Replication lag in bytes for Postgres External Server (ES) replicas. Aggregated across all DBs on the replica.
- name: database.insights.aggregate.execution_time
type: long
metric_type: counter
description: Accumulated query execution time per user per database. This is the sum of cpu time, io wait time, lock wait time, process context switch, and scheduling for all the processes involved in the query execution.
- name: database.insights.aggregate.io_time
type: long
metric_type: counter
description: Accumulated IO time per user per database.
- name: database.insights.aggregate.latencies
type: long
metric_type: counter
description: Query latency distribution per user per database.
- name: database.insights.aggregate.lock_time
type: long
metric_type: counter
description: Accumulated lock wait time per user per database.
- name: database.insights.aggregate.row.count
type: long
metric_type: counter
description: Total number of rows affected during query execution.
- name: database.insights.aggregate.shared_blk_access.count
type: long
metric_type: counter
description: Shared blocks (regular tables & indexed) accessed by statement execution.
- name: database.insights.perquery.execution_time
type: long
metric_type: counter
description: Accumulated execution times per user per database per query.This is the sum of cpu time, io wait time, lock wait time, process context switch, and scheduling for all the processes involved in the query execution.
- name: database.insights.perquery.io_time
type: long
metric_type: counter
description: Accumulated IO time per user per database per query.
- name: database.insights.perquery.latencies
type: histogram
description: Query latency distribution per user per database per query.
- name: database.insights.perquery.lock_time
type: long
metric_type: counter
description: Accumulated lock wait time per user per database per query.
- name: database.insights.perquery.row.count
type: long
metric_type: counter
description: Total number of rows affected during query execution.
- name: database.insights.perquery.shared_blk_access.count
type: long
metric_type: counter
description: Shared blocks (regular tables & indexed) accesssed by statement execution.
- name: database.insights.pertag.execution_time
type: long
metric_type: counter
description: Accumulated execution times per user per database per tag.This is the sum of cpu time, io wait time, lock wait time, process context switch, and scheduling for all the processes involved in the query execution.
- name: database.insights.pertag.io_time
type: long
metric_type: counter
description: Accumulated IO write time per user per database per tag.
- name: database.insights.pertag.latencies
type: histogram
description: Query latency distribution per user per database per tag.
- name: database.insights.pertag.lock_time
type: long
metric_type: counter
description: Accumulated lock wait time per user per database per tag.
- name: database.insights.pertag.row.count
type: long
metric_type: counter
description: Total number of rows affected during query execution.
- name: database.insights.pertag.shared_blk_access.count
type: long
metric_type: counter
description: Shared blocks (regular tables & indexed) accessed by statement execution.
- name: database.num_backends.count
type: long
metric_type: gauge
description: Number of connections to the Cloud SQL PostgreSQL instance.
- name: database.num_backends_by_state.count
type: long
metric_type: gauge
description: Number of connections to the Cloud SQL PostgreSQL instance, grouped by its state.
- name: database.replication.replica_byte_lag.bytes
type: long
unit: byte
metric_type: gauge
description: Replication lag in bytes. Reported from the master per replica.
- name: database.transaction.count
type: long
metric_type: gauge
description: Delta count of number of transactions.
- name: database.transaction_id.count
type: long
metric_type: gauge
description: Delta count of transaction ID.
- name: database.transaction_id_utilization.pct
type: double
unit: percent
metric_type: gauge
description: Current utilization represented as a percentage of transaction IDs consumed by the Cloud SQL PostgreSQL instance. Values are typically numbers between 0.0 and 1.0. Charts display the values as a percentage between 0% and 100%.
- name: database.tuple_size.count
type: long
metric_type: gauge
description: Number of tuples (rows) in the database.
- name: database.tuples_processed.count
type: long
metric_type: gauge
description: Delta count of tuples(rows) processed for a given database for operations like insert, update or delete.
- name: database.vacuum.oldest_transaction_age
type: long
metric_type: gauge
description: Age of the oldest transaction yet to be vacuumed in the Cloud SQL PostgreSQL instance, measured in number of transactions that have happened since the oldest transaction.
- name: database.replication.log_archive_failure.count
type: long
metric_type: gauge
description: Delta count of failed attempts for archiving replication log files.
- name: database.replication.log_archive_success.count
type: long
metric_type: gauge
description: Delta count of successful attempts for archiving replication log files.
- name: database.replication.network_lag.sec
type: long
unit: s
metric_type: gauge
description: Indicates time taken from primary binary log to IO thread on replica. Only applicable to replicas.
- name: database.replication.replica_lag.sec
type: double
unit: s
metric_type: gauge
description: Number of seconds the read replica is behind its primary (approximation).
- name: database.replication.state
type: long
metric_type: gauge
description: The current serving state of replication.
- name: database.state
type: keyword
description: The current serving state of the Cloud SQL instance.
- name: database.up
type: long
metric_type: gauge
description: Indicates if the server is up or not.
- name: database.uptime.sec
type: long
unit: s
metric_type: gauge
description: Delta count of the time in seconds the instance has been running.