/
fields.yml
145 lines (145 loc) · 5.67 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
- name: gcp.cloudsql_sqlserver
description: Google Cloud CloudSQL SQL Server 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.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.audits_size.bytes
type: long
unit: byte
metric_type: gauge
description: Tracks the size in bytes of stored SQLServer audit files on an instance.
- name: database.audits_upload.count
type: long
metric_type: gauge
description: Delta count of total number of SQLServer audit file uploads to a GCS bucket and whether or not an upload was successful.
- name: database.external_sync.primary_to_replica_connection_health
type: long
metric_type: gauge
description: Indicates whether there is connectivity from Primary to the Replica to push replication updates.
- 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.