-
Notifications
You must be signed in to change notification settings - Fork 2.4k
/
metadata.yaml
364 lines (359 loc) · 9.13 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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
type: mongodb
status:
class: receiver
stability:
beta: [metrics]
distributions: [contrib]
codeowners:
active: [djaglowski, schmikei]
seeking_new: true
resource_attributes:
server.address:
description: The address of the MongoDB host.
enabled: true
type: string
server.port:
description: The port of the MongoDB host.
enabled: false
type: int
database:
description: The name of a database.
enabled: true
type: string
attributes:
collection:
description: The name of a collection.
type: string
memory_type:
name_override: type
description: The type of memory used.
type: string
enum:
- resident
- virtual
operation:
description: The MongoDB operation being counted.
type: string
enum:
- insert
- query
- update
- delete
- getmore
- command
operation_latency:
name_override: operation
description: The MongoDB operation with regards to latency
type: string
enum:
- read
- write
- command
connection_type:
name_override: type
description: The status of the connection.
type: string
enum:
- active
- available
- current
type:
description: The result of a cache request.
type: string
enum:
- hit
- miss
lock_type:
description: The Resource over which the Lock controls access
type: string
enum:
- parallel_batch_write_mode
- replication_state_transition
- global
- database
- collection
- mutex
- metadata
- oplog
lock_mode:
description: The mode of Lock which denotes the degree of access
type: string
enum:
- shared
- exclusive
- intent_shared
- intent_exclusive
metrics:
mongodb.cache.operations:
description: The number of cache operations of the instance.
unit: "{operations}"
enabled: true
sum:
aggregation_temporality: cumulative
value_type: int
monotonic: true
attributes: [type]
mongodb.collection.count:
description: The number of collections.
unit: "{collections}"
enabled: true
sum:
aggregation_temporality: cumulative
value_type: int
monotonic: false
attributes: []
mongodb.data.size:
description: The size of the collection. Data compression does not affect this value.
unit: By
enabled: true
sum:
aggregation_temporality: cumulative
value_type: int
monotonic: false
attributes: []
mongodb.connection.count:
description: The number of connections.
unit: "{connections}"
enabled: true
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: false
attributes: [connection_type]
mongodb.extent.count:
description: The number of extents.
unit: "{extents}"
enabled: true
sum:
aggregation_temporality: cumulative
value_type: int
monotonic: false
attributes: []
mongodb.global_lock.time:
description: The time the global lock has been held.
unit: ms
enabled: true
sum:
aggregation_temporality: cumulative
value_type: int
monotonic: true
attributes: []
mongodb.index.count:
description: The number of indexes.
unit: "{indexes}"
enabled: true
sum:
aggregation_temporality: cumulative
value_type: int
monotonic: false
attributes: []
mongodb.index.size:
description: Sum of the space allocated to all indexes in the database, including free index space.
unit: By
enabled: true
sum:
aggregation_temporality: cumulative
value_type: int
monotonic: false
attributes: []
mongodb.memory.usage:
description: The amount of memory used.
unit: By
enabled: true
sum:
aggregation_temporality: cumulative
value_type: int
monotonic: false
attributes: [memory_type]
mongodb.object.count:
description: The number of objects.
unit: "{objects}"
enabled: true
sum:
aggregation_temporality: cumulative
value_type: int
monotonic: false
attributes: []
mongodb.operation.latency.time:
description: The latency of operations.
unit: us
enabled: false
gauge:
value_type: int
attributes: [ operation_latency ]
mongodb.operation.count:
description: The number of operations executed.
unit: "{operations}"
enabled: true
sum:
aggregation_temporality: cumulative
value_type: int
monotonic: true
attributes: [operation]
mongodb.operation.repl.count:
description: The number of replicated operations executed.
unit: "{operations}"
enabled: false
sum:
aggregation_temporality: cumulative
value_type: int
monotonic: true
attributes: [ operation ]
mongodb.storage.size:
description: The total amount of storage allocated to this collection.
extended_documentation: If collection data is compressed it reflects the compressed size.
unit: By
enabled: true
sum:
aggregation_temporality: cumulative
value_type: int
monotonic: true
attributes: []
mongodb.database.count:
description: The number of existing databases.
unit: "{databases}"
enabled: true
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: false
attributes: []
mongodb.index.access.count:
description: The number of times an index has been accessed.
unit: "{accesses}"
enabled: true
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: false
attributes: [collection]
mongodb.document.operation.count:
description: The number of document operations executed.
unit: "{documents}"
enabled: true
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: false
attributes: [operation]
mongodb.network.io.receive:
description: The number of bytes received.
unit: By
enabled: true
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: false
attributes: []
mongodb.network.io.transmit:
description: The number of by transmitted.
unit: By
enabled: true
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: false
attributes: []
mongodb.network.request.count:
description: The number of requests received by the server.
unit: "{requests}"
enabled: true
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: false
attributes: []
mongodb.operation.time:
description: The total time spent performing operations.
unit: ms
enabled: true
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: true
attributes: [operation]
mongodb.session.count:
description: The total number of active sessions.
unit: "{sessions}"
enabled: true
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: false
attributes: []
mongodb.cursor.count:
description: The number of open cursors maintained for clients.
unit: "{cursors}"
enabled: true
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: false
attributes: []
mongodb.cursor.timeout.count:
description: The number of cursors that have timed out.
unit: "{cursors}"
enabled: true
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: false
attributes: []
mongodb.lock.acquire.count:
description: Number of times the lock was acquired in the specified mode.
unit: "{count}"
enabled: false
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: true
attributes: [lock_type, lock_mode]
mongodb.lock.acquire.wait_count:
description: Number of times the lock acquisitions encountered waits because the locks were held in a conflicting mode.
unit: "{count}"
enabled: false
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: true
attributes: [lock_type, lock_mode]
mongodb.lock.acquire.time:
description: Cumulative wait time for the lock acquisitions.
unit: "microseconds"
enabled: false
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: true
attributes: [lock_type, lock_mode]
mongodb.lock.deadlock.count:
description: Number of times the lock acquisitions encountered deadlocks.
unit: "{count}"
enabled: false
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: true
attributes: [lock_type, lock_mode]
mongodb.health:
enabled: false
description: The health status of the server.
extended_documentation:
A value of '1' indicates healthy.
A value of '0' indicates unhealthy.
unit: "1"
gauge:
value_type: int
attributes: [ ]
mongodb.uptime:
enabled: false
description: The amount of time that the server has been running.
unit: ms
sum:
value_type: int
monotonic: true
aggregation_temporality: cumulative
attributes: [ ]
tests:
config:
timeout: 1ms