forked from open-telemetry/opentelemetry-collector-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.yaml
243 lines (238 loc) · 8.35 KB
/
metadata.yaml
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
type: sqlserver
scope_name: otelcol/sqlserverreceiver
status:
class: receiver
stability:
beta: [metrics]
distributions: [contrib]
codeowners:
active: [djaglowski, StefanKurek]
seeking_new: true
resource_attributes:
sqlserver.database.name:
description: The name of the SQL Server database.
enabled: true
type: string
sqlserver.instance.name:
description: The name of the SQL Server instance being monitored.
enabled: false
type: string
sqlserver.computer.name:
description: The name of the SQL Server instance being monitored.
enabled: false
type: string
attributes:
page.operations:
name_override: type
description: The page operation types.
type: string
enum: [read, write]
physical_filename:
description: The physical filename of the file being monitored.
type: string
logical_filename:
description: The logical filename of the file being monitored.
type: string
file_type:
description: The type of file being monitored.
type: string
database.status:
description: The current status of a database
type: string
enum: [online, restoring, recovering, pending_recovery, suspect, offline]
metrics:
sqlserver.user.connection.count:
enabled: true
description: Number of users connected to the SQL Server.
unit: "{connections}"
gauge:
value_type: int
extended_documentation: This metric is only available when running on Windows.
sqlserver.lock.wait_time.avg:
enabled: true
description: Average wait time for all lock requests that had to wait.
unit: ms
gauge:
value_type: double
extended_documentation: This metric is only available when running on Windows.
sqlserver.lock.wait.rate:
enabled: true
description: Number of lock requests resulting in a wait.
unit: "{requests}/s"
gauge:
value_type: double
sqlserver.batch.request.rate:
enabled: true
description: Number of batch requests received by SQL Server.
unit: "{requests}/s"
gauge:
value_type: double
extended_documentation: This metric is only available when running on Windows.
sqlserver.batch.sql_compilation.rate:
enabled: true
description: Number of SQL compilations needed.
unit: "{compilations}/s"
gauge:
value_type: double
extended_documentation: This metric is only available when running on Windows.
sqlserver.batch.sql_recompilation.rate:
enabled: true
description: Number of SQL recompilations needed.
unit: "{compilations}/s"
gauge:
value_type: double
extended_documentation: This metric is only available when running on Windows.
sqlserver.page.buffer_cache.hit_ratio:
enabled: true
description: Pages found in the buffer pool without having to read from disk.
unit: "%"
gauge:
value_type: double
extended_documentation: This metric is only available when running on Windows.
sqlserver.page.life_expectancy:
enabled: true
description: Time a page will stay in the buffer pool.
unit: s
gauge:
value_type: int
extended_documentation: This metric is only available when running on Windows.
sqlserver.page.split.rate:
enabled: true
description: Number of pages split as a result of overflowing index pages.
unit: "{pages}/s"
gauge:
value_type: double
extended_documentation: This metric is only available when running on Windows.
sqlserver.page.lazy_write.rate:
enabled: true
description: Number of lazy writes moving dirty pages to disk.
unit: "{writes}/s"
gauge:
value_type: double
extended_documentation: This metric is only available when running on Windows.
sqlserver.page.checkpoint.flush.rate:
enabled: true
description: Number of pages flushed by operations requiring dirty pages to be flushed.
unit: "{pages}/s"
gauge:
value_type: double
extended_documentation: This metric is only available when running on Windows.
sqlserver.page.operation.rate:
enabled: true
description: Number of physical database page operations issued.
unit: "{operations}/s"
gauge:
value_type: double
attributes: [page.operations]
extended_documentation: This metric is only available when running on Windows.
sqlserver.transaction_log.growth.count:
enabled: true
description: Total number of transaction log expansions for a database.
unit: "{growths}"
sum:
monotonic: true
aggregation_temporality: cumulative
value_type: int
extended_documentation: This metric is only available when running on Windows.
sqlserver.transaction_log.shrink.count:
enabled: true
description: Total number of transaction log shrinks for a database.
unit: "{shrinks}"
sum:
monotonic: true
aggregation_temporality: cumulative
value_type: int
extended_documentation: This metric is only available when running on Windows.
sqlserver.transaction_log.usage:
enabled: true
description: Percent of transaction log space used.
unit: "%"
gauge:
value_type: int
extended_documentation: This metric is only available when running on Windows.
sqlserver.transaction_log.flush.wait.rate:
enabled: true
description: Number of commits waiting for a transaction log flush.
unit: "{commits}/s"
gauge:
value_type: double
extended_documentation: This metric is only available when running on Windows.
sqlserver.transaction_log.flush.rate:
enabled: true
description: Number of log flushes.
unit: "{flushes}/s"
gauge:
value_type: double
extended_documentation: This metric is only available when running on Windows.
sqlserver.transaction_log.flush.data.rate:
enabled: true
description: Total number of log bytes flushed.
unit: By/s
gauge:
value_type: double
extended_documentation: This metric is only available when running on Windows.
sqlserver.transaction.rate:
enabled: true
description: Number of transactions started for the database (not including XTP-only transactions).
unit: "{transactions}/s"
gauge:
value_type: double
extended_documentation: This metric is only available when running on Windows.
sqlserver.transaction.write.rate:
enabled: true
description: Number of transactions that wrote to the database and committed.
unit: "{transactions}/s"
gauge:
value_type: double
extended_documentation: This metric is only available when running on Windows.
sqlserver.database.io.read_latency:
enabled: false
description: Total time that the users waited for reads issued on this file.
unit: "s"
sum:
monotonic: true
aggregation_temporality: cumulative
value_type: double
attributes: [physical_filename, logical_filename, file_type]
extended_documentation: This metric is only available when the receiver is configured to directly connect to SQL Server.
sqlserver.resource_pool.disk.throttled.read.rate:
enabled: false
description: The number of read operations that were throttled in the last second
unit: "{reads}/s"
gauge:
value_type: int
input_type: string
attributes: []
extended_documentation: This metric is only available when the receiver is configured to directly connect to SQL Server.
sqlserver.resource_pool.disk.throttled.write.rate:
enabled: false
description: The number of write operations that were throttled in the last second
unit: "{writes}/s"
gauge:
value_type: double
input_type: string
attributes: []
extended_documentation: This metric is only available when the receiver is configured to directly connect to SQL Server.
sqlserver.processes.blocked:
enabled: false
description: The number of processes that are currently blocked
unit: "{processes}"
gauge:
value_type: int
input_type: string
attributes: []
extended_documentation: This metric is only available when the receiver is configured to directly connect to SQL Server.
sqlserver.database.count:
enabled: false
description: The number of databases
unit: "{databases}"
gauge:
value_type: int
input_type: string
attributes: [database.status]
extended_documentation: This metric is only available when the receiver is configured to directly connect to SQL Server.
tests:
config:
goleak:
ignore:
any: "github.com/godbus/dbus.(*Conn).inWorker"