remove go.d/windows (#19290)
Ilya Mashchenko committed
Dec 27, 2024 at 20:27 UTC
9069ef33af9d79606324ca5c7b2c8e2c24f84d91
35 files changed
-13191
src/go/plugin/go.d/README.md
-1
@@ -144,7 +144,6 @@ All capabilities are set automatically during Netdata installation using the [of
144
| [web_log](https://github.com/netdata/netdata/tree/master/src/go/plugin/go.d/collector/weblog) | Apache/NGINX |
145
| [wireguard](https://github.com/netdata/netdata/tree/master/src/go/plugin/go.d/collector/wireguard) | WireGuard |
146
| [whoisquery](https://github.com/netdata/netdata/tree/master/src/go/plugin/go.d/collector/whoisquery) | Domain Expiry |
147
-| [windows](https://github.com/netdata/netdata/tree/master/src/go/plugin/go.d/collector/windows) | Windows |
147
| [x509check](https://github.com/netdata/netdata/tree/master/src/go/plugin/go.d/collector/x509check) | Digital Certificates |
148
| [zfspool](https://github.com/netdata/netdata/tree/master/src/go/plugin/go.d/collector/zfspool) | ZFS Pools |
149
| [zookeeper](https://github.com/netdata/netdata/tree/master/src/go/plugin/go.d/collector/zookeeper) | ZooKeeper |
src/go/plugin/go.d/collector/init.go
-1
@@ -121,7 +121,6 @@ import (
121
_ "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/w1sensor"
122
_ "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/weblog"
123
_ "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/whoisquery"
124
- _ "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/windows"
124
_ "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/wireguard"
125
_ "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/x509check"
126
_ "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/zfspool"
src/go/plugin/go.d/collector/windows/README.md
deleted
-837
@@ -1,837 +0,0 @@
1
-# Windows
2
-
3
-<img src="https://netdata.cloud/img/windows.svg" width="150"/>
4
-
5
-
6
-Plugin: go.d.plugin
7
-Module: windows
8
-
9
-<img src="https://img.shields.io/badge/maintained%20by-Netdata-%2300ab44" />
10
-
11
-## Overview
12
-
13
-**Deprecation Notice**: This collector is no longer the recommended method for Windows monitoring and will be removed in a future release.
14
-
15
-The official Netdata Agent for Windows now provides a robust and user-friendly solution for real-time system and application performance monitoring. By installing Netdata on your Windows host, you'll gain access to a wide range of metrics and visualizations without the need for additional collectors or complex configurations.
16
-
17
-To get started with Netdata on Windows, see the [Netdata Windows Installer](https://github.com/netdata/netdata/blob/master/packaging/windows/WINDOWS_INSTALLER.md).
18
-
19
----
20
-
21
-This collector monitors the performance of Windows machines, collects both host metrics and metrics from various Windows applications (e.g. Active Directory, MSSQL).
22
-
23
-
24
-It collect metrics by periodically sending HTTP requests to [Prometheus exporter for Windows machines](https://github.com/prometheus-community/windows_exporter), a native Windows Agent running on each host.
25
-
26
-
27
-This collector is supported on all platforms.
28
-
29
-This collector supports collecting metrics from multiple instances of this integration, including remote instances.
30
-
31
-
32
-### Default Behavior
33
-
34
-#### Auto-Detection
35
-
36
-This integration doesn't support auto-detection.
37
-
38
-#### Limits
39
-
40
-The default configuration for this integration does not impose any limits on data collection.
41
-
42
-#### Performance Impact
43
-
44
-Data collection affects the CPU usage of the Windows host. CPU usage depends on the frequency of data collection and the [enabled collectors](https://github.com/prometheus-community/windows_exporter#collectors).
45
-
46
-
47
-
48
-## Metrics
49
-
50
-Metrics grouped by *scope*.
51
-
52
-The scope defines the instance that the metric belongs to. An instance is uniquely identified by a set of labels.
53
-
54
-The collected set of metrics depends on the [enabled collectors](https://github.com/prometheus-community/windows_exporter#collectors).
55
-
56
-Supported collectors:
57
-
58
-- [cpu](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.cpu.md)
59
-- [iis](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.iis.md)
60
-- [memory](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.memory.md)
61
-- [net](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.net.md)
62
-- [logical_disk](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.logical_disk.md)
63
-- [os](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.os.md)
64
-- [system](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.system.md)
65
-- [logon](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.logon.md)
66
-- [tcp](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.tcp.md)
67
-- [thermalzone](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.thermalzone.md)
68
-- [process](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.process.md)
69
-- [service](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.service.md)
70
-- [mssql](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.mssql.md)
71
-- [ad](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.ad.md)
72
-- [adcs](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.adcs.md)
73
-- [adfs](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.adfs.md)
74
-- [netframework_clrexceptions](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.netframework.md#clr-exceptions)
75
-- [netframework_clrinterop](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.netframework.md#clr-interop)
76
-- [netframework_clrjit](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.netframework.md#clr-jit)
77
-- [netframework_clrloading](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.netframework.md#clr-loading)
78
-- [netframework_clrlocksandthreads](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.netframework.md#clr-locks-and-threads)
79
-- [netframework_clrmemory](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.netframework.md#clr-memory)
80
-- [netframework_clrremoting](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.netframework.md#clr-remoting)
81
-- [exchange](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.exchange.md)
82
-- [hyperv](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.hyperv.md)
83
-
84
-
85
-### Per Active Directory instance
86
-
87
-These metrics refer to the entire monitored host.
88
-
89
-This scope has no labels.
90
-
91
-Metrics:
92
-
93
-| Metric | Dimensions | Unit |
94
-|:------|:----------|:----|
95
-| windows.cpu_utilization_total | dpc, user, privileged, interrupt | percentage |
96
-| windows.memory_utilization | available, used | bytes |
97
-| windows.memory_page_faults | page_faults | events/s |
98
-| windows.memory_swap_utilization | available, used | bytes |
99
-| windows.memory_swap_operations | read, write | operations/s |
100
-| windows.memory_swap_pages | read, written | pages/s |
101
-| windows.memory_cached | cached | KiB |
102
-| windows.memory_cache_faults | cache_faults | events/s |
103
-| windows.memory_system_pool | paged, non-paged | bytes |
104
-| windows.tcp_conns_established | ipv4, ipv6 | connections |
105
-| windows.tcp_conns_active | ipv4, ipv6 | connections/s |
106
-| windows.tcp_conns_passive | ipv4, ipv6 | connections/s |
107
-| windows.tcp_conns_failures | ipv4, ipv6 | failures/s |
108
-| windows.tcp_conns_resets | ipv4, ipv6 | resets/s |
109
-| windows.tcp_segments_received | ipv4, ipv6 | segments/s |
110
-| windows.tcp_segments_sent | ipv4, ipv6 | segments/s |
111
-| windows.tcp_segments_retransmitted | ipv4, ipv6 | segments/s |
112
-| windows.os_processes | processes | number |
113
-| windows.os_users | users | users |
114
-| windows.os_visible_memory_usage | free, used | bytes |
115
-| windows.os_paging_files_usage | free, used | bytes |
116
-| windows.system_threads | threads | number |
117
-| windows.system_uptime | time | seconds |
118
-| windows.logon_type_sessions | system, interactive, network, batch, service, proxy, unlock, network_clear_text, new_credentials, remote_interactive, cached_interactive, cached_remote_interactive, cached_unlock | seconds |
119
-| windows.processes_cpu_utilization | a dimension per process | percentage |
120
-| windows.processes_handles | a dimension per process | handles |
121
-| windows.processes_io_bytes | a dimension per process | bytes/s |
122
-| windows.processes_io_operations | a dimension per process | operations/s |
123
-| windows.processes_page_faults | a dimension per process | pgfaults/s |
124
-| windows.processes_page_file_bytes | a dimension per process | bytes |
125
-| windows.processes_pool_bytes | a dimension per process | bytes |
126
-| windows.processes_threads | a dimension per process | threads |
127
-| ad.database_operations | add, delete, modify, recycle | operations/s |
128
-| ad.directory_operations | read, write, search | operations/s |
129
-| ad.name_cache_lookups | lookups | lookups/s |
130
-| ad.name_cache_hits | hits | hits/s |
131
-| ad.atq_average_request_latency | time | seconds |
132
-| ad.atq_outstanding_requests | outstanding | requests |
133
-| ad.dra_replication_intersite_compressed_traffic | inbound, outbound | bytes/s |
134
-| ad.dra_replication_intrasite_compressed_traffic | inbound, outbound | bytes/s |
135
-| ad.dra_replication_sync_objects_remaining | inbound, outbound | objects |
136
-| ad.dra_replication_objects_filtered | inbound, outbound | objects/s |
137
-| ad.dra_replication_properties_updated | inbound, outbound | properties/s |
138
-| ad.dra_replication_properties_filtered | inbound, outbound | properties/s |
139
-| ad.dra_replication_pending_syncs | pending | syncs |
140
-| ad.dra_replication_sync_requests | requests | requests/s |
141
-| ad.ds_threads | in_use | threads |
142
-| ad.ldap_last_bind_time | last_bind | seconds |
143
-| ad.binds | binds | binds/s |
144
-| ad.ldap_searches | searches | searches/s |
145
-| adfs.ad_login_connection_failures | connection | failures/s |
146
-| adfs.certificate_authentications | authentications | authentications/s |
147
-| adfs.db_artifact_failures | connection | failures/s |
148
-| adfs.db_artifact_query_time_seconds | query_time | seconds/s |
149
-| adfs.db_config_failures | connection | failures/s |
150
-| adfs.db_config_query_time_seconds | query_time | seconds/s |
151
-| adfs.device_authentications | authentications | authentications/s |
152
-| adfs.external_authentications | success, failure | authentications/s |
153
-| adfs.federated_authentications | authentications | authentications/s |
154
-| adfs.federation_metadata_requests | requests | requests/s |
155
-| adfs.oauth_authorization_requests | requests | requests/s |
156
-| adfs.oauth_client_authentications | success, failure | authentications/s |
157
-| adfs.oauth_client_credentials_requests | success, failure | requests/s |
158
-| adfs.oauth_client_privkey_jwt_authentications | success, failure | authentications/s |
159
-| adfs.oauth_client_secret_basic_authentications | success, failure | authentications/s |
160
-| adfs.oauth_client_secret_post_authentications | success, failure | authentications/s |
161
-| adfs.oauth_client_windows_authentications | success, failure | authentications/s |
162
-| adfs.oauth_logon_certificate_requests | success, failure | requests/s |
163
-| adfs.oauth_password_grant_requests | success, failure | requests/s |
164
-| adfs.oauth_token_requests_success | success | requests/s |
165
-| adfs.passive_requests | passive | requests/s |
166
-| adfs.passport_authentications | passport | authentications/s |
167
-| adfs.password_change_requests | success, failure | requests/s |
168
-| adfs.samlp_token_requests_success | success | requests/s |
169
-| adfs.sso_authentications | success, failure | authentications/s |
170
-| adfs.token_requests | requests | requests/s |
171
-| adfs.userpassword_authentications | success, failure | authentications/s |
172
-| adfs.windows_integrated_authentications | authentications | authentications/s |
173
-| adfs.wsfed_token_requests_success | success | requests/s |
174
-| adfs.wstrust_token_requests_success | success | requests/s |
175
-| exchange.activesync_ping_cmds_pending | pending | commands |
176
-| exchange.activesync_requests | received | requests/s |
177
-| exchange.activesync_sync_cmds | processed | commands/s |
178
-| exchange.autodiscover_requests | processed | requests/s |
179
-| exchange.avail_service_requests | serviced | requests/s |
180
-| exchange.owa_current_unique_users | logged-in | users |
181
-| exchange.owa_requests_total | handled | requests/s |
182
-| exchange.rpc_active_user_count | active | users |
183
-| exchange.rpc_avg_latency | latency | seconds |
184
-| exchange.rpc_connection_count | connections | connections |
185
-| exchange.rpc_operations | operations | operations/s |
186
-| exchange.rpc_requests | processed | requests |
187
-| exchange.rpc_user_count | users | users |
188
-| exchange.transport_queues_active_mail_box_delivery | low, high, none, normal | messages/s |
189
-| exchange.transport_queues_external_active_remote_delivery | low, high, none, normal | messages/s |
190
-| exchange.transport_queues_external_largest_delivery | low, high, none, normal | messages/s |
191
-| exchange.transport_queues_internal_active_remote_delivery | low, high, none, normal | messages/s |
192
-| exchange.transport_queues_internal_largest_delivery | low, high, none, normal | messages/s |
193
-| exchange.transport_queues_retry_mailbox_delivery | low, high, none, normal | messages/s |
194
-| exchange.transport_queues_poison | low, high, none, normal | messages/s |
195
-| hyperv.vms_health | ok, critical | vms |
196
-| hyperv.root_partition_device_space_pages | 4K, 2M, 1G | pages |
197
-| hyperv.root_partition_gpa_space_pages | 4K, 2M, 1G | pages |
198
-| hyperv.root_partition_gpa_space_modifications | gpa | modifications/s |
199
-| hyperv.root_partition_attached_devices | attached | devices |
200
-| hyperv.root_partition_deposited_pages | deposited | pages |
201
-| hyperv.root_partition_skipped_interrupts | skipped | interrupts |
202
-| hyperv.root_partition_device_dma_errors | illegal_dma | requests |
203
-| hyperv.root_partition_device_interrupt_errors | illegal_interrupt | requests |
204
-| hyperv.root_partition_device_interrupt_throttle_events | throttling | events |
205
-| hyperv.root_partition_io_tlb_flush | flushes | flushes/s |
206
-| hyperv.root_partition_address_space | address_spaces | address spaces |
207
-| hyperv.root_partition_virtual_tlb_flush_entries | flushes | flushes/s |
208
-| hyperv.root_partition_virtual_tlb_pages | used | pages |
209
-
210
-### Per cpu core
211
-
212
-TBD
213
-
214
-Labels:
215
-
216
-| Label | Description |
217
-|:-----------|:----------------|
218
-| core | TBD |
219
-
220
-Metrics:
221
-
222
-| Metric | Dimensions | Unit |
223
-|:------|:----------|:----|
224
-| windows.cpu_core_utilization | dpc, user, privileged, interrupt | percentage |
225
-| windows.cpu_core_interrupts | interrupts | interrupts/s |
226
-| windows.cpu_core_dpcs | dpcs | dpcs/s |
227
-| windows.cpu_core_cstate | c1, c2, c3 | percentage |
228
-
229
-### Per logical disk
230
-
231
-TBD
232
-
233
-Labels:
234
-
235
-| Label | Description |
236
-|:-----------|:----------------|
237
-| disk | TBD |
238
-
239
-Metrics:
240
-
241
-| Metric | Dimensions | Unit |
242
-|:------|:----------|:----|
243
-| windows.logical_disk_utilization | free, used | bytes |
244
-| windows.logical_disk_bandwidth | read, write | bytes/s |
245
-| windows.logical_disk_operations | reads, writes | operations/s |
246
-| windows.logical_disk_latency | read, write | seconds |
247
-
248
-### Per network device
249
-
250
-TBD
251
-
252
-Labels:
253
-
254
-| Label | Description |
255
-|:-----------|:----------------|
256
-| nic | TBD |
257
-
258
-Metrics:
259
-
260
-| Metric | Dimensions | Unit |
261
-|:------|:----------|:----|
262
-| windows.net_nic_bandwidth | received, sent | kilobits/s |
263
-| windows.net_nic_packets | received, sent | packets/s |
264
-| windows.net_nic_errors | inbound, outbound | errors/s |
265
-| windows.net_nic_discarded | inbound, outbound | discards/s |
266
-
267
-### Per thermalzone
268
-
269
-TBD
270
-
271
-Labels:
272
-
273
-| Label | Description |
274
-|:-----------|:----------------|
275
-| thermalzone | TBD |
276
-
277
-Metrics:
278
-
279
-| Metric | Dimensions | Unit |
280
-|:------|:----------|:----|
281
-| windows.thermalzone_temperature | temperature | celsius |
282
-
283
-### Per service
284
-
285
-TBD
286
-
287
-Labels:
288
-
289
-| Label | Description |
290
-|:-----------|:----------------|
291
-| service | TBD |
292
-
293
-Metrics:
294
-
295
-| Metric | Dimensions | Unit |
296
-|:------|:----------|:----|
297
-| windows.service_state | running, stopped, start_pending, stop_pending, continue_pending, pause_pending, paused, unknown | state |
298
-| windows.service_status | ok, error, unknown, degraded, pred_fail, starting, stopping, service, stressed, nonrecover, no_contact, lost_comm | status |
299
-
300
-### Per website
301
-
302
-TBD
303
-
304
-Labels:
305
-
306
-| Label | Description |
307
-|:-----------|:----------------|
308
-| website | TBD |
309
-
310
-Metrics:
311
-
312
-| Metric | Dimensions | Unit |
313
-|:------|:----------|:----|
314
-| iis.website_traffic | received, sent | bytes/s |
315
-| iis.website_requests_rate | requests | requests/s |
316
-| iis.website_active_connections_count | active | connections |
317
-| iis.website_users_count | anonymous, non_anonymous | users |
318
-| iis.website_connection_attempts_rate | connection | attempts/s |
319
-| iis.website_isapi_extension_requests_count | isapi | requests |
320
-| iis.website_isapi_extension_requests_rate | isapi | requests/s |
321
-| iis.website_ftp_file_transfer_rate | received, sent | files/s |
322
-| iis.website_logon_attempts_rate | logon | attempts/s |
323
-| iis.website_errors_rate | document_locked, document_not_found | errors/s |
324
-| iis.website_uptime | uptime | seconds |
325
-
326
-### Per mssql instance
327
-
328
-TBD
329
-
330
-Labels:
331
-
332
-| Label | Description |
333
-|:-----------|:----------------|
334
-| mssql_instance | TBD |
335
-
336
-Metrics:
337
-
338
-| Metric | Dimensions | Unit |
339
-|:------|:----------|:----|
340
-| mssql.instance_accessmethods_page_splits | page | splits/s |
341
-| mssql.instance_cache_hit_ratio | hit_ratio | percentage |
342
-| mssql.instance_bufman_checkpoint_pages | flushed | pages/s |
343
-| mssql.instance_bufman_page_life_expectancy | life_expectancy | seconds |
344
-| mssql.instance_bufman_iops | read, written | iops |
345
-| mssql.instance_blocked_processes | blocked | processes |
346
-| mssql.instance_user_connection | user | connections |
347
-| mssql.instance_locks_lock_wait | alloc_unit, application, database, extent, file, hobt, key, metadata, oib, object, page, rid, row_group, xact | locks/s |
348
-| mssql.instance_locks_deadlocks | alloc_unit, application, database, extent, file, hobt, key, metadata, oib, object, page, rid, row_group, xact | locks/s |
349
-| mssql.instance_memmgr_connection_memory_bytes | memory | bytes |
350
-| mssql.instance_memmgr_external_benefit_of_memory | benefit | bytes |
351
-| mssql.instance_memmgr_pending_memory_grants | pending | processes |
352
-| mssql.instance_memmgr_server_memory | memory | bytes |
353
-| mssql.instance_sql_errors | db_offline, info, kill_connection, user | errors |
354
-| mssql.instance_sqlstats_auto_parameterization_attempts | failed | attempts/s |
355
-| mssql.instance_sqlstats_batch_requests | batch | requests/s |
356
-| mssql.instance_sqlstats_safe_auto_parameterization_attempts | safe | attempts/s |
357
-| mssql.instance_sqlstats_sql_compilations | compilations | compilations/s |
358
-| mssql.instance_sqlstats_sql_recompilations | recompiles | recompiles/s |
359
-
360
-### Per database
361
-
362
-TBD
363
-
364
-Labels:
365
-
366
-| Label | Description |
367
-|:-----------|:----------------|
368
-| mssql_instance | TBD |
369
-| database | TBD |
370
-
371
-Metrics:
372
-
373
-| Metric | Dimensions | Unit |
374
-|:------|:----------|:----|
375
-| mssql.database_active_transactions | active | transactions |
376
-| mssql.database_backup_restore_operations | backup | operations/s |
377
-| mssql.database_data_files_size | size | bytes |
378
-| mssql.database_log_flushed | flushed | bytes/s |
379
-| mssql.database_log_flushes | log | flushes/s |
380
-| mssql.database_transactions | transactions | transactions/s |
381
-| mssql.database_write_transactions | write | transactions/s |
382
-
383
-### Per certificate template
384
-
385
-TBD
386
-
387
-Labels:
388
-
389
-| Label | Description |
390
-|:-----------|:----------------|
391
-| cert_template | TBD |
392
-
393
-Metrics:
394
-
395
-| Metric | Dimensions | Unit |
396
-|:------|:----------|:----|
397
-| adcs.cert_template_requests | requests | requests/s |
398
-| adcs.cert_template_failed_requests | failed | requests/s |
399
-| adcs.cert_template_issued_requests | issued | requests/s |
400
-| adcs.cert_template_pending_requests | pending | requests/s |
401
-| adcs.cert_template_request_processing_time | processing_time | seconds |
402
-| adcs.cert_template_retrievals | retrievals | retrievals/s |
403
-| adcs.cert_template_retrieval_processing_time | processing_time | seconds |
404
-| adcs.cert_template_request_cryptographic_signing_time | singing_time | seconds |
405
-| adcs.cert_template_request_policy_module_processing | processing_time | seconds |
406
-| adcs.cert_template_challenge_responses | challenge | responses/s |
407
-| adcs.cert_template_challenge_response_processing_time | processing_time | seconds |
408
-| adcs.cert_template_signed_certificate_timestamp_lists | processed | lists/s |
409
-| adcs.cert_template_signed_certificate_timestamp_list_processing_time | processing_time | seconds |
410
-
411
-### Per process
412
-
413
-TBD
414
-
415
-Labels:
416
-
417
-| Label | Description |
418
-|:-----------|:----------------|
419
-| process | TBD |
420
-
421
-Metrics:
422
-
423
-| Metric | Dimensions | Unit |
424
-|:------|:----------|:----|
425
-| netframework.clrexception_thrown | exceptions | exceptions/s |
426
-| netframework.clrexception_filters | filters | filters/s |
427
-| netframework.clrexception_finallys | finallys | finallys/s |
428
-| netframework.clrexception_throw_to_catch_depth | traversed | stack_frames/s |
429
-| netframework.clrinterop_com_callable_wrappers | com_callable_wrappers | ccw/s |
430
-| netframework.clrinterop_interop_marshallings | marshallings | marshallings/s |
431
-| netframework.clrinterop_interop_stubs_created | created | stubs/s |
432
-| netframework.clrjit_methods | jit-compiled | methods/s |
433
-| netframework.clrjit_time | time | percentage |
434
-| netframework.clrjit_standard_failures | failures | failures/s |
435
-| netframework.clrjit_il_bytes | compiled_msil | bytes/s |
436
-| netframework.clrloading_loader_heap_size | committed | bytes |
437
-| netframework.clrloading_appdomains_loaded | loaded | domain/s |
438
-| netframework.clrloading_appdomains_unloaded | unloaded | domain/s |
439
-| netframework.clrloading_assemblies_loaded | loaded | assemblies/s |
440
-| netframework.clrloading_classes_loaded | loaded | classes/s |
441
-| netframework.clrloading_class_load_failures | class_load | failures/s |
442
-| netframework.clrlocksandthreads_queue_length | threads | threads/s |
443
-| netframework.clrlocksandthreads_current_logical_threads | logical | threads |
444
-| netframework.clrlocksandthreads_current_physical_threads | physical | threads |
445
-| netframework.clrlocksandthreads_recognized_threads | threads | threads/s |
446
-| netframework.clrlocksandthreads_contentions | contentions | contentions/s |
447
-| netframework.clrmemory_allocated_bytes | allocated | bytes/s |
448
-| netframework.clrmemory_finalization_survivors | survived | objects |
449
-| netframework.clrmemory_heap_size | heap | bytes |
450
-| netframework.clrmemory_promoted | promoted | bytes |
451
-| netframework.clrmemory_number_gc_handles | used | handles |
452
-| netframework.clrmemory_collections | gc | gc/s |
453
-| netframework.clrmemory_induced_gc | gc | gc/s |
454
-| netframework.clrmemory_number_pinned_objects | pinned | objects |
455
-| netframework.clrmemory_number_sink_blocks_in_use | used | blocks |
456
-| netframework.clrmemory_committed | committed | bytes |
457
-| netframework.clrmemory_reserved | reserved | bytes |
458
-| netframework.clrmemory_gc_time | time | percentage |
459
-| netframework.clrremoting_channels | registered | channels/s |
460
-| netframework.clrremoting_context_bound_classes_loaded | loaded | classes |
461
-| netframework.clrremoting_context_bound_objects | allocated | objects/s |
462
-| netframework.clrremoting_context_proxies | objects | objects/s |
463
-| netframework.clrremoting_contexts | contexts | contexts |
464
-| netframework.clrremoting_remote_calls | rpc | calls/s |
465
-| netframework.clrsecurity_link_time_checks | linktime | checks/s |
466
-| netframework.clrsecurity_checks_time | time | percentage |
467
-| netframework.clrsecurity_stack_walk_depth | stack | depth |
468
-| netframework.clrsecurity_runtime_checks | runtime | checks/s |
469
-
470
-### Per exchange workload
471
-
472
-TBD
473
-
474
-Labels:
475
-
476
-| Label | Description |
477
-|:-----------|:----------------|
478
-| workload | TBD |
479
-
480
-Metrics:
481
-
482
-| Metric | Dimensions | Unit |
483
-|:------|:----------|:----|
484
-| exchange.workload_active_tasks | active | tasks |
485
-| exchange.workload_completed_tasks | completed | tasks/s |
486
-| exchange.workload_queued_tasks | queued | tasks/s |
487
-| exchange.workload_yielded_tasks | yielded | tasks/s |
488
-| exchange.workload_activity_status | active, paused | status |
489
-
490
-### Per ldap process
491
-
492
-TBD
493
-
494
-Labels:
495
-
496
-| Label | Description |
497
-|:-----------|:----------------|
498
-| workload | TBD |
499
-
500
-Metrics:
501
-
502
-| Metric | Dimensions | Unit |
503
-|:------|:----------|:----|
504
-| exchange.ldap_long_running_ops_per_sec | long-running | operations/s |
505
-| exchange.ldap_read_time | read | seconds |
506
-| exchange.ldap_search_time | search | seconds |
507
-| exchange.ldap_write_time | write | seconds |
508
-| exchange.ldap_timeout_errors | timeout | errors/s |
509
-
510
-### Per http proxy
511
-
512
-TBD
513
-
514
-Labels:
515
-
516
-| Label | Description |
517
-|:-----------|:----------------|
518
-| workload | TBD |
519
-
520
-Metrics:
521
-
522
-| Metric | Dimensions | Unit |
523
-|:------|:----------|:----|
524
-| exchange.http_proxy_avg_auth_latency | latency | seconds |
525
-| exchange.http_proxy_avg_cas_processing_latency_sec | latency | seconds |
526
-| exchange.http_proxy_mailbox_proxy_failure_rate | failures | percentage |
527
-| exchange.http_proxy_mailbox_server_locator_avg_latency_sec | latency | seconds |
528
-| exchange.http_proxy_outstanding_proxy_requests | outstanding | requests |
529
-| exchange.http_proxy_requests | processed | requests/s |
530
-
531
-### Per vm
532
-
533
-TBD
534
-
535
-Labels:
536
-
537
-| Label | Description |
538
-|:-----------|:----------------|
539
-| vm_name | TBD |
540
-
541
-Metrics:
542
-
543
-| Metric | Dimensions | Unit |
544
-|:------|:----------|:----|
545
-| hyperv.vm_cpu_usage | gues, hypervisor, remote | percentage |
546
-| hyperv.vm_memory_physical | assigned_memory | MiB |
547
-| hyperv.vm_memory_physical_guest_visible | visible_memory | MiB |
548
-| hyperv.vm_memory_pressure_current | pressure | percentage |
549
-| hyperv.vm_vid_physical_pages_allocated | allocated | pages |
550
-| hyperv.vm_vid_remote_physical_pages | remote_physical | pages |
551
-
552
-### Per vm device
553
-
554
-TBD
555
-
556
-Labels:
557
-
558
-| Label | Description |
559
-|:-----------|:----------------|
560
-| vm_device | TBD |
561
-
562
-Metrics:
563
-
564
-| Metric | Dimensions | Unit |
565
-|:------|:----------|:----|
566
-| hyperv.vm_device_bytes | read, written | bytes/s |
567
-| hyperv.vm_device_operations | read, write | operations/s |
568
-| hyperv.vm_device_errors | errors | errors/s |
569
-
570
-### Per vm interface
571
-
572
-TBD
573
-
574
-Labels:
575
-
576
-| Label | Description |
577
-|:-----------|:----------------|
578
-| vm_interface | TBD |
579
-
580
-Metrics:
581
-
582
-| Metric | Dimensions | Unit |
583
-|:------|:----------|:----|
584
-| hyperv.vm_interface_bytes | received, sent | bytes/s |
585
-| hyperv.vm_interface_packets | received, sent | packets/s |
586
-| hyperv.vm_interface_packets_dropped | incoming, outgoing | drops/s |
587
-
588
-### Per vswitch
589
-
590
-TBD
591
-
592
-Labels:
593
-
594
-| Label | Description |
595
-|:-----------|:----------------|
596
-| vswitch | TBD |
597
-
598
-Metrics:
599
-
600
-| Metric | Dimensions | Unit |
601
-|:------|:----------|:----|
602
-| hyperv.vswitch_bytes | received, sent | bytes/s |
603
-| hyperv.vswitch_packets | received, sent | packets/s |
604
-| hyperv.vswitch_directed_packets | received, sent | packets/s |
605
-| hyperv.vswitch_broadcast_packets | received, sent | packets/s |
606
-| hyperv.vswitch_multicast_packets | received, sent | packets/s |
607
-| hyperv.vswitch_dropped_packets | incoming, outgoing | drops/s |
608
-| hyperv.vswitch_extensions_dropped_packets | incoming, outgoing | drops/s |
609
-| hyperv.vswitch_packets_flooded | flooded | packets/s |
610
-| hyperv.vswitch_learned_mac_addresses | learned | mac addresses/s |
611
-| hyperv.vswitch_purged_mac_addresses | purged | mac addresses/s |
612
-
613
-
614
-
615
-## Alerts
616
-
617
-
618
-The following alerts are available:
619
-
620
-| Alert name | On metric | Description |
621
-|:------------|:----------|:------------|
622
-| [ windows_10min_cpu_usage ](https://github.com/netdata/netdata/blob/master/src/health/health.d/windows.conf) | windows.cpu_utilization_total | average CPU utilization over the last 10 minutes |
623
-| [ windows_ram_in_use ](https://github.com/netdata/netdata/blob/master/src/health/health.d/windows.conf) | windows.memory_utilization | memory utilization |
624
-| [ windows_inbound_packets_discarded ](https://github.com/netdata/netdata/blob/master/src/health/health.d/windows.conf) | windows.net_nic_discarded | number of inbound discarded packets for the network interface in the last 10 minutes |
625
-| [ windows_outbound_packets_discarded ](https://github.com/netdata/netdata/blob/master/src/health/health.d/windows.conf) | windows.net_nic_discarded | number of outbound discarded packets for the network interface in the last 10 minutes |
626
-| [ windows_inbound_packets_errors ](https://github.com/netdata/netdata/blob/master/src/health/health.d/windows.conf) | windows.net_nic_errors | number of inbound errors for the network interface in the last 10 minutes |
627
-| [ windows_outbound_packets_errors ](https://github.com/netdata/netdata/blob/master/src/health/health.d/windows.conf) | windows.net_nic_errors | number of outbound errors for the network interface in the last 10 minutes |
628
-| [ windows_disk_in_use ](https://github.com/netdata/netdata/blob/master/src/health/health.d/windows.conf) | windows.logical_disk_space_usage | disk space utilization |
629
-
630
-
631
-## Setup
632
-
633
-### Prerequisites
634
-
635
-#### Install Windows exporter
636
-
637
-To install the Windows exporter, follow the [official installation guide](https://github.com/prometheus-community/windows_exporter#installation).
638
-
639
-
640
-
641
-### Configuration
642
-
643
-#### File
644
-
645
-The configuration file name for this integration is `go.d/windows.conf`.
646
-
647
-
648
-You can edit the configuration file using the [`edit-config`](https://github.com/netdata/netdata/blob/master/docs/netdata-agent/configuration/README.md#edit-a-configuration-file-using-edit-config) script from the
649
-Netdata [config directory](https://github.com/netdata/netdata/blob/master/docs/netdata-agent/configuration/README.md#the-netdata-config-directory).
650
-
651
-```bash
652
-cd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata
653
-sudo ./edit-config go.d/windows.conf
654
-```
655
-#### Options
656
-
657
-The following options can be defined globally: update_every, autodetection_retry.
658
-
659
-
660
-<details open><summary>Config options</summary>
661
-
662
-| Name | Description | Default | Required |
663
-|:----|:-----------|:-------|:--------:|
664
-| update_every | Data collection frequency. | 1 | no |
665
-| autodetection_retry | Recheck interval in seconds. Zero means no recheck will be scheduled. | 0 | no |
666
-| url | Server URL. | | yes |
667
-| timeout | HTTP request timeout. | 1 | no |
668
-| username | Username for basic HTTP authentication. | | no |
669
-| password | Password for basic HTTP authentication. | | no |
670
-| proxy_url | Proxy URL. | | no |
671
-| proxy_username | Username for proxy basic HTTP authentication. | | no |
672
-| proxy_password | Password for proxy basic HTTP authentication. | | no |
673
-| method | HTTP request method. | GET | no |
674
-| body | HTTP request body. | | no |
675
-| headers | HTTP request headers. | | no |
676
-| not_follow_redirects | Redirect handling policy. Controls whether the client follows redirects. | no | no |
677
-| tls_skip_verify | Server certificate chain and hostname validation policy. Controls whether the client performs this check. | no | no |
678
-| tls_ca | Certification authority that the client uses when verifying the server's certificates. | | no |
679
-| tls_cert | Client TLS certificate. | | no |
680
-| tls_key | Client TLS key. | | no |
681
-
682
-</details>
683
-
684
-#### Examples
685
-
686
-##### Basic
687
-
688
-A basic example configuration.
689
-
690
-```yaml
691
-jobs:
692
- - name: win_server
693
- url: http://192.0.2.1:9182/metrics
694
-
695
-```
696
-##### HTTP authentication
697
-
698
-Basic HTTP authentication.
699
-
700
-<details open><summary>Config</summary>
701
-
702
-```yaml
703
-jobs:
704
- - name: win_server
705
- url: http://192.0.2.1:9182/metrics
706
- username: username
707
- password: password
708
-
709
-```
710
-</details>
711
-
712
-##### HTTPS with self-signed certificate
713
-
714
-Do not validate server certificate chain and hostname.
715
-
716
-<details open><summary>Config</summary>
717
-
718
-```yaml
719
-jobs:
720
- - name: win_server
721
- url: https://192.0.2.1:9182/metrics
722
- tls_skip_verify: yes
723
-
724
-```
725
-</details>
726
-
727
-##### Virtual Node
728
-
729
-The Virtual Node functionality allows you to define nodes in configuration files and treat them as ordinary nodes in all interfaces, panels, tabs, filters, etc.
730
-You can create a virtual node for all your Windows machines and control them as separate entities.
731
-
732
-To make your Windows server a virtual node, you need to define virtual nodes in `/etc/netdata/vnodes/vnodes.conf`:
733
-
734
-> **Note**: To create a valid guid, you can use the `uuidgen` command on Linux, or the `[guid]::NewGuid()` command in PowerShell on Windows.
735
-
736
-```yaml
737
-# /etc/netdata/vnodes/vnodes.conf
738
-- hostname: win_server
739
- guid: <value>
740
-```
741
-
742
-
743
-<details open><summary>Config</summary>
744
-
745
-```yaml
746
-jobs:
747
- - name: win_server
748
- vnode: win_server
749
- url: http://192.0.2.1:9182/metrics
750
-
751
-```
752
-</details>
753
-
754
-##### Multi-instance
755
-
756
-> **Note**: When you define multiple jobs, their names must be unique.
757
-
758
-Collecting metrics from multiple remote instances.
759
-
760
-
761
-<details open><summary>Config</summary>
762
-
763
-```yaml
764
-jobs:
765
- - name: win_server1
766
- url: http://192.0.2.1:9182/metrics
767
-
768
- - name: win_server2
769
- url: http://192.0.2.2:9182/metrics
770
-
771
-```
772
-</details>
773
-
774
-
775
-
776
-## Troubleshooting
777
-
778
-### Debug Mode
779
-
780
-**Important**: Debug mode is not supported for data collection jobs created via the UI using the Dyncfg feature.
781
-
782
-To troubleshoot issues with the `windows` collector, run the `go.d.plugin` with the debug option enabled. The output
783
-should give you clues as to why the collector isn't working.
784
-
785
-- Navigate to the `plugins.d` directory, usually at `/usr/libexec/netdata/plugins.d/`. If that's not the case on
786
- your system, open `netdata.conf` and look for the `plugins` setting under `[directories]`.
787
-
788
- ```bash
789
- cd /usr/libexec/netdata/plugins.d/
790
- ```
791
-
792
-- Switch to the `netdata` user.
793
-
794
- ```bash
795
- sudo -u netdata -s
796
- ```
797
-
798
-- Run the `go.d.plugin` to debug the collector:
799
-
800
- ```bash
801
- ./go.d.plugin -d -m windows
802
- ```
803
-
804
-### Getting Logs
805
-
806
-If you're encountering problems with the `windows` collector, follow these steps to retrieve logs and identify potential issues:
807
-
808
-- **Run the command** specific to your system (systemd, non-systemd, or Docker container).
809
-- **Examine the output** for any warnings or error messages that might indicate issues. These messages should provide clues about the root cause of the problem.
810
-
811
-#### System with systemd
812
-
813
-Use the following command to view logs generated since the last Netdata service restart:
814
-
815
-```bash
816
-journalctl _SYSTEMD_INVOCATION_ID="$(systemctl show --value --property=InvocationID netdata)" --namespace=netdata --grep windows
817
-```
818
-
819
-#### System without systemd
820
-
821
-Locate the collector log file, typically at `/var/log/netdata/collector.log`, and use `grep` to filter for collector's name:
822
-
823
-```bash
824
-grep windows /var/log/netdata/collector.log
825
-```
826
-
827
-**Note**: This method shows logs from all restarts. Focus on the **latest entries** for troubleshooting current issues.
828
-
829
-#### Docker Container
830
-
831
-If your Netdata runs in a Docker container named "netdata" (replace if different), use this command:
832
-
833
-```bash
834
-docker logs netdata 2>&1 | grep windows
835
-```
836
-
837
-
src/go/plugin/go.d/collector/windows/charts.go
deleted
-4933
@@ -1,4933 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "fmt"
7
- "strings"
8
-
9
- "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
10
-)
11
-
12
-const (
13
- prioCPUUtil = module.Priority + iota
14
- prioCPUCoreUtil
15
- prioCPUInterrupts
16
- prioCPUDPCs
17
- prioCPUCoreCState
18
-
19
- prioMemUtil
20
- prioMemPageFaults
21
- prioMemSwapUtil
22
- prioMemSwapOperations
23
- prioMemSwapPages
24
- prioMemCache
25
- prioMemCacheFaults
26
- prioMemSystemPool
27
-
28
- prioDiskSpaceUsage
29
- prioDiskBandwidth
30
- prioDiskOperations
31
- prioDiskAvgLatency
32
-
33
- prioNICBandwidth
34
- prioNICPackets
35
- prioNICErrors
36
- prioNICDiscards
37
-
38
- prioTCPConnsEstablished
39
- prioTCPConnsActive
40
- prioTCPConnsPassive
41
- prioTCPConnsFailure
42
- prioTCPConnsReset
43
- prioTCPSegmentsReceived
44
- prioTCPSegmentsSent
45
- prioTCPSegmentsRetransmitted
46
-
47
- prioOSProcesses
48
- prioOSUsers
49
- prioOSVisibleMemoryUsage
50
- prioOSPagingUsage
51
-
52
- prioSystemThreads
53
- prioSystemUptime
54
-
55
- prioLogonSessions
56
-
57
- prioThermalzoneTemperature
58
-
59
- prioProcessesCPUUtilization
60
- prioProcessesMemoryUsage
61
- prioProcessesIOBytes
62
- prioProcessesIOOperations
63
- prioProcessesPageFaults
64
- prioProcessesPageFileBytes
65
- prioProcessesThreads
66
- prioProcessesHandles
67
-
68
- prioIISWebsiteTraffic
69
- prioIISWebsiteFTPFileTransferRate
70
- prioIISWebsiteActiveConnectionsCount
71
- prioIISWebsiteRequestsRate
72
- prioIISWebsiteConnectionAttemptsRate
73
- prioIISWebsiteUsersCount
74
- prioIISWebsiteISAPIExtRequestsCount
75
- prioIISWebsiteISAPIExtRequestsRate
76
- prioIISWebsiteErrorsRate
77
- prioIISWebsiteLogonAttemptsRate
78
- prioIISWebsiteUptime
79
-
80
- // Connections
81
- prioMSSQLUserConnections
82
-
83
- // Transactions
84
- prioMSSQLDatabaseTransactions
85
- prioMSSQLDatabaseActiveTransactions
86
- prioMSSQLDatabaseWriteTransactions
87
- prioMSSQLDatabaseBackupRestoreOperations
88
- prioMSSQLDatabaseLogFlushes
89
- prioMSSQLDatabaseLogFlushed
90
-
91
- // Size
92
- prioMSSQLDatabaseDataFileSize
93
-
94
- // SQL activity
95
- prioMSSQLStatsBatchRequests
96
- prioMSSQLStatsCompilations
97
- prioMSSQLStatsRecompilations
98
- prioMSSQLStatsAutoParameterization
99
- prioMSSQLStatsSafeAutoParameterization
100
-
101
- // Processes
102
- prioMSSQLBlockedProcess
103
-
104
- // Buffer Cache
105
- prioMSSQLCacheHitRatio
106
- prioMSSQLBufManIOPS
107
- prioMSSQLBufferCheckpointPages
108
- prioMSSQLAccessMethodPageSplits
109
- prioMSSQLBufferPageLifeExpectancy
110
-
111
- // Memory
112
- prioMSSQLMemmgrConnectionMemoryBytes
113
- prioMSSQLMemTotalServer
114
- prioMSSQLMemmgrExternalBenefitOfMemory
115
- prioMSSQLMemmgrPendingMemoryGrants
116
-
117
- // Locks
118
- prioMSSQLLocksLockWait
119
- prioMSSQLLocksDeadLocks
120
-
121
- // Error
122
- prioMSSQLSqlErrorsTotal
123
-
124
- // NET Framework
125
- // Exceptions
126
- prioNETFrameworkCLRExceptionsThrown
127
- prioNETFrameworkCLRExceptionsFilters
128
- prioNETFrameworkCLRExceptionsFinallys
129
- prioNETFrameworkCLRExceptionsThrowToCatchDepth
130
-
131
- // InterOP
132
- prioNETFrameworkCLRInteropCOMCallableWrappers
133
- prioNETFrameworkCLRInteropMarshalling
134
- prioNETFrameworkCLRInteropStubsCreated
135
- prioNETFrameworkCLRJITMethods
136
-
137
- // JIT
138
- prioNETFrameworkCLRJITTime
139
- prioNETFrameworkCLRJITStandardFailures
140
- prioNETFrameworkCLRJITILBytes
141
-
142
- // Loading
143
- prioNETFrameworkCLRLoadingLoaderHeapSize
144
- prioNETFrameworkCLRLoadingAppDomainsLoaded
145
- prioNETFrameworkCLRLoadingAppDomainsUnloaded
146
- prioNETFrameworkCLRLoadingAssembliesLoaded
147
- prioNETFrameworkCLRLoadingClassesLoaded
148
- prioNETFrameworkCLRLoadingClassLoadFailure
149
-
150
- // Locks and threads
151
- prioNETFrameworkCLRLocksAndThreadsQueueLength
152
- prioNETFrameworkCLRLocksAndThreadsCurrentLogicalThreads
153
- prioNETFrameworkCLRLocksAndThreadsCurrentPhysicalThreads
154
- prioNETFrameworkCLRLocksAndThreadsRecognizedThreads
155
- prioNETFrameworkCLRLocksAndThreadsContentions
156
-
157
- // Memory
158
- prioNETFrameworkCLRMemoryAllocatedBytes
159
- prioNETFrameworkCLRMemoryFinalizationSurvivors
160
- prioNETFrameworkCLRMemoryHeapSize
161
- prioNETFrameworkCLRMemoryPromoted
162
- prioNETFrameworkCLRMemoryNumberGCHandles
163
- prioNETFrameworkCLRMemoryCollections
164
- prioNETFrameworkCLRMemoryInducedGC
165
- prioNETFrameworkCLRMemoryNumberPinnedObjects
166
- prioNETFrameworkCLRMemoryNumberSinkBlocksInUse
167
- prioNETFrameworkCLRMemoryCommitted
168
- prioNETFrameworkCLRMemoryReserved
169
- prioNETFrameworkCLRMemoryGCTime
170
-
171
- // Remoting
172
- prioNETFrameworkCLRRemotingChannels
173
- prioNETFrameworkCLRRemotingContextBoundClassesLoaded
174
- prioNETFrameworkCLRRemotingContextBoundObjects
175
- prioNETFrameworkCLRRemotingContextProxies
176
- prioNETFrameworkCLRRemotingContexts
177
- prioNETFrameworkCLRRemotingRemoteCalls
178
-
179
- // Security
180
- prioNETFrameworkCLRSecurityLinkTimeChecks
181
- prioNETFrameworkCLRSecurityRTChecksTime
182
- prioNETFrameworkCLRSecurityStackWalkDepth
183
- prioNETFrameworkCLRSecurityRuntimeChecks
184
-
185
- prioServiceState
186
- prioServiceStatus
187
-
188
- // Database
189
- prioADDatabaseOperations
190
- prioADDirectoryOperations
191
- prioADNameCacheLookups
192
- prioADCacheHits
193
-
194
- // Replication
195
- prioADDRAReplicationIntersiteCompressedTraffic
196
- prioADDRAReplicationIntrasiteCompressedTraffic
197
- prioADDRAReplicationSyncObjectsRemaining
198
- prioADDRAReplicationPropertiesUpdated
199
- prioADDRAReplicationPropertiesFiltered
200
- prioADDRAReplicationObjectsFiltered
201
- prioADReplicationPendingSyncs
202
- prioADDRASyncRequests
203
- prioADDirectoryServiceThreadsInUse
204
-
205
- // Bind
206
- prioADLDAPBindTime
207
- prioADBindsTotal
208
-
209
- // LDAP
210
- prioADLDAPSearchesTotal
211
-
212
- // Thread Queue
213
- prioADATQAverageRequestLatency
214
- prioADATQOutstandingRequests
215
-
216
- // Requests
217
- prioADCSCertTemplateRequests
218
- prioADCSCertTemplateRequestProcessingTime
219
- prioADCSCertTemplateRetrievals
220
- prioADCSCertTemplateFailedRequests
221
- prioADCSCertTemplateIssuesRequests
222
- prioADCSCertTemplatePendingRequests
223
-
224
- // Response
225
- prioADCSCertTemplateChallengeResponses
226
-
227
- // Retrieval
228
- prioADCSCertTemplateRetrievalProcessingTime
229
-
230
- // Timing
231
- prioADCSCertTemplateRequestCryptoSigningTime
232
- prioADCSCertTemplateRequestPolicyModuleProcessingTime
233
- prioADCSCertTemplateChallengeResponseProcessingTime
234
- prioADCSCertTemplateSignedCertificateTimestampLists
235
- prioADCSCertTemplateSignedCertificateTimestampListProcessingTime
236
-
237
- // ADFS
238
- // AD
239
- prioADFSADLoginConnectionFailures
240
-
241
- // DB Artifacts
242
- prioADFSDBArtifactFailures
243
- prioADFSDBArtifactQueryTimeSeconds
244
-
245
- // DB Config
246
- prioADFSDBConfigFailures
247
- prioADFSDBConfigQueryTimeSeconds
248
-
249
- // Auth
250
- prioADFSDeviceAuthentications
251
- prioADFSExternalAuthentications
252
- prioADFSOauthAuthorizationRequests
253
- prioADFSCertificateAuthentications
254
- prioADFSOauthClientAuthentications
255
- prioADFSPassportAuthentications
256
- prioADFSSSOAuthentications
257
- prioADFSUserPasswordAuthentications
258
- prioADFSWindowsIntegratedAuthentications
259
-
260
- // OAuth
261
- prioADFSOauthClientCredentials
262
- prioADFSOauthClientPrivkeyJwtAuthentication
263
- prioADFSOauthClientSecretBasicAuthentications
264
- prioADFSOauthClientSecretPostAuthentications
265
- prioADFSOauthClientWindowsAuthentications
266
- prioADFSOauthLogonCertificateRequests
267
- prioADFSOauthPasswordGrantRequests
268
- prioADFSOauthTokenRequestsSuccess
269
- prioADFSFederatedAuthentications
270
-
271
- // Requests
272
- prioADFSFederationMetadataRequests
273
- prioADFSPassiveRequests
274
- prioADFSPasswordChangeRequests
275
- prioADFSSAMLPTokenRequests
276
- prioADFSWSTrustTokenRequestsSuccess
277
- prioADFSTokenRequests
278
- prioADFSWSFedTokenRequestsSuccess
279
-
280
- // Exchange
281
- // Transport Queue
282
- prioExchangeTransportQueuesActiveMailboxDelivery
283
- prioExchangeTransportQueuesExternalActiveRemoteDelivery
284
- prioExchangeTransportQueuesExternalLargestDelivery
285
- prioExchangeTransportQueuesInternalActiveRemoteDeliery
286
- prioExchangeTransportQueuesInternalLargestDelivery
287
- prioExchangeTransportQueuesRetryMailboxDelivery
288
- prioExchangeTransportQueuesUnreachable
289
- prioExchangeTransportQueuesPoison
290
-
291
- // LDAP
292
- prioExchangeLDAPLongRunningOPS
293
- prioExchangeLDAPReadTime
294
- prioExchangeLDAPSearchTime
295
- prioExchangeLDAPWriteTime
296
- prioExchangeLDAPTimeoutErrors
297
-
298
- // OWA
299
- prioExchangeOWACurrentUniqueUsers
300
- prioExchangeOWARequestsTotal
301
-
302
- // Sync
303
- prioExchangeActiveSyncPingCMDsPending
304
- prioExchangeActiveSyncRequests
305
- prioExchangeActiveSyncSyncCMDs
306
-
307
- // RPC
308
- prioExchangeRPCActiveUserCount
309
- prioExchangeRPCAvgLatency
310
- prioExchangeRPCConnectionCount
311
- prioExchangeRPCOperationsTotal
312
- prioExchangeRPCRequests
313
- prioExchangeRpcUserCount
314
-
315
- // Workload
316
- prioExchangeWorkloadActiveTasks
317
- prioExchangeWorkloadCompleteTasks
318
- prioExchangeWorkloadQueueTasks
319
- prioExchangeWorkloadYieldedTasks
320
- prioExchangeWorkloadActivityStatus
321
-
322
- // HTTP Proxy
323
- prioExchangeHTTPProxyAVGAuthLatency
324
- prioExchangeHTTPProxyAVGCASProcessingLatency
325
- prioExchangeHTTPProxyMailboxProxyFailureRate
326
- prioExchangeHTTPProxyServerLocatorAvgLatency
327
- prioExchangeHTTPProxyOutstandingProxyRequests
328
- prioExchangeHTTPProxyRequestsTotal
329
-
330
- // Request
331
- prioExchangeAutoDiscoverRequests
332
- prioExchangeAvailServiceRequests
333
-
334
- // Hyperv Health
335
- prioHypervVMHealth
336
-
337
- // Hyperv Partition
338
- prioHypervRootPartitionDeviceSpacePages
339
- prioHypervRootPartitionGPASpacePages
340
- prioHypervRootPartitionGPASpaceModifications
341
- prioHypervRootPartitionAttachedDevices
342
- prioHypervRootPartitionDepositedPages
343
- prioHypervRootPartitionSkippedInterrupts
344
- prioHypervRootPartitionDeviceDMAErrors
345
- prioHypervRootPartitionDeviceInterruptErrors
346
- prioHypervRootPartitionDeviceInterruptThrottleEvents
347
- prioHypervRootPartitionIOTlbFlush
348
- prioHypervRootPartitionAddressSpace
349
- prioHypervRootPartitionVirtualTlbFlushEntires
350
- prioHypervRootPartitionVirtualTlbPages
351
-
352
- // Hyperv VM (Memory)
353
- prioHypervVMCPUUsage
354
- prioHypervVMMemoryPhysical
355
- prioHypervVMMemoryPhysicalGuestVisible
356
- prioHypervVMMemoryPressureCurrent
357
- prioHypervVIDPhysicalPagesAllocated
358
- prioHypervVIDRemotePhysicalPages
359
-
360
- // Hyperv Device
361
- prioHypervVMDeviceBytes
362
- prioHypervVMDeviceOperations
363
- prioHypervVMDeviceErrors
364
-
365
- // Hyperv Interface
366
- prioHypervVMInterfaceBytes
367
- prioHypervVMInterfacePacketsDropped
368
- prioHypervVMInterfacePackets
369
-
370
- // Hyperv Vswitch
371
- prioHypervVswitchTrafficTotal
372
- prioHypervVswitchPackets
373
- prioHypervVswitchDirectedPackets
374
- prioHypervVswitchBroadcastPackets
375
- prioHypervVswitchMulticastPackets
376
- prioHypervVswitchDroppedPackets
377
- prioHypervVswitchExtensionsDroppedPackets
378
- prioHypervVswitchPacketsFlooded
379
- prioHypervVswitchLearnedMACAddresses
380
- prioHypervVswitchPurgeMACAddress
381
-
382
- prioCollectorDuration
383
- prioCollectorStatus
384
-)
385
-
386
-// CPU
387
-var (
388
- cpuCharts = module.Charts{
389
- cpuUtilChart.Copy(),
390
- }
391
- cpuUtilChart = module.Chart{
392
- ID: "cpu_utilization_total",
393
- Title: "Total CPU Utilization (all cores)",
394
- Units: "percentage",
395
- Fam: "cpu",
396
- Ctx: "windows.cpu_utilization_total",
397
- Type: module.Stacked,
398
- Priority: prioCPUUtil,
399
- Dims: module.Dims{
400
- {ID: "cpu_idle_time", Name: "idle", Algo: module.PercentOfIncremental, Div: 1000, DimOpts: module.DimOpts{Hidden: true}},
401
- {ID: "cpu_dpc_time", Name: "dpc", Algo: module.PercentOfIncremental, Div: 1000},
402
- {ID: "cpu_user_time", Name: "user", Algo: module.PercentOfIncremental, Div: 1000},
403
- {ID: "cpu_privileged_time", Name: "privileged", Algo: module.PercentOfIncremental, Div: 1000},
404
- {ID: "cpu_interrupt_time", Name: "interrupt", Algo: module.PercentOfIncremental, Div: 1000},
405
- },
406
- }
407
-)
408
-
409
-// CPU core
410
-var (
411
- cpuCoreChartsTmpl = module.Charts{
412
- cpuCoreUtilChartTmpl.Copy(),
413
- cpuCoreInterruptsChartTmpl.Copy(),
414
- cpuDPCsChartTmpl.Copy(),
415
- cpuCoreCStateChartTmpl.Copy(),
416
- }
417
- cpuCoreUtilChartTmpl = module.Chart{
418
- ID: "core_%s_cpu_utilization",
419
- Title: "Core CPU Utilization",
420
- Units: "percentage",
421
- Fam: "cpu",
422
- Ctx: "windows.cpu_core_utilization",
423
- Type: module.Stacked,
424
- Priority: prioCPUCoreUtil,
425
- Dims: module.Dims{
426
- {ID: "cpu_core_%s_idle_time", Name: "idle", Algo: module.PercentOfIncremental, Div: precision, DimOpts: module.DimOpts{Hidden: true}},
427
- {ID: "cpu_core_%s_dpc_time", Name: "dpc", Algo: module.PercentOfIncremental, Div: precision},
428
- {ID: "cpu_core_%s_user_time", Name: "user", Algo: module.PercentOfIncremental, Div: precision},
429
- {ID: "cpu_core_%s_privileged_time", Name: "privileged", Algo: module.PercentOfIncremental, Div: precision},
430
- {ID: "cpu_core_%s_interrupt_time", Name: "interrupt", Algo: module.PercentOfIncremental, Div: precision},
431
- },
432
- }
433
- cpuCoreInterruptsChartTmpl = module.Chart{
434
- ID: "cpu_core_%s_interrupts",
435
- Title: "Received and Serviced Hardware Interrupts",
436
- Units: "interrupts/s",
437
- Fam: "cpu",
438
- Ctx: "windows.cpu_core_interrupts",
439
- Priority: prioCPUInterrupts,
440
- Dims: module.Dims{
441
- {ID: "cpu_core_%s_interrupts", Name: "interrupts", Algo: module.Incremental},
442
- },
443
- }
444
- cpuDPCsChartTmpl = module.Chart{
445
- ID: "cpu_core_%s_dpcs",
446
- Title: "Received and Serviced Deferred Procedure Calls (DPC)",
447
- Units: "dpc/s",
448
- Fam: "cpu",
449
- Ctx: "windows.cpu_core_dpcs",
450
- Priority: prioCPUDPCs,
451
- Dims: module.Dims{
452
- {ID: "cpu_core_%s_dpcs", Name: "dpcs", Algo: module.Incremental},
453
- },
454
- }
455
- cpuCoreCStateChartTmpl = module.Chart{
456
- ID: "cpu_core_%s_cpu_cstate",
457
- Title: "Core Time Spent in Low-Power Idle State",
458
- Units: "percentage",
459
- Fam: "cpu",
460
- Ctx: "windows.cpu_core_cstate",
461
- Type: module.Stacked,
462
- Priority: prioCPUCoreCState,
463
- Dims: module.Dims{
464
- {ID: "cpu_core_%s_cstate_c1", Name: "c1", Algo: module.PercentOfIncremental, Div: precision},
465
- {ID: "cpu_core_%s_cstate_c2", Name: "c2", Algo: module.PercentOfIncremental, Div: precision},
466
- {ID: "cpu_core_%s_cstate_c3", Name: "c3", Algo: module.PercentOfIncremental, Div: precision},
467
- },
468
- }
469
-)
470
-
471
-// Memory
472
-var (
473
- memCharts = module.Charts{
474
- memUtilChart.Copy(),
475
- memPageFaultsChart.Copy(),
476
- memSwapUtilChart.Copy(),
477
- memSwapOperationsChart.Copy(),
478
- memSwapPagesChart.Copy(),
479
- memCacheChart.Copy(),
480
- memCacheFaultsChart.Copy(),
481
- memSystemPoolChart.Copy(),
482
- }
483
- memUtilChart = module.Chart{
484
- ID: "memory_utilization",
485
- Title: "Memory Utilization",
486
- Units: "bytes",
487
- Fam: "mem",
488
- Ctx: "windows.memory_utilization",
489
- Type: module.Stacked,
490
- Priority: prioMemUtil,
491
- Dims: module.Dims{
492
- {ID: "memory_available_bytes", Name: "available"},
493
- {ID: "memory_used_bytes", Name: "used"},
494
- },
495
- }
496
- memPageFaultsChart = module.Chart{
497
- ID: "memory_page_faults",
498
- Title: "Memory Page Faults",
499
- Units: "pgfaults/s",
500
- Fam: "mem",
501
- Ctx: "windows.memory_page_faults",
502
- Priority: prioMemPageFaults,
503
- Dims: module.Dims{
504
- {ID: "memory_page_faults_total", Name: "page_faults", Algo: module.Incremental},
505
- },
506
- }
507
- memSwapUtilChart = module.Chart{
508
- ID: "memory_swap_utilization",
509
- Title: "Swap Utilization",
510
- Units: "bytes",
511
- Fam: "mem",
512
- Ctx: "windows.memory_swap_utilization",
513
- Type: module.Stacked,
514
- Priority: prioMemSwapUtil,
515
- Dims: module.Dims{
516
- {ID: "memory_not_committed_bytes", Name: "available"},
517
- {ID: "memory_committed_bytes", Name: "used"},
518
- },
519
- Vars: module.Vars{
520
- {ID: "memory_commit_limit"},
521
- },
522
- }
523
- memSwapOperationsChart = module.Chart{
524
- ID: "memory_swap_operations",
525
- Title: "Swap Operations",
526
- Units: "operations/s",
527
- Fam: "mem",
528
- Ctx: "windows.memory_swap_operations",
529
- Type: module.Area,
530
- Priority: prioMemSwapOperations,
531
- Dims: module.Dims{
532
- {ID: "memory_swap_page_reads_total", Name: "read", Algo: module.Incremental},
533
- {ID: "memory_swap_page_writes_total", Name: "write", Algo: module.Incremental, Mul: -1},
534
- },
535
- }
536
- memSwapPagesChart = module.Chart{
537
- ID: "memory_swap_pages",
538
- Title: "Swap Pages",
539
- Units: "pages/s",
540
- Fam: "mem",
541
- Ctx: "windows.memory_swap_pages",
542
- Priority: prioMemSwapPages,
543
- Dims: module.Dims{
544
- {ID: "memory_swap_pages_read_total", Name: "read", Algo: module.Incremental},
545
- {ID: "memory_swap_pages_written_total", Name: "written", Algo: module.Incremental, Mul: -1},
546
- },
547
- }
548
- memCacheChart = module.Chart{
549
- ID: "memory_cached",
550
- Title: "Cached",
551
- Units: "bytes",
552
- Fam: "mem",
553
- Ctx: "windows.memory_cached",
554
- Type: module.Area,
555
- Priority: prioMemCache,
556
- Dims: module.Dims{
557
- {ID: "memory_cache_total", Name: "cached"},
558
- },
559
- }
560
- memCacheFaultsChart = module.Chart{
561
- ID: "memory_cache_faults",
562
- Title: "Cache Faults",
563
- Units: "faults/s",
564
- Fam: "mem",
565
- Ctx: "windows.memory_cache_faults",
566
- Priority: prioMemCacheFaults,
567
- Dims: module.Dims{
568
- {ID: "memory_cache_faults_total", Name: "cache_faults", Algo: module.Incremental},
569
- },
570
- }
571
- memSystemPoolChart = module.Chart{
572
- ID: "memory_system_pool",
573
- Title: "System Memory Pool",
574
- Units: "bytes",
575
- Fam: "mem",
576
- Ctx: "windows.memory_system_pool",
577
- Type: module.Stacked,
578
- Priority: prioMemSystemPool,
579
- Dims: module.Dims{
580
- {ID: "memory_pool_paged_bytes", Name: "paged"},
581
- {ID: "memory_pool_nonpaged_bytes_total", Name: "non-paged"},
582
- },
583
- }
584
-)
585
-
586
-// Logical Disks
587
-var (
588
- diskChartsTmpl = module.Charts{
589
- diskSpaceUsageChartTmpl.Copy(),
590
- diskBandwidthChartTmpl.Copy(),
591
- diskOperationsChartTmpl.Copy(),
592
- diskAvgLatencyChartTmpl.Copy(),
593
- }
594
- diskSpaceUsageChartTmpl = module.Chart{
595
- ID: "logical_disk_%s_space_usage",
596
- Title: "Space usage",
597
- Units: "bytes",
598
- Fam: "disk",
599
- Ctx: "windows.logical_disk_space_usage",
600
- Type: module.Stacked,
601
- Priority: prioDiskSpaceUsage,
602
- Dims: module.Dims{
603
- {ID: "logical_disk_%s_free_space", Name: "free"},
604
- {ID: "logical_disk_%s_used_space", Name: "used"},
605
- },
606
- }
607
- diskBandwidthChartTmpl = module.Chart{
608
- ID: "logical_disk_%s_bandwidth",
609
- Title: "Bandwidth",
610
- Units: "bytes/s",
611
- Fam: "disk",
612
- Ctx: "windows.logical_disk_bandwidth",
613
- Type: module.Area,
614
- Priority: prioDiskBandwidth,
615
- Dims: module.Dims{
616
- {ID: "logical_disk_%s_read_bytes_total", Name: "read", Algo: module.Incremental},
617
- {ID: "logical_disk_%s_write_bytes_total", Name: "write", Algo: module.Incremental, Mul: -1},
618
- },
619
- }
620
- diskOperationsChartTmpl = module.Chart{
621
- ID: "logical_disk_%s_operations",
622
- Title: "Operations",
623
- Units: "operations/s",
624
- Fam: "disk",
625
- Ctx: "windows.logical_disk_operations",
626
- Priority: prioDiskOperations,
627
- Dims: module.Dims{
628
- {ID: "logical_disk_%s_reads_total", Name: "reads", Algo: module.Incremental},
629
- {ID: "logical_disk_%s_writes_total", Name: "writes", Algo: module.Incremental, Mul: -1},
630
- },
631
- }
632
- diskAvgLatencyChartTmpl = module.Chart{
633
- ID: "logical_disk_%s_latency",
634
- Title: "Average Read/Write Latency",
635
- Units: "seconds",
636
- Fam: "disk",
637
- Ctx: "windows.logical_disk_latency",
638
- Priority: prioDiskAvgLatency,
639
- Dims: module.Dims{
640
- {ID: "logical_disk_%s_read_latency", Name: "read", Algo: module.Incremental, Div: precision},
641
- {ID: "logical_disk_%s_write_latency", Name: "write", Algo: module.Incremental, Div: precision},
642
- },
643
- }
644
-)
645
-
646
-// Network interfaces
647
-var (
648
- nicChartsTmpl = module.Charts{
649
- nicBandwidthChartTmpl.Copy(),
650
- nicPacketsChartTmpl.Copy(),
651
- nicErrorsChartTmpl.Copy(),
652
- nicDiscardsChartTmpl.Copy(),
653
- }
654
- nicBandwidthChartTmpl = module.Chart{
655
- ID: "nic_%s_bandwidth",
656
- Title: "Bandwidth",
657
- Units: "kilobits/s",
658
- Fam: "net",
659
- Ctx: "windows.net_nic_bandwidth",
660
- Type: module.Area,
661
- Priority: prioNICBandwidth,
662
- Dims: module.Dims{
663
- {ID: "net_nic_%s_bytes_received", Name: "received", Algo: module.Incremental, Div: 1000},
664
- {ID: "net_nic_%s_bytes_sent", Name: "sent", Algo: module.Incremental, Mul: -1, Div: 1000},
665
- },
666
- }
667
- nicPacketsChartTmpl = module.Chart{
668
- ID: "nic_%s_packets",
669
- Title: "Packets",
670
- Units: "packets/s",
671
- Fam: "net",
672
- Ctx: "windows.net_nic_packets",
673
- Priority: prioNICPackets,
674
- Dims: module.Dims{
675
- {ID: "net_nic_%s_packets_received_total", Name: "received", Algo: module.Incremental},
676
- {ID: "net_nic_%s_packets_sent_total", Name: "sent", Algo: module.Incremental, Mul: -1},
677
- },
678
- }
679
- nicErrorsChartTmpl = module.Chart{
680
- ID: "nic_%s_errors",
681
- Title: "Errors",
682
- Units: "errors/s",
683
- Fam: "net",
684
- Ctx: "windows.net_nic_errors",
685
- Priority: prioNICErrors,
686
- Dims: module.Dims{
687
- {ID: "net_nic_%s_packets_received_errors", Name: "inbound", Algo: module.Incremental},
688
- {ID: "net_nic_%s_packets_outbound_errors", Name: "outbound", Algo: module.Incremental, Mul: -1},
689
- },
690
- }
691
- nicDiscardsChartTmpl = module.Chart{
692
- ID: "nic_%s_discarded",
693
- Title: "Discards",
694
- Units: "discards/s",
695
- Fam: "net",
696
- Ctx: "windows.net_nic_discarded",
697
- Priority: prioNICDiscards,
698
- Dims: module.Dims{
699
- {ID: "net_nic_%s_packets_received_discarded", Name: "inbound", Algo: module.Incremental},
700
- {ID: "net_nic_%s_packets_outbound_discarded", Name: "outbound", Algo: module.Incremental, Mul: -1},
701
- },
702
- }
703
-)
704
-
705
-// TCP
706
-var (
707
- tcpCharts = module.Charts{
708
- tcpConnsActiveChart.Copy(),
709
- tcpConnsEstablishedChart.Copy(),
710
- tcpConnsFailuresChart.Copy(),
711
- tcpConnsPassiveChart.Copy(),
712
- tcpConnsResetsChart.Copy(),
713
- tcpSegmentsReceivedChart.Copy(),
714
- tcpSegmentsRetransmittedChart.Copy(),
715
- tcpSegmentsSentChart.Copy(),
716
- }
717
- tcpConnsEstablishedChart = module.Chart{
718
- ID: "tcp_conns_established",
719
- Title: "TCP established connections",
720
- Units: "connections",
721
- Fam: "tcp",
722
- Ctx: "windows.tcp_conns_established",
723
- Priority: prioTCPConnsEstablished,
724
- Dims: module.Dims{
725
- {ID: "tcp_ipv4_conns_established", Name: "ipv4"},
726
- {ID: "tcp_ipv6_conns_established", Name: "ipv6"},
727
- },
728
- }
729
- tcpConnsActiveChart = module.Chart{
730
- ID: "tcp_conns_active",
731
- Title: "TCP active connections",
732
- Units: "connections/s",
733
- Fam: "tcp",
734
- Ctx: "windows.tcp_conns_active",
735
- Priority: prioTCPConnsActive,
736
- Dims: module.Dims{
737
- {ID: "tcp_ipv4_conns_active", Name: "ipv4", Algo: module.Incremental},
738
- {ID: "tcp_ipv6_conns_active", Name: "ipv6", Algo: module.Incremental},
739
- },
740
- }
741
- tcpConnsPassiveChart = module.Chart{
742
- ID: "tcp_conns_passive",
743
- Title: "TCP passive connections",
744
- Units: "connections/s",
745
- Fam: "tcp",
746
- Ctx: "windows.tcp_conns_passive",
747
- Priority: prioTCPConnsPassive,
748
- Dims: module.Dims{
749
- {ID: "tcp_ipv4_conns_passive", Name: "ipv4", Algo: module.Incremental},
750
- {ID: "tcp_ipv6_conns_passive", Name: "ipv6", Algo: module.Incremental},
751
- },
752
- }
753
- tcpConnsFailuresChart = module.Chart{
754
- ID: "tcp_conns_failures",
755
- Title: "TCP connection failures",
756
- Units: "failures/s",
757
- Fam: "tcp",
758
- Ctx: "windows.tcp_conns_failures",
759
- Priority: prioTCPConnsFailure,
760
- Dims: module.Dims{
761
- {ID: "tcp_ipv4_conns_failures", Name: "ipv4", Algo: module.Incremental},
762
- {ID: "tcp_ipv6_conns_failures", Name: "ipv6", Algo: module.Incremental},
763
- },
764
- }
765
- tcpConnsResetsChart = module.Chart{
766
- ID: "tcp_conns_resets",
767
- Title: "TCP connections resets",
768
- Units: "resets/s",
769
- Fam: "tcp",
770
- Ctx: "windows.tcp_conns_resets",
771
- Priority: prioTCPConnsReset,
772
- Dims: module.Dims{
773
- {ID: "tcp_ipv4_conns_resets", Name: "ipv4", Algo: module.Incremental},
774
- {ID: "tcp_ipv6_conns_resets", Name: "ipv6", Algo: module.Incremental},
775
- },
776
- }
777
- tcpSegmentsReceivedChart = module.Chart{
778
- ID: "tcp_segments_received",
779
- Title: "Number of TCP segments received",
780
- Units: "segments/s",
781
- Fam: "tcp",
782
- Ctx: "windows.tcp_segments_received",
783
- Priority: prioTCPSegmentsReceived,
784
- Dims: module.Dims{
785
- {ID: "tcp_ipv4_segments_received", Name: "ipv4", Algo: module.Incremental},
786
- {ID: "tcp_ipv6_segments_received", Name: "ipv6", Algo: module.Incremental},
787
- },
788
- }
789
- tcpSegmentsSentChart = module.Chart{
790
- ID: "tcp_segments_sent",
791
- Title: "Number of TCP segments sent",
792
- Units: "segments/s",
793
- Fam: "tcp",
794
- Ctx: "windows.tcp_segments_sent",
795
- Priority: prioTCPSegmentsSent,
796
- Dims: module.Dims{
797
- {ID: "tcp_ipv4_segments_sent", Name: "ipv4", Algo: module.Incremental},
798
- {ID: "tcp_ipv6_segments_sent", Name: "ipv6", Algo: module.Incremental},
799
- },
800
- }
801
- tcpSegmentsRetransmittedChart = module.Chart{
802
- ID: "tcp_segments_retransmitted",
803
- Title: "Number of TCP segments retransmitted",
804
- Units: "segments/s",
805
- Fam: "tcp",
806
- Ctx: "windows.tcp_segments_retransmitted",
807
- Priority: prioTCPSegmentsRetransmitted,
808
- Dims: module.Dims{
809
- {ID: "tcp_ipv4_segments_retransmitted", Name: "ipv4", Algo: module.Incremental},
810
- {ID: "tcp_ipv6_segments_retransmitted", Name: "ipv6", Algo: module.Incremental},
811
- },
812
- }
813
-)
814
-
815
-// OS
816
-var (
817
- osCharts = module.Charts{
818
- osProcessesChart.Copy(),
819
- osUsersChart.Copy(),
820
- osMemoryUsage.Copy(),
821
- osPagingFilesUsageChart.Copy(),
822
- }
823
- osProcessesChart = module.Chart{
824
- ID: "os_processes",
825
- Title: "Processes",
826
- Units: "number",
827
- Fam: "os",
828
- Ctx: "windows.os_processes",
829
- Priority: prioOSProcesses,
830
- Dims: module.Dims{
831
- {ID: "os_processes", Name: "processes"},
832
- },
833
- Vars: module.Vars{
834
- {ID: "os_processes_limit"},
835
- },
836
- }
837
- osUsersChart = module.Chart{
838
- ID: "os_users",
839
- Title: "Number of Users",
840
- Units: "users",
841
- Fam: "os",
842
- Ctx: "windows.os_users",
843
- Priority: prioOSUsers,
844
- Dims: module.Dims{
845
- {ID: "os_users", Name: "users"},
846
- },
847
- }
848
- osMemoryUsage = module.Chart{
849
- ID: "os_visible_memory_usage",
850
- Title: "Visible Memory Usage",
851
- Units: "bytes",
852
- Fam: "os",
853
- Ctx: "windows.os_visible_memory_usage",
854
- Type: module.Stacked,
855
- Priority: prioOSVisibleMemoryUsage,
856
- Dims: module.Dims{
857
- {ID: "os_physical_memory_free_bytes", Name: "free"},
858
- {ID: "os_visible_memory_used_bytes", Name: "used"},
859
- },
860
- Vars: module.Vars{
861
- {ID: "os_visible_memory_bytes"},
862
- },
863
- }
864
- osPagingFilesUsageChart = module.Chart{
865
- ID: "os_paging_files_usage",
866
- Title: "Paging Files Usage",
867
- Units: "bytes",
868
- Fam: "os",
869
- Ctx: "windows.os_paging_files_usage",
870
- Type: module.Stacked,
871
- Priority: prioOSPagingUsage,
872
- Dims: module.Dims{
873
- {ID: "os_paging_free_bytes", Name: "free"},
874
- {ID: "os_paging_used_bytes", Name: "used"},
875
- },
876
- Vars: module.Vars{
877
- {ID: "os_paging_limit_bytes"},
878
- },
879
- }
880
-)
881
-
882
-// System
883
-var (
884
- systemCharts = module.Charts{
885
- systemThreadsChart.Copy(),
886
- systemUptimeChart.Copy(),
887
- }
888
- systemThreadsChart = module.Chart{
889
- ID: "system_threads",
890
- Title: "Threads",
891
- Units: "number",
892
- Fam: "system",
893
- Ctx: "windows.system_threads",
894
- Priority: prioSystemThreads,
895
- Dims: module.Dims{
896
- {ID: "system_threads", Name: "threads"},
897
- },
898
- }
899
- systemUptimeChart = module.Chart{
900
- ID: "system_uptime",
901
- Title: "Uptime",
902
- Units: "seconds",
903
- Fam: "system",
904
- Ctx: "windows.system_uptime",
905
- Priority: prioSystemUptime,
906
- Dims: module.Dims{
907
- {ID: "system_up_time", Name: "time"},
908
- },
909
- }
910
-)
911
-
912
-// IIS
913
-var (
914
- iisWebsiteChartsTmpl = module.Charts{
915
- iisWebsiteTrafficChartTempl.Copy(),
916
- iisWebsiteRequestsRateChartTmpl.Copy(),
917
- iisWebsiteActiveConnectionsCountChartTmpl.Copy(),
918
- iisWebsiteUsersCountChartTmpl.Copy(),
919
- iisWebsiteConnectionAttemptsRate.Copy(),
920
- iisWebsiteISAPIExtRequestsCountChartTmpl.Copy(),
921
- iisWebsiteISAPIExtRequestsRateChartTmpl.Copy(),
922
- iisWebsiteFTPFileTransferRateChartTempl.Copy(),
923
- iisWebsiteLogonAttemptsRateChartTmpl.Copy(),
924
- iisWebsiteErrorsRateChart.Copy(),
925
- iisWebsiteUptimeChartTmpl.Copy(),
926
- }
927
- iisWebsiteTrafficChartTempl = module.Chart{
928
- OverModule: "iis",
929
- ID: "iis_website_%s_traffic",
930
- Title: "Website traffic",
931
- Units: "bytes/s",
932
- Fam: "traffic",
933
- Ctx: "iis.website_traffic",
934
- Type: module.Area,
935
- Priority: prioIISWebsiteTraffic,
936
- Dims: module.Dims{
937
- {ID: "iis_website_%s_received_bytes_total", Name: "received", Algo: module.Incremental},
938
- {ID: "iis_website_%s_sent_bytes_total", Name: "sent", Algo: module.Incremental, Mul: -1},
939
- },
940
- }
941
- iisWebsiteFTPFileTransferRateChartTempl = module.Chart{
942
- OverModule: "iis",
943
- ID: "iis_website_%s_ftp_file_transfer_rate",
944
- Title: "Website FTP file transfer rate",
945
- Units: "files/s",
946
- Fam: "traffic",
947
- Ctx: "iis.website_ftp_file_transfer_rate",
948
- Priority: prioIISWebsiteFTPFileTransferRate,
949
- Dims: module.Dims{
950
- {ID: "iis_website_%s_files_received_total", Name: "received", Algo: module.Incremental},
951
- {ID: "iis_website_%s_files_sent_total", Name: "sent", Algo: module.Incremental},
952
- },
953
- }
954
- iisWebsiteActiveConnectionsCountChartTmpl = module.Chart{
955
- OverModule: "iis",
956
- ID: "iis_website_%s_active_connections_count",
957
- Title: "Website active connections",
958
- Units: "connections",
959
- Fam: "connections",
960
- Ctx: "iis.website_active_connections_count",
961
- Priority: prioIISWebsiteActiveConnectionsCount,
962
- Dims: module.Dims{
963
- {ID: "iis_website_%s_current_connections", Name: "active"},
964
- },
965
- }
966
- iisWebsiteConnectionAttemptsRate = module.Chart{
967
- OverModule: "iis",
968
- ID: "iis_website_%s_connection_attempts_rate",
969
- Title: "Website connections attempts",
970
- Units: "attempts/s",
971
- Fam: "connections",
972
- Ctx: "iis.website_connection_attempts_rate",
973
- Priority: prioIISWebsiteConnectionAttemptsRate,
974
- Dims: module.Dims{
975
- {ID: "iis_website_%s_connection_attempts_all_instances_total", Name: "connection", Algo: module.Incremental},
976
- },
977
- }
978
- iisWebsiteRequestsRateChartTmpl = module.Chart{
979
- OverModule: "iis",
980
- ID: "iis_website_%s_requests_rate",
981
- Title: "Website requests rate",
982
- Units: "requests/s",
983
- Fam: "requests",
984
- Ctx: "iis.website_requests_rate",
985
- Priority: prioIISWebsiteRequestsRate,
986
- Dims: module.Dims{
987
- {ID: "iis_website_%s_requests_total", Name: "requests", Algo: module.Incremental},
988
- },
989
- }
990
- iisWebsiteUsersCountChartTmpl = module.Chart{
991
- OverModule: "iis",
992
- ID: "iis_website_%s_users_count",
993
- Title: "Website users with pending requests",
994
- Units: "users",
995
- Fam: "requests",
996
- Ctx: "iis.website_users_count",
997
- Type: module.Stacked,
998
- Priority: prioIISWebsiteUsersCount,
999
- Dims: module.Dims{
1000
- {ID: "iis_website_%s_current_anonymous_users", Name: "anonymous"},
1001
- {ID: "iis_website_%s_current_non_anonymous_users", Name: "non_anonymous"},
1002
- },
1003
- }
1004
- iisWebsiteISAPIExtRequestsCountChartTmpl = module.Chart{
1005
- OverModule: "iis",
1006
- ID: "iis_website_%s_isapi_extension_requests_count",
1007
- Title: "ISAPI extension requests",
1008
- Units: "requests",
1009
- Fam: "requests",
1010
- Ctx: "iis.website_isapi_extension_requests_count",
1011
- Priority: prioIISWebsiteISAPIExtRequestsCount,
1012
- Dims: module.Dims{
1013
- {ID: "iis_website_%s_current_isapi_extension_requests", Name: "isapi"},
1014
- },
1015
- }
1016
- iisWebsiteISAPIExtRequestsRateChartTmpl = module.Chart{
1017
- OverModule: "iis",
1018
- ID: "iis_website_%s_isapi_extension_requests_rate",
1019
- Title: "Website extensions request",
1020
- Units: "requests/s",
1021
- Fam: "requests",
1022
- Ctx: "iis.website_isapi_extension_requests_rate",
1023
- Priority: prioIISWebsiteISAPIExtRequestsRate,
1024
- Dims: module.Dims{
1025
- {ID: "iis_website_%s_isapi_extension_requests_total", Name: "isapi", Algo: module.Incremental},
1026
- },
1027
- }
1028
- iisWebsiteErrorsRateChart = module.Chart{
1029
- OverModule: "iis",
1030
- ID: "iis_website_%s_errors_rate",
1031
- Title: "Website errors",
1032
- Units: "errors/s",
1033
- Fam: "requests",
1034
- Ctx: "iis.website_errors_rate",
1035
- Type: module.Stacked,
1036
- Priority: prioIISWebsiteErrorsRate,
1037
- Dims: module.Dims{
1038
- {ID: "iis_website_%s_locked_errors_total", Name: "document_locked", Algo: module.Incremental},
1039
- {ID: "iis_website_%s_not_found_errors_total", Name: "document_not_found", Algo: module.Incremental},
1040
- },
1041
- }
1042
- iisWebsiteLogonAttemptsRateChartTmpl = module.Chart{
1043
- OverModule: "iis",
1044
- ID: "iis_website_%s_logon_attempts_rate",
1045
- Title: "Website logon attempts",
1046
- Units: "attempts/s",
1047
- Fam: "logon",
1048
- Ctx: "iis.website_logon_attempts_rate",
1049
- Priority: prioIISWebsiteLogonAttemptsRate,
1050
- Dims: module.Dims{
1051
- {ID: "iis_website_%s_logon_attempts_total", Name: "logon", Algo: module.Incremental},
1052
- },
1053
- }
1054
- iisWebsiteUptimeChartTmpl = module.Chart{
1055
- OverModule: "iis",
1056
- ID: "iis_website_%s_uptime",
1057
- Title: "Website uptime",
1058
- Units: "seconds",
1059
- Fam: "uptime",
1060
- Ctx: "iis.website_uptime",
1061
- Priority: prioIISWebsiteUptime,
1062
- Dims: module.Dims{
1063
- {ID: "iis_website_%s_service_uptime", Name: "uptime"},
1064
- },
1065
- }
1066
-)
1067
-
1068
-// MS-SQL
1069
-var (
1070
- mssqlInstanceChartsTmpl = module.Charts{
1071
- mssqlAccessMethodPageSplitsChart.Copy(),
1072
- mssqlCacheHitRatioChart.Copy(),
1073
- mssqlBufferCheckpointPageChart.Copy(),
1074
- mssqlBufferPageLifeExpectancyChart.Copy(),
1075
- mssqlBufManIOPSChart.Copy(),
1076
- mssqlBlockedProcessChart.Copy(),
1077
- mssqlLocksWaitChart.Copy(),
1078
- mssqlDeadLocksChart.Copy(),
1079
- mssqlMemmgrConnectionMemoryBytesChart.Copy(),
1080
- mssqlMemmgrExternalBenefitOfMemoryChart.Copy(),
1081
- mssqlMemmgrPendingMemoryChart.Copy(),
1082
- mssqlMemmgrTotalServerChart.Copy(),
1083
- mssqlSQLErrorsTotalChart.Copy(),
1084
- mssqlStatsAutoParamChart.Copy(),
1085
- mssqlStatsBatchRequestsChart.Copy(),
1086
- mssqlStatsSafeAutoChart.Copy(),
1087
- mssqlStatsCompilationChart.Copy(),
1088
- mssqlStatsRecompilationChart.Copy(),
1089
- mssqlUserConnectionChart.Copy(),
1090
- }
1091
- mssqlDatabaseChartsTmpl = module.Charts{
1092
- mssqlDatabaseActiveTransactionsChart.Copy(),
1093
- mssqlDatabaseBackupRestoreOperationsChart.Copy(),
1094
- mssqlDatabaseSizeChart.Copy(),
1095
- mssqlDatabaseLogFlushedChart.Copy(),
1096
- mssqlDatabaseLogFlushesChart.Copy(),
1097
- mssqlDatabaseTransactionsChart.Copy(),
1098
- mssqlDatabaseWriteTransactionsChart.Copy(),
1099
- }
1100
- // Access Method:
1101
- // Source: https://learn.microsoft.com/en-us/sql/relational-databases/performance-monitor/sql-server-access-methods-object?view=sql-server-ver16
1102
- mssqlAccessMethodPageSplitsChart = module.Chart{
1103
- OverModule: "mssql",
1104
- ID: "mssql_instance_%s_accessmethods_page_splits",
1105
- Title: "Page splits",
1106
- Units: "splits/s",
1107
- Fam: "buffer cache",
1108
- Ctx: "mssql.instance_accessmethods_page_splits",
1109
- Priority: prioMSSQLAccessMethodPageSplits,
1110
- Dims: module.Dims{
1111
- {ID: "mssql_instance_%s_accessmethods_page_splits", Name: "page", Algo: module.Incremental},
1112
- },
1113
- }
1114
- // Buffer Management
1115
- // Source: https://learn.microsoft.com/en-us/sql/relational-databases/performance-monitor/sql-server-buffer-manager-object?view=sql-server-ver16
1116
- mssqlCacheHitRatioChart = module.Chart{
1117
- OverModule: "mssql",
1118
- ID: "mssql_instance_%s_cache_hit_ratio",
1119
- Title: "Buffer Cache hit ratio",
1120
- Units: "percentage",
1121
- Fam: "buffer cache",
1122
- Ctx: "mssql.instance_cache_hit_ratio",
1123
- Priority: prioMSSQLCacheHitRatio,
1124
- Dims: module.Dims{
1125
- {ID: "mssql_instance_%s_cache_hit_ratio", Name: "hit_ratio"},
1126
- },
1127
- }
1128
- mssqlBufferCheckpointPageChart = module.Chart{
1129
- OverModule: "mssql",
1130
- ID: "mssql_instance_%s_bufman_checkpoint_pages",
1131
- Title: "Flushed pages",
1132
- Units: "pages/s",
1133
- Fam: "buffer cache",
1134
- Ctx: "mssql.instance_bufman_checkpoint_pages",
1135
- Priority: prioMSSQLBufferCheckpointPages,
1136
- Dims: module.Dims{
1137
- {ID: "mssql_instance_%s_bufman_checkpoint_pages", Name: "flushed", Algo: module.Incremental},
1138
- },
1139
- }
1140
- mssqlBufferPageLifeExpectancyChart = module.Chart{
1141
- OverModule: "mssql",
1142
- ID: "mssql_instance_%s_bufman_page_life_expectancy",
1143
- Title: "Page life expectancy",
1144
- Units: "seconds",
1145
- Fam: "buffer cache",
1146
- Ctx: "mssql.instance_bufman_page_life_expectancy",
1147
- Priority: prioMSSQLBufferPageLifeExpectancy,
1148
- Dims: module.Dims{
1149
- {ID: "mssql_instance_%s_bufman_page_life_expectancy_seconds", Name: "life_expectancy"},
1150
- },
1151
- }
1152
- mssqlBufManIOPSChart = module.Chart{
1153
- OverModule: "mssql",
1154
- ID: "mssql_instance_%s_bufman_iops",
1155
- Title: "Number of pages input and output",
1156
- Units: "pages/s",
1157
- Fam: "buffer cache",
1158
- Ctx: "mssql.instance_bufman_iops",
1159
- Priority: prioMSSQLBufManIOPS,
1160
- Dims: module.Dims{
1161
- {ID: "mssql_instance_%s_bufman_page_reads", Name: "read", Algo: module.Incremental},
1162
- {ID: "mssql_instance_%s_bufman_page_writes", Name: "written", Mul: -1, Algo: module.Incremental},
1163
- },
1164
- }
1165
- // General Statistic
1166
- // Source: https://learn.microsoft.com/en-us/sql/relational-databases/performance-monitor/sql-server-general-statistics-object?view=sql-server-ver16
1167
- mssqlBlockedProcessChart = module.Chart{
1168
- OverModule: "mssql",
1169
- ID: "mssql_instance_%s_blocked_process",
1170
- Title: "Blocked processes",
1171
- Units: "process",
1172
- Fam: "processes",
1173
- Ctx: "mssql.instance_blocked_processes",
1174
- Priority: prioMSSQLBlockedProcess,
1175
- Dims: module.Dims{
1176
- {ID: "mssql_instance_%s_genstats_blocked_processes", Name: "blocked"},
1177
- },
1178
- }
1179
- mssqlUserConnectionChart = module.Chart{
1180
- OverModule: "mssql",
1181
- ID: "mssql_instance_%s_user_connection",
1182
- Title: "User connections",
1183
- Units: "connections",
1184
- Fam: "connections",
1185
- Ctx: "mssql.instance_user_connection",
1186
- Priority: prioMSSQLUserConnections,
1187
- Dims: module.Dims{
1188
- {ID: "mssql_instance_%s_genstats_user_connections", Name: "user"},
1189
- },
1190
- }
1191
- // Lock Wait
1192
- // Source: https://learn.microsoft.com/en-us/sql/relational-databases/performance-monitor/sql-server-locks-object?view=sql-server-ver16
1193
- mssqlLocksWaitChart = module.Chart{
1194
- OverModule: "mssql",
1195
- ID: "mssql_instance_%s_locks_lock_wait",
1196
- Title: "Lock requests that required the caller to wait",
1197
- Units: "locks/s",
1198
- Fam: "locks",
1199
- Ctx: "mssql.instance_locks_lock_wait",
1200
- Priority: prioMSSQLLocksLockWait,
1201
- Dims: module.Dims{
1202
- {ID: "mssql_instance_%s_resource_AllocUnit_locks_lock_wait_seconds", Name: "alloc_unit", Algo: module.Incremental},
1203
- {ID: "mssql_instance_%s_resource_Application_locks_lock_wait_seconds", Name: "application", Algo: module.Incremental},
1204
- {ID: "mssql_instance_%s_resource_Database_locks_lock_wait_seconds", Name: "database", Algo: module.Incremental},
1205
- {ID: "mssql_instance_%s_resource_Extent_locks_lock_wait_seconds", Name: "extent", Algo: module.Incremental},
1206
- {ID: "mssql_instance_%s_resource_File_locks_lock_wait_seconds", Name: "file", Algo: module.Incremental},
1207
- {ID: "mssql_instance_%s_resource_HoBT_locks_lock_wait_seconds", Name: "hobt", Algo: module.Incremental},
1208
- {ID: "mssql_instance_%s_resource_Key_locks_lock_wait_seconds", Name: "key", Algo: module.Incremental},
1209
- {ID: "mssql_instance_%s_resource_Metadata_locks_lock_wait_seconds", Name: "metadata", Algo: module.Incremental},
1210
- {ID: "mssql_instance_%s_resource_OIB_locks_lock_wait_seconds", Name: "oib", Algo: module.Incremental},
1211
- {ID: "mssql_instance_%s_resource_Object_locks_lock_wait_seconds", Name: "object", Algo: module.Incremental},
1212
- {ID: "mssql_instance_%s_resource_Page_locks_lock_wait_seconds", Name: "page", Algo: module.Incremental},
1213
- {ID: "mssql_instance_%s_resource_RID_locks_lock_wait_seconds", Name: "rid", Algo: module.Incremental},
1214
- {ID: "mssql_instance_%s_resource_RowGroup_locks_lock_wait_seconds", Name: "row_group", Algo: module.Incremental},
1215
- {ID: "mssql_instance_%s_resource_Xact_locks_lock_wait_seconds", Name: "xact", Algo: module.Incremental},
1216
- },
1217
- }
1218
- mssqlDeadLocksChart = module.Chart{
1219
- OverModule: "mssql",
1220
- ID: "mssql_instance_%s_locks_deadlocks",
1221
- Title: "Lock requests that resulted in deadlock",
1222
- Units: "locks/s",
1223
- Fam: "locks",
1224
- Ctx: "mssql.instance_locks_deadlocks",
1225
- Priority: prioMSSQLLocksDeadLocks,
1226
- Dims: module.Dims{
1227
- {ID: "mssql_instance_%s_resource_AllocUnit_locks_deadlocks", Name: "alloc_unit", Algo: module.Incremental},
1228
- {ID: "mssql_instance_%s_resource_Application_locks_deadlocks", Name: "application", Algo: module.Incremental},
1229
- {ID: "mssql_instance_%s_resource_Database_locks_deadlocks", Name: "database", Algo: module.Incremental},
1230
- {ID: "mssql_instance_%s_resource_Extent_locks_deadlocks", Name: "extent", Algo: module.Incremental},
1231
- {ID: "mssql_instance_%s_resource_File_locks_deadlocks", Name: "file", Algo: module.Incremental},
1232
- {ID: "mssql_instance_%s_resource_HoBT_locks_deadlocks", Name: "hobt", Algo: module.Incremental},
1233
- {ID: "mssql_instance_%s_resource_Key_locks_deadlocks", Name: "key", Algo: module.Incremental},
1234
- {ID: "mssql_instance_%s_resource_Metadata_locks_deadlocks", Name: "metadata", Algo: module.Incremental},
1235
- {ID: "mssql_instance_%s_resource_OIB_locks_deadlocks", Name: "oib", Algo: module.Incremental},
1236
- {ID: "mssql_instance_%s_resource_Object_locks_deadlocks", Name: "object", Algo: module.Incremental},
1237
- {ID: "mssql_instance_%s_resource_Page_locks_deadlocks", Name: "page", Algo: module.Incremental},
1238
- {ID: "mssql_instance_%s_resource_RID_locks_deadlocks", Name: "rid", Algo: module.Incremental},
1239
- {ID: "mssql_instance_%s_resource_RowGroup_locks_deadlocks", Name: "row_group", Algo: module.Incremental},
1240
- {ID: "mssql_instance_%s_resource_Xact_locks_deadlocks", Name: "xact", Algo: module.Incremental},
1241
- },
1242
- }
1243
-
1244
- // Memory Manager
1245
- // Source: https://learn.microsoft.com/en-us/sql/relational-databases/performance-monitor/sql-server-memory-manager-object?view=sql-server-ver16
1246
- mssqlMemmgrConnectionMemoryBytesChart = module.Chart{
1247
- OverModule: "mssql",
1248
- ID: "mssql_instance_%s_memmgr_connection_memory_bytes",
1249
- Title: "Amount of dynamic memory to maintain connections",
1250
- Units: "bytes",
1251
- Fam: "memory",
1252
- Ctx: "mssql.instance_memmgr_connection_memory_bytes",
1253
- Priority: prioMSSQLMemmgrConnectionMemoryBytes,
1254
- Dims: module.Dims{
1255
- {ID: "mssql_instance_%s_memmgr_connection_memory_bytes", Name: "memory", Algo: module.Incremental},
1256
- },
1257
- }
1258
- mssqlMemmgrExternalBenefitOfMemoryChart = module.Chart{
1259
- OverModule: "mssql",
1260
- ID: "mssql_instance_%s_memmgr_external_benefit_of_memory",
1261
- Title: "Performance benefit from adding memory to a specific cache",
1262
- Units: "bytes",
1263
- Fam: "memory",
1264
- Ctx: "mssql.instance_memmgr_external_benefit_of_memory",
1265
- Priority: prioMSSQLMemmgrExternalBenefitOfMemory,
1266
- Dims: module.Dims{
1267
- {ID: "mssql_instance_%s_memmgr_external_benefit_of_memory", Name: "benefit", Algo: module.Incremental},
1268
- },
1269
- }
1270
- mssqlMemmgrPendingMemoryChart = module.Chart{
1271
- OverModule: "mssql",
1272
- ID: "mssql_instance_%s_memmgr_pending_memory_grants",
1273
- Title: "Process waiting for memory grant",
1274
- Units: "process",
1275
- Fam: "memory",
1276
- Ctx: "mssql.instance_memmgr_pending_memory_grants",
1277
- Priority: prioMSSQLMemmgrPendingMemoryGrants,
1278
- Dims: module.Dims{
1279
- {ID: "mssql_instance_%s_memmgr_pending_memory_grants", Name: "pending"},
1280
- },
1281
- }
1282
- mssqlMemmgrTotalServerChart = module.Chart{
1283
- OverModule: "mssql",
1284
- ID: "mssql_instance_%s_memmgr_server_memory",
1285
- Title: "Memory committed",
1286
- Units: "bytes",
1287
- Fam: "memory",
1288
- Ctx: "mssql.instance_memmgr_server_memory",
1289
- Priority: prioMSSQLMemTotalServer,
1290
- Dims: module.Dims{
1291
- {ID: "mssql_instance_%s_memmgr_total_server_memory_bytes", Name: "memory"},
1292
- },
1293
- }
1294
-
1295
- // SQL errors
1296
- // Source: https://learn.microsoft.com/en-us/sql/relational-databases/performance-monitor/sql-server-sql-errors-object?view=sql-server-ver16
1297
- mssqlSQLErrorsTotalChart = module.Chart{
1298
- OverModule: "mssql",
1299
- ID: "mssql_instance_%s_sql_errors_total",
1300
- Title: "Errors",
1301
- Units: "errors/s",
1302
- Fam: "errors",
1303
- Ctx: "mssql.instance_sql_errors",
1304
- Priority: prioMSSQLSqlErrorsTotal,
1305
- Dims: module.Dims{
1306
- {ID: "mssql_instance_%s_sql_errors_total_db_offline_errors", Name: "db_offline", Algo: module.Incremental},
1307
- {ID: "mssql_instance_%s_sql_errors_total_info_errors", Name: "info", Algo: module.Incremental},
1308
- {ID: "mssql_instance_%s_sql_errors_total_kill_connection_errors", Name: "kill_connection", Algo: module.Incremental},
1309
- {ID: "mssql_instance_%s_sql_errors_total_user_errors", Name: "user", Algo: module.Incremental},
1310
- },
1311
- }
1312
-
1313
- // SQL Statistic
1314
- // Source: https://learn.microsoft.com/en-us/sql/relational-databases/performance-monitor/sql-server-sql-statistics-object?view=sql-server-ver16
1315
- mssqlStatsAutoParamChart = module.Chart{
1316
- OverModule: "mssql",
1317
- ID: "mssql_instance_%s_sqlstats_auto_parameterization_attempts",
1318
- Title: "Failed auto-parameterization attempts",
1319
- Units: "attempts/s",
1320
- Fam: "sql activity",
1321
- Ctx: "mssql.instance_sqlstats_auto_parameterization_attempts",
1322
- Priority: prioMSSQLStatsAutoParameterization,
1323
- Dims: module.Dims{
1324
- {ID: "mssql_instance_%s_sqlstats_auto_parameterization_attempts", Name: "failed", Algo: module.Incremental},
1325
- },
1326
- }
1327
- mssqlStatsBatchRequestsChart = module.Chart{
1328
- OverModule: "mssql",
1329
- ID: "mssql_instance_%s_sqlstats_batch_requests",
1330
- Title: "Total of batches requests",
1331
- Units: "requests/s",
1332
- Fam: "sql activity",
1333
- Ctx: "mssql.instance_sqlstats_batch_requests",
1334
- Priority: prioMSSQLStatsBatchRequests,
1335
- Dims: module.Dims{
1336
- {ID: "mssql_instance_%s_sqlstats_batch_requests", Name: "batch", Algo: module.Incremental},
1337
- },
1338
- }
1339
- mssqlStatsSafeAutoChart = module.Chart{
1340
- OverModule: "mssql",
1341
- ID: "mssql_instance_%s_sqlstats_safe_auto_parameterization_attempts",
1342
- Title: "Safe auto-parameterization attempts",
1343
- Units: "attempts/s",
1344
- Fam: "sql activity",
1345
- Ctx: "mssql.instance_sqlstats_safe_auto_parameterization_attempts",
1346
- Priority: prioMSSQLStatsSafeAutoParameterization,
1347
- Dims: module.Dims{
1348
- {ID: "mssql_instance_%s_sqlstats_safe_auto_parameterization_attempts", Name: "safe", Algo: module.Incremental},
1349
- },
1350
- }
1351
- mssqlStatsCompilationChart = module.Chart{
1352
- OverModule: "mssql",
1353
- ID: "mssql_instance_%s_sqlstats_sql_compilations",
1354
- Title: "SQL compilations",
1355
- Units: "compilations/s",
1356
- Fam: "sql activity",
1357
- Ctx: "mssql.instance_sqlstats_sql_compilations",
1358
- Priority: prioMSSQLStatsCompilations,
1359
- Dims: module.Dims{
1360
- {ID: "mssql_instance_%s_sqlstats_sql_compilations", Name: "compilations", Algo: module.Incremental},
1361
- },
1362
- }
1363
- mssqlStatsRecompilationChart = module.Chart{
1364
- OverModule: "mssql",
1365
- ID: "mssql_instance_%s_sqlstats_sql_recompilations",
1366
- Title: "SQL re-compilations",
1367
- Units: "recompiles/s",
1368
- Fam: "sql activity",
1369
- Ctx: "mssql.instance_sqlstats_sql_recompilations",
1370
- Priority: prioMSSQLStatsRecompilations,
1371
- Dims: module.Dims{
1372
- {ID: "mssql_instance_%s_sqlstats_sql_recompilations", Name: "recompiles", Algo: module.Incremental},
1373
- },
1374
- }
1375
-
1376
- // Database
1377
- // Source: https://learn.microsoft.com/en-us/sql/relational-databases/performance-monitor/sql-server-databases-object?view=sql-server-2017
1378
- mssqlDatabaseActiveTransactionsChart = module.Chart{
1379
- OverModule: "mssql",
1380
- ID: "mssql_db_%s_instance_%s_active_transactions",
1381
- Title: "Active transactions per database",
1382
- Units: "transactions",
1383
- Fam: "transactions",
1384
- Ctx: "mssql.database_active_transactions",
1385
- Priority: prioMSSQLDatabaseActiveTransactions,
1386
- Dims: module.Dims{
1387
- {ID: "mssql_db_%s_instance_%s_active_transactions", Name: "active"},
1388
- },
1389
- }
1390
- mssqlDatabaseBackupRestoreOperationsChart = module.Chart{
1391
- OverModule: "mssql",
1392
- ID: "mssql_db_%s_instance_%s_backup_restore_operations",
1393
- Title: "Backup IO per database",
1394
- Units: "operations/s",
1395
- Fam: "transactions",
1396
- Ctx: "mssql.database_backup_restore_operations",
1397
- Priority: prioMSSQLDatabaseBackupRestoreOperations,
1398
- Dims: module.Dims{
1399
- {ID: "mssql_db_%s_instance_%s_backup_restore_operations", Name: "backup", Algo: module.Incremental},
1400
- },
1401
- }
1402
- mssqlDatabaseSizeChart = module.Chart{
1403
- OverModule: "mssql",
1404
- ID: "mssql_db_%s_instance_%s_data_files_size",
1405
- Title: "Current database size",
1406
- Units: "bytes",
1407
- Fam: "size",
1408
- Ctx: "mssql.database_data_files_size",
1409
- Priority: prioMSSQLDatabaseDataFileSize,
1410
- Dims: module.Dims{
1411
- {ID: "mssql_db_%s_instance_%s_data_files_size_bytes", Name: "size"},
1412
- },
1413
- }
1414
- mssqlDatabaseLogFlushedChart = module.Chart{
1415
- OverModule: "mssql",
1416
- ID: "mssql_db_%s_instance_%s_log_flushed",
1417
- Title: "Log flushed",
1418
- Units: "bytes/s",
1419
- Fam: "transactions",
1420
- Ctx: "mssql.database_log_flushed",
1421
- Priority: prioMSSQLDatabaseLogFlushed,
1422
- Dims: module.Dims{
1423
- {ID: "mssql_db_%s_instance_%s_log_flushed_bytes", Name: "flushed", Algo: module.Incremental},
1424
- },
1425
- }
1426
- mssqlDatabaseLogFlushesChart = module.Chart{
1427
- OverModule: "mssql",
1428
- ID: "mssql_db_%s_instance_%s_log_flushes",
1429
- Title: "Log flushes",
1430
- Units: "flushes/s",
1431
- Fam: "transactions",
1432
- Ctx: "mssql.database_log_flushes",
1433
- Priority: prioMSSQLDatabaseLogFlushes,
1434
- Dims: module.Dims{
1435
- {ID: "mssql_db_%s_instance_%s_log_flushes", Name: "log", Algo: module.Incremental},
1436
- },
1437
- }
1438
- mssqlDatabaseTransactionsChart = module.Chart{
1439
- OverModule: "mssql",
1440
- ID: "mssql_db_%s_instance_%s_transactions",
1441
- Title: "Transactions",
1442
- Units: "transactions/s",
1443
- Fam: "transactions",
1444
- Ctx: "mssql.database_transactions",
1445
- Priority: prioMSSQLDatabaseTransactions,
1446
- Dims: module.Dims{
1447
- {ID: "mssql_db_%s_instance_%s_transactions", Name: "transactions", Algo: module.Incremental},
1448
- },
1449
- }
1450
- mssqlDatabaseWriteTransactionsChart = module.Chart{
1451
- OverModule: "mssql",
1452
- ID: "mssql_db_%s_instance_%s_write_transactions",
1453
- Title: "Write transactions",
1454
- Units: "transactions/s",
1455
- Fam: "transactions",
1456
- Ctx: "mssql.database_write_transactions",
1457
- Priority: prioMSSQLDatabaseWriteTransactions,
1458
- Dims: module.Dims{
1459
- {ID: "mssql_db_%s_instance_%s_write_transactions", Name: "write", Algo: module.Incremental},
1460
- },
1461
- }
1462
-)
1463
-
1464
-// AD
1465
-var (
1466
- adCharts = module.Charts{
1467
- adDatabaseOperationsChart.Copy(),
1468
- adDirectoryOperationsChart.Copy(),
1469
- adNameCacheLookupsChart.Copy(),
1470
- adNameCacheHitsChart.Copy(),
1471
- adDRAReplicationIntersiteCompressedTrafficChart.Copy(),
1472
- adDRAReplicationIntrasiteCompressedTrafficChart.Copy(),
1473
- adDRAReplicationSyncObjectRemainingChart.Copy(),
1474
- adDRAReplicationObjectsFilteredChart.Copy(),
1475
- adDRAReplicationPropertiesUpdatedChart.Copy(),
1476
- adDRAReplicationPropertiesFilteredChart.Copy(),
1477
- adDRAReplicationPendingSyncsChart.Copy(),
1478
- adDRAReplicationSyncRequestsChart.Copy(),
1479
- adDirectoryServiceThreadsChart.Copy(),
1480
- adLDAPLastBindTimeChart.Copy(),
1481
- adBindsTotalChart.Copy(),
1482
- adLDAPSearchesChart.Copy(),
1483
- adATQAverageRequestLatencyChart.Copy(),
1484
- adATQOutstandingRequestsChart.Copy(),
1485
- }
1486
- adDatabaseOperationsChart = module.Chart{
1487
- OverModule: "ad",
1488
- ID: "ad_database_operations",
1489
- Title: "AD database operations",
1490
- Units: "operations/s",
1491
- Fam: "database",
1492
- Ctx: "ad.database_operations",
1493
- Priority: prioADDatabaseOperations,
1494
- Dims: module.Dims{
1495
- {ID: "ad_database_operations_total_add", Name: "add", Algo: module.Incremental},
1496
- {ID: "ad_database_operations_total_delete", Name: "delete", Algo: module.Incremental},
1497
- {ID: "ad_database_operations_total_modify", Name: "modify", Algo: module.Incremental},
1498
- {ID: "ad_database_operations_total_recycle", Name: "recycle", Algo: module.Incremental},
1499
- },
1500
- }
1501
- adDirectoryOperationsChart = module.Chart{
1502
- OverModule: "ad",
1503
- ID: "ad_directory_operations_read",
1504
- Title: "AD directory operations",
1505
- Units: "operations/s",
1506
- Fam: "database",
1507
- Ctx: "ad.directory_operations",
1508
- Priority: prioADDirectoryOperations,
1509
- Dims: module.Dims{
1510
- {ID: "ad_directory_operations_total_read", Name: "read", Algo: module.Incremental},
1511
- {ID: "ad_directory_operations_total_write", Name: "write", Algo: module.Incremental},
1512
- {ID: "ad_directory_operations_total_search", Name: "search", Algo: module.Incremental},
1513
- },
1514
- }
1515
- adNameCacheLookupsChart = module.Chart{
1516
- OverModule: "ad",
1517
- ID: "ad_name_cache_lookups",
1518
- Title: "Name cache lookups",
1519
- Units: "lookups/s",
1520
- Fam: "database",
1521
- Ctx: "ad.name_cache_lookups",
1522
- Priority: prioADNameCacheLookups,
1523
- Dims: module.Dims{
1524
- {ID: "ad_name_cache_lookups_total", Name: "lookups", Algo: module.Incremental},
1525
- },
1526
- }
1527
- adNameCacheHitsChart = module.Chart{
1528
- OverModule: "ad",
1529
- ID: "ad_name_cache_hits",
1530
- Title: "Name cache hits",
1531
- Units: "hits/s",
1532
- Fam: "database",
1533
- Ctx: "ad.name_cache_hits",
1534
- Priority: prioADCacheHits,
1535
- Dims: module.Dims{
1536
- {ID: "ad_name_cache_hits_total", Name: "hits", Algo: module.Incremental},
1537
- },
1538
- }
1539
- adDRAReplicationIntersiteCompressedTrafficChart = module.Chart{
1540
- OverModule: "ad",
1541
- ID: "ad_dra_replication_intersite_compressed_traffic",
1542
- Title: "DRA replication compressed traffic withing site",
1543
- Units: "bytes/s",
1544
- Fam: "replication",
1545
- Ctx: "ad.dra_replication_intersite_compressed_traffic",
1546
- Priority: prioADDRAReplicationIntersiteCompressedTraffic,
1547
- Type: module.Area,
1548
- Dims: module.Dims{
1549
- {ID: "ad_replication_data_intersite_bytes_total_inbound", Name: "inbound", Algo: module.Incremental},
1550
- {ID: "ad_replication_data_intersite_bytes_total_outbound", Name: "outbound", Algo: module.Incremental, Mul: -1},
1551
- },
1552
- }
1553
- adDRAReplicationIntrasiteCompressedTrafficChart = module.Chart{
1554
- OverModule: "ad",
1555
- ID: "ad_dra_replication_intrasite_compressed_traffic",
1556
- Title: "DRA replication compressed traffic between sites",
1557
- Units: "bytes/s",
1558
- Fam: "replication",
1559
- Ctx: "ad.dra_replication_intrasite_compressed_traffic",
1560
- Priority: prioADDRAReplicationIntrasiteCompressedTraffic,
1561
- Type: module.Area,
1562
- Dims: module.Dims{
1563
- {ID: "ad_replication_data_intrasite_bytes_total_inbound", Name: "inbound", Algo: module.Incremental},
1564
- {ID: "ad_replication_data_intrasite_bytes_total_outbound", Name: "outbound", Algo: module.Incremental, Mul: -1},
1565
- },
1566
- }
1567
- adDRAReplicationSyncObjectRemainingChart = module.Chart{
1568
- OverModule: "ad",
1569
- ID: "ad_dra_replication_sync_objects_remaining",
1570
- Title: "DRA replication full sync objects remaining",
1571
- Units: "objects",
1572
- Fam: "replication",
1573
- Ctx: "ad.dra_replication_sync_objects_remaining",
1574
- Priority: prioADDRAReplicationSyncObjectsRemaining,
1575
- Dims: module.Dims{
1576
- {ID: "ad_replication_inbound_sync_objects_remaining", Name: "inbound"},
1577
- },
1578
- }
1579
- adDRAReplicationObjectsFilteredChart = module.Chart{
1580
- OverModule: "ad",
1581
- ID: "ad_dra_replication_objects_filtered",
1582
- Title: "DRA replication objects filtered",
1583
- Units: "objects/s",
1584
- Fam: "replication",
1585
- Ctx: "ad.dra_replication_objects_filtered",
1586
- Priority: prioADDRAReplicationObjectsFiltered,
1587
- Dims: module.Dims{
1588
- {ID: "ad_replication_inbound_objects_filtered_total", Name: "inbound", Algo: module.Incremental},
1589
- },
1590
- }
1591
- adDRAReplicationPropertiesUpdatedChart = module.Chart{
1592
- OverModule: "ad",
1593
- ID: "ad_dra_replication_properties_updated",
1594
- Title: "DRA replication properties updated",
1595
- Units: "properties/s",
1596
- Fam: "replication",
1597
- Ctx: "ad.dra_replication_properties_updated",
1598
- Priority: prioADDRAReplicationPropertiesUpdated,
1599
- Dims: module.Dims{
1600
- {ID: "ad_replication_inbound_properties_updated_total", Name: "inbound", Algo: module.Incremental},
1601
- },
1602
- }
1603
- adDRAReplicationPropertiesFilteredChart = module.Chart{
1604
- OverModule: "ad",
1605
- ID: "ad_dra_replication_properties_filtered",
1606
- Title: "DRA replication properties filtered",
1607
- Units: "properties/s",
1608
- Fam: "replication",
1609
- Ctx: "ad.dra_replication_properties_filtered",
1610
- Priority: prioADDRAReplicationPropertiesFiltered,
1611
- Dims: module.Dims{
1612
- {ID: "ad_replication_inbound_properties_filtered_total", Name: "inbound", Algo: module.Incremental},
1613
- },
1614
- }
1615
- adDRAReplicationPendingSyncsChart = module.Chart{
1616
- OverModule: "ad",
1617
- ID: "ad_dra_replication_pending_syncs",
1618
- Title: "DRA replication pending syncs",
1619
- Units: "syncs",
1620
- Fam: "replication",
1621
- Ctx: "ad.dra_replication_pending_syncs",
1622
- Priority: prioADReplicationPendingSyncs,
1623
- Dims: module.Dims{
1624
- {ID: "ad_replication_pending_synchronizations", Name: "pending"},
1625
- },
1626
- }
1627
- adDRAReplicationSyncRequestsChart = module.Chart{
1628
- OverModule: "ad",
1629
- ID: "ad_dra_replication_sync_requests",
1630
- Title: "DRA replication sync requests",
1631
- Units: "requests/s",
1632
- Fam: "replication",
1633
- Ctx: "ad.dra_replication_sync_requests",
1634
- Priority: prioADDRASyncRequests,
1635
- Dims: module.Dims{
1636
- {ID: "ad_replication_sync_requests_total", Name: "request", Algo: module.Incremental},
1637
- },
1638
- }
1639
- adDirectoryServiceThreadsChart = module.Chart{
1640
- OverModule: "ad",
1641
- ID: "ad_ds_threads",
1642
- Title: "Directory Service threads",
1643
- Units: "threads",
1644
- Fam: "replication",
1645
- Ctx: "ad.ds_threads",
1646
- Priority: prioADDirectoryServiceThreadsInUse,
1647
- Dims: module.Dims{
1648
- {ID: "ad_directory_service_threads", Name: "in_use"},
1649
- },
1650
- }
1651
- adLDAPLastBindTimeChart = module.Chart{
1652
- OverModule: "ad",
1653
- ID: "ad_ldap_last_bind_time",
1654
- Title: "LDAP last successful bind time",
1655
- Units: "seconds",
1656
- Fam: "bind",
1657
- Ctx: "ad.ldap_last_bind_time",
1658
- Priority: prioADLDAPBindTime,
1659
- Dims: module.Dims{
1660
- {ID: "ad_ldap_last_bind_time_seconds", Name: "last_bind"},
1661
- },
1662
- }
1663
- adBindsTotalChart = module.Chart{
1664
- OverModule: "ad",
1665
- ID: "ad_binds",
1666
- Title: "Successful binds",
1667
- Units: "bind/s",
1668
- Fam: "bind",
1669
- Ctx: "ad.binds",
1670
- Priority: prioADBindsTotal,
1671
- Dims: module.Dims{
1672
- {ID: "ad_binds_total", Name: "binds", Algo: module.Incremental},
1673
- },
1674
- }
1675
- adLDAPSearchesChart = module.Chart{
1676
- OverModule: "ad",
1677
- ID: "ad_ldap_searches",
1678
- Title: "LDAP client search operations",
1679
- Units: "searches/s",
1680
- Fam: "ldap",
1681
- Ctx: "ad.ldap_searches",
1682
- Priority: prioADLDAPSearchesTotal,
1683
- Dims: module.Dims{
1684
- {ID: "ad_ldap_searches_total", Name: "searches", Algo: module.Incremental},
1685
- },
1686
- }
1687
- // https://techcommunity.microsoft.com/t5/ask-the-directory-services-team/understanding-atq-performance-counters-yet-another-twist-in-the/ba-p/400293
1688
- adATQAverageRequestLatencyChart = module.Chart{
1689
- OverModule: "ad",
1690
- ID: "ad_atq_average_request_latency",
1691
- Title: "Average request processing time",
1692
- Units: "seconds",
1693
- Fam: "queue",
1694
- Ctx: "ad.atq_average_request_latency",
1695
- Priority: prioADATQAverageRequestLatency,
1696
- Dims: module.Dims{
1697
- {ID: "ad_atq_average_request_latency", Name: "time", Div: precision},
1698
- },
1699
- }
1700
- adATQOutstandingRequestsChart = module.Chart{
1701
- OverModule: "ad",
1702
- ID: "ad_atq_outstanding_requests",
1703
- Title: "Outstanding requests",
1704
- Units: "requests",
1705
- Fam: "queue",
1706
- Ctx: "ad.atq_outstanding_requests",
1707
- Priority: prioADATQOutstandingRequests,
1708
- Dims: module.Dims{
1709
- {ID: "ad_atq_outstanding_requests", Name: "outstanding"},
1710
- },
1711
- }
1712
-)
1713
-
1714
-// AD CS
1715
-var (
1716
- adcsCertTemplateChartsTmpl = module.Charts{
1717
- adcsCertTemplateRequestsChartTmpl.Copy(),
1718
- adcsCertTemplateFailedRequestsChartTmpl.Copy(),
1719
- adcsCertTemplateIssuedRequestsChartTmpl.Copy(),
1720
- adcsCertTemplatePendingRequestsChartTmpl.Copy(),
1721
- adcsCertTemplateRequestProcessingTimeChartTmpl.Copy(),
1722
-
1723
- adcsCertTemplateRetrievalsChartTmpl.Copy(),
1724
- adcsCertificateRetrievalsTimeChartTmpl.Copy(),
1725
- adcsCertTemplateRequestCryptoSigningTimeChartTmpl.Copy(),
1726
- adcsCertTemplateRequestPolicyModuleProcessingTimeChartTmpl.Copy(),
1727
- adcsCertTemplateChallengeResponseChartTmpl.Copy(),
1728
- adcsCertTemplateChallengeResponseProcessingTimeChartTmpl.Copy(),
1729
- adcsCertTemplateSignedCertificateTimestampListsChartTmpl.Copy(),
1730
- adcsCertTemplateSignedCertificateTimestampListProcessingTimeChartTmpl.Copy(),
1731
- }
1732
- adcsCertTemplateRequestsChartTmpl = module.Chart{
1733
- OverModule: "adcs",
1734
- ID: "adcs_cert_template%s_requests",
1735
- Title: "Certificate requests processed",
1736
- Units: "requests/s",
1737
- Fam: "requests",
1738
- Ctx: "adcs.cert_template_requests",
1739
- Priority: prioADCSCertTemplateRequests,
1740
- Dims: module.Dims{
1741
- {ID: "adcs_cert_template_%s_requests_total", Name: "requests", Algo: module.Incremental},
1742
- },
1743
- }
1744
- adcsCertTemplateFailedRequestsChartTmpl = module.Chart{
1745
- OverModule: "adcs",
1746
- ID: "adcs_cert_template_%s_failed_requests",
1747
- Title: "Certificate failed requests processed",
1748
- Units: "requests/s",
1749
- Fam: "requests",
1750
- Ctx: "adcs.cert_template_failed_requests",
1751
- Priority: prioADCSCertTemplateFailedRequests,
1752
- Dims: module.Dims{
1753
- {ID: "adcs_cert_template_%s_failed_requests_total", Name: "failed", Algo: module.Incremental},
1754
- },
1755
- }
1756
- adcsCertTemplateIssuedRequestsChartTmpl = module.Chart{
1757
- OverModule: "adcs",
1758
- ID: "adcs_cert_template_%s_issued_requests",
1759
- Title: "Certificate issued requests processed",
1760
- Units: "requests/s",
1761
- Fam: "requests",
1762
- Ctx: "adcs.cert_template_issued_requests",
1763
- Priority: prioADCSCertTemplateIssuesRequests,
1764
- Dims: module.Dims{
1765
- {ID: "adcs_cert_template_%s_issued_requests_total", Name: "issued", Algo: module.Incremental},
1766
- },
1767
- }
1768
- adcsCertTemplatePendingRequestsChartTmpl = module.Chart{
1769
- OverModule: "adcs",
1770
- ID: "adcs_cert_template_%s_pending_requests",
1771
- Title: "Certificate pending requests processed",
1772
- Units: "requests/s",
1773
- Fam: "requests",
1774
- Ctx: "adcs.cert_template_pending_requests",
1775
- Priority: prioADCSCertTemplatePendingRequests,
1776
- Dims: module.Dims{
1777
- {ID: "adcs_cert_template_%s_pending_requests_total", Name: "pending", Algo: module.Incremental},
1778
- },
1779
- }
1780
- adcsCertTemplateRequestProcessingTimeChartTmpl = module.Chart{
1781
- OverModule: "adcs",
1782
- ID: "adcs_cert_template_%s_request_processing_time",
1783
- Title: "Certificate last request processing time",
1784
- Units: "seconds",
1785
- Fam: "requests",
1786
- Ctx: "adcs.cert_template_request_processing_time",
1787
- Priority: prioADCSCertTemplateRequestProcessingTime,
1788
- Dims: module.Dims{
1789
- {ID: "adcs_cert_template_%s_request_processing_time_seconds", Name: "processing_time", Div: precision},
1790
- },
1791
- }
1792
- adcsCertTemplateChallengeResponseChartTmpl = module.Chart{
1793
- OverModule: "adcs",
1794
- ID: "adcs_cert_template_%s_challenge_responses",
1795
- Title: "Certificate challenge responses",
1796
- Units: "responses/s",
1797
- Fam: "responses",
1798
- Ctx: "adcs.cert_template_challenge_responses",
1799
- Priority: prioADCSCertTemplateChallengeResponses,
1800
- Dims: module.Dims{
1801
- {ID: "adcs_cert_template_%s_challenge_responses_total", Name: "challenge", Algo: module.Incremental},
1802
- },
1803
- }
1804
- adcsCertTemplateRetrievalsChartTmpl = module.Chart{
1805
- OverModule: "adcs",
1806
- ID: "adcs_cert_template_%s_retrievals",
1807
- Title: "Total of certificate retrievals",
1808
- Units: "retrievals/s",
1809
- Fam: "retrievals",
1810
- Ctx: "adcs.cert_template_retrievals",
1811
- Priority: prioADCSCertTemplateRetrievals,
1812
- Dims: module.Dims{
1813
- {ID: "adcs_cert_template_%s_retrievals_total", Name: "retrievals", Algo: module.Incremental},
1814
- },
1815
- }
1816
- adcsCertificateRetrievalsTimeChartTmpl = module.Chart{
1817
- OverModule: "adcs",
1818
- ID: "adcs_cert_template_%s_retrievals_processing_time",
1819
- Title: "Certificate last retrieval processing time",
1820
- Units: "seconds",
1821
- Fam: "retrievals",
1822
- Ctx: "adcs.cert_template_retrieval_processing_time",
1823
- Priority: prioADCSCertTemplateRetrievalProcessingTime,
1824
- Dims: module.Dims{
1825
- {ID: "adcs_cert_template_%s_retrievals_processing_time_seconds", Name: "processing_time", Div: precision},
1826
- },
1827
- }
1828
- adcsCertTemplateRequestCryptoSigningTimeChartTmpl = module.Chart{
1829
- OverModule: "adcs",
1830
- ID: "adcs_cert_template_%s_request_cryptographic_signing_time",
1831
- Title: "Certificate last signing operation request time",
1832
- Units: "seconds",
1833
- Fam: "timings",
1834
- Ctx: "adcs.cert_template_request_cryptographic_signing_time",
1835
- Priority: prioADCSCertTemplateRequestCryptoSigningTime,
1836
- Dims: module.Dims{
1837
- {ID: "adcs_cert_template_%s_request_cryptographic_signing_time_seconds", Name: "singing_time", Div: precision},
1838
- },
1839
- }
1840
- adcsCertTemplateRequestPolicyModuleProcessingTimeChartTmpl = module.Chart{
1841
- OverModule: "adcs",
1842
- ID: "adcs_cert_template_%s_request_policy_module_processing_time",
1843
- Title: "Certificate last policy module processing request time",
1844
- Units: "seconds",
1845
- Fam: "timings",
1846
- Ctx: "adcs.cert_template_request_policy_module_processing",
1847
- Priority: prioADCSCertTemplateRequestPolicyModuleProcessingTime,
1848
- Dims: module.Dims{
1849
- {ID: "adcs_cert_template_%s_request_policy_module_processing_time_seconds", Name: "processing_time", Div: precision},
1850
- },
1851
- }
1852
- adcsCertTemplateChallengeResponseProcessingTimeChartTmpl = module.Chart{
1853
- OverModule: "adcs",
1854
- ID: "adcs_cert_template_%s_challenge_response_processing_time",
1855
- Title: "Certificate last challenge response time",
1856
- Units: "seconds",
1857
- Fam: "timings",
1858
- Ctx: "adcs.cert_template_challenge_response_processing_time",
1859
- Priority: prioADCSCertTemplateChallengeResponseProcessingTime,
1860
- Dims: module.Dims{
1861
- {ID: "adcs_cert_template_%s_challenge_response_processing_time_seconds", Name: "processing_time", Div: precision},
1862
- },
1863
- }
1864
- adcsCertTemplateSignedCertificateTimestampListsChartTmpl = module.Chart{
1865
- OverModule: "adcs",
1866
- ID: "adcs_cert_template_%s_signed_certificate_timestamp_lists",
1867
- Title: "Certificate Signed Certificate Timestamp Lists processed",
1868
- Units: "lists/s",
1869
- Fam: "timings",
1870
- Ctx: "adcs.cert_template_signed_certificate_timestamp_lists",
1871
- Priority: prioADCSCertTemplateSignedCertificateTimestampLists,
1872
- Dims: module.Dims{
1873
- {ID: "adcs_cert_template_%s_signed_certificate_timestamp_lists_total", Name: "processed", Algo: module.Incremental},
1874
- },
1875
- }
1876
- adcsCertTemplateSignedCertificateTimestampListProcessingTimeChartTmpl = module.Chart{
1877
- OverModule: "adcs",
1878
- ID: "adcs_cert_template_%s_signed_certificate_timestamp_list_processing_time",
1879
- Title: "Certificate last Signed Certificate Timestamp List process time",
1880
- Units: "seconds",
1881
- Fam: "timings",
1882
- Ctx: "adcs.cert_template_signed_certificate_timestamp_list_processing_time",
1883
- Priority: prioADCSCertTemplateSignedCertificateTimestampListProcessingTime,
1884
- Dims: module.Dims{
1885
- {ID: "adcs_cert_template_%s_signed_certificate_timestamp_list_processing_time_seconds", Name: "processing_time", Div: precision},
1886
- },
1887
- }
1888
-)
1889
-
1890
-// AD FS
1891
-var (
1892
- adfsCharts = module.Charts{
1893
- adfsADLoginConnectionFailuresChart.Copy(),
1894
- adfsCertificateAuthenticationsChart.Copy(),
1895
- adfsDBArtifactFailuresChart.Copy(),
1896
- adfsDBArtifactQueryTimeSecondsChart.Copy(),
1897
- adfsDBConfigFailuresChart.Copy(),
1898
- adfsDBConfigQueryTimeSecondsChart.Copy(),
1899
- adfsDeviceAuthenticationsChart.Copy(),
1900
- adfsExternalAuthenticationsChart.Copy(),
1901
- adfsFederatedAuthenticationsChart.Copy(),
1902
- adfsFederationMetadataRequestsChart.Copy(),
1903
-
1904
- adfsOAuthAuthorizationRequestsChart.Copy(),
1905
- adfsOAuthClientAuthenticationsChart.Copy(),
1906
- adfsOAuthClientCredentialRequestsChart.Copy(),
1907
- adfsOAuthClientPrivKeyJwtAuthenticationsChart.Copy(),
1908
- adfsOAuthClientSecretBasicAuthenticationsChart.Copy(),
1909
- adfsOAuthClientSecretPostAuthenticationsChart.Copy(),
1910
- adfsOAuthClientWindowsAuthenticationsChart.Copy(),
1911
- adfsOAuthLogonCertificateRequestsChart.Copy(),
1912
- adfsOAuthPasswordGrantRequestsChart.Copy(),
1913
- adfsOAuthTokenRequestsChart.Copy(),
1914
-
1915
- adfsPassiveRequestsChart.Copy(),
1916
- adfsPassportAuthenticationsChart.Copy(),
1917
- adfsPasswordChangeChart.Copy(),
1918
- adfsSAMLPTokenRequestsChart.Copy(),
1919
- adfsSSOAuthenticationsChart.Copy(),
1920
- adfsTokenRequestsChart.Copy(),
1921
- adfsUserPasswordAuthenticationsChart.Copy(),
1922
- adfsWindowsIntegratedAuthenticationsChart.Copy(),
1923
- adfsWSFedTokenRequestsSuccessChart.Copy(),
1924
- adfsWSTrustTokenRequestsSuccessChart.Copy(),
1925
- }
1926
-
1927
- adfsADLoginConnectionFailuresChart = module.Chart{
1928
- OverModule: "adfs",
1929
- ID: "adfs_ad_login_connection_failures",
1930
- Title: "Connection failures",
1931
- Units: "failures/s",
1932
- Fam: "ad",
1933
- Ctx: "adfs.ad_login_connection_failures",
1934
- Priority: prioADFSADLoginConnectionFailures,
1935
- Dims: module.Dims{
1936
- {ID: "adfs_ad_login_connection_failures_total", Name: "connection", Algo: module.Incremental},
1937
- },
1938
- }
1939
- adfsCertificateAuthenticationsChart = module.Chart{
1940
- OverModule: "adfs",
1941
- ID: "adfs_certificate_authentications",
1942
- Title: "User Certificate authentications",
1943
- Units: "authentications/s",
1944
- Fam: "auth",
1945
- Ctx: "adfs.certificate_authentications",
1946
- Priority: prioADFSCertificateAuthentications,
1947
- Dims: module.Dims{
1948
- {ID: "adfs_certificate_authentications_total", Name: "authentications", Algo: module.Incremental},
1949
- },
1950
- }
1951
-
1952
- adfsDBArtifactFailuresChart = module.Chart{
1953
- OverModule: "adfs",
1954
- ID: "adfs_db_artifact_failures",
1955
- Title: "Connection failures to the artifact database",
1956
- Units: "failures/s",
1957
- Fam: "db artifact",
1958
- Ctx: "adfs.db_artifact_failures",
1959
- Priority: prioADFSDBArtifactFailures,
1960
- Dims: module.Dims{
1961
- {ID: "adfs_db_artifact_failure_total", Name: "connection", Algo: module.Incremental},
1962
- },
1963
- }
1964
- adfsDBArtifactQueryTimeSecondsChart = module.Chart{
1965
- OverModule: "adfs",
1966
- ID: "adfs_db_artifact_query_time_seconds",
1967
- Title: "Time taken for an artifact database query",
1968
- Units: "seconds/s",
1969
- Fam: "db artifact",
1970
- Ctx: "adfs.db_artifact_query_time_seconds",
1971
- Priority: prioADFSDBArtifactQueryTimeSeconds,
1972
- Dims: module.Dims{
1973
- {ID: "adfs_db_artifact_query_time_seconds_total", Name: "query_time", Algo: module.Incremental, Div: precision},
1974
- },
1975
- }
1976
- adfsDBConfigFailuresChart = module.Chart{
1977
- OverModule: "adfs",
1978
- ID: "adfs_db_config_failures",
1979
- Title: "Connection failures to the configuration database",
1980
- Units: "failures/s",
1981
- Fam: "db config",
1982
- Ctx: "adfs.db_config_failures",
1983
- Priority: prioADFSDBConfigFailures,
1984
- Dims: module.Dims{
1985
- {ID: "adfs_db_config_failure_total", Name: "connection", Algo: module.Incremental},
1986
- },
1987
- }
1988
- adfsDBConfigQueryTimeSecondsChart = module.Chart{
1989
- OverModule: "adfs",
1990
- ID: "adfs_db_config_query_time_seconds",
1991
- Title: "Time taken for a configuration database query",
1992
- Units: "seconds/s",
1993
- Fam: "db config",
1994
- Ctx: "adfs.db_config_query_time_seconds",
1995
- Priority: prioADFSDBConfigQueryTimeSeconds,
1996
- Dims: module.Dims{
1997
- {ID: "adfs_db_config_query_time_seconds_total", Name: "query_time", Algo: module.Incremental, Div: precision},
1998
- },
1999
- }
2000
- adfsDeviceAuthenticationsChart = module.Chart{
2001
- OverModule: "adfs",
2002
- ID: "adfs_device_authentications",
2003
- Title: "Device authentications",
2004
- Units: "authentications/s",
2005
- Fam: "auth",
2006
- Ctx: "adfs.device_authentications",
2007
- Priority: prioADFSDeviceAuthentications,
2008
- Dims: module.Dims{
2009
- {ID: "adfs_device_authentications_total", Name: "authentications", Algo: module.Incremental},
2010
- },
2011
- }
2012
- adfsExternalAuthenticationsChart = module.Chart{
2013
- OverModule: "adfs",
2014
- ID: "adfs_external_authentications",
2015
- Title: "Authentications from external MFA providers",
2016
- Units: "authentications/s",
2017
- Fam: "auth",
2018
- Ctx: "adfs.external_authentications",
2019
- Priority: prioADFSExternalAuthentications,
2020
- Dims: module.Dims{
2021
- {ID: "adfs_external_authentications_success_total", Name: "success", Algo: module.Incremental},
2022
- {ID: "adfs_external_authentications_failure_total", Name: "failure", Algo: module.Incremental},
2023
- },
2024
- }
2025
- adfsFederatedAuthenticationsChart = module.Chart{
2026
- OverModule: "adfs",
2027
- ID: "adfs_federated_authentications",
2028
- Title: "Authentications from Federated Sources",
2029
- Units: "authentications/s",
2030
- Fam: "auth",
2031
- Ctx: "adfs.federated_authentications",
2032
- Priority: prioADFSFederatedAuthentications,
2033
- Dims: module.Dims{
2034
- {ID: "adfs_federated_authentications_total", Name: "authentications", Algo: module.Incremental},
2035
- },
2036
- }
2037
- adfsFederationMetadataRequestsChart = module.Chart{
2038
- OverModule: "adfs",
2039
- ID: "adfs_federation_metadata_requests",
2040
- Title: "Federation Metadata requests",
2041
- Units: "requests/s",
2042
- Fam: "requests",
2043
- Ctx: "adfs.federation_metadata_requests",
2044
- Priority: prioADFSFederationMetadataRequests,
2045
- Dims: module.Dims{
2046
- {ID: "adfs_federation_metadata_requests_total", Name: "requests", Algo: module.Incremental},
2047
- },
2048
- }
2049
-
2050
- adfsOAuthAuthorizationRequestsChart = module.Chart{
2051
- OverModule: "adfs",
2052
- ID: "adfs_oauth_authorization_requests",
2053
- Title: "Incoming requests to the OAuth Authorization endpoint",
2054
- Units: "requests/s",
2055
- Fam: "oauth",
2056
- Ctx: "adfs.oauth_authorization_requests",
2057
- Priority: prioADFSOauthAuthorizationRequests,
2058
- Dims: module.Dims{
2059
- {ID: "adfs_oauth_authorization_requests_total", Name: "requests", Algo: module.Incremental},
2060
- },
2061
- }
2062
- adfsOAuthClientAuthenticationsChart = module.Chart{
2063
- OverModule: "adfs",
2064
- ID: "adfs_oauth_client_authentications",
2065
- Title: "OAuth client authentications",
2066
- Units: "authentications/s",
2067
- Fam: "oauth",
2068
- Ctx: "adfs.oauth_client_authentications",
2069
- Priority: prioADFSOauthClientAuthentications,
2070
- Dims: module.Dims{
2071
- {ID: "adfs_oauth_client_authentication_success_total", Name: "success", Algo: module.Incremental},
2072
- {ID: "adfs_oauth_client_authentication_failure_total", Name: "failure", Algo: module.Incremental},
2073
- },
2074
- }
2075
- adfsOAuthClientCredentialRequestsChart = module.Chart{
2076
- OverModule: "adfs",
2077
- ID: "adfs_oauth_client_credentials_requests",
2078
- Title: "OAuth client credentials requests",
2079
- Units: "requests/s",
2080
- Fam: "oauth",
2081
- Ctx: "adfs.oauth_client_credentials_requests",
2082
- Priority: prioADFSOauthClientCredentials,
2083
- Dims: module.Dims{
2084
- {ID: "adfs_oauth_client_credentials_success_total", Name: "success", Algo: module.Incremental},
2085
- {ID: "adfs_oauth_client_credentials_failure_total", Name: "failure", Algo: module.Incremental},
2086
- },
2087
- }
2088
- adfsOAuthClientPrivKeyJwtAuthenticationsChart = module.Chart{
2089
- OverModule: "adfs",
2090
- ID: "adfs_oauth_client_privkey_jwt_authentications",
2091
- Title: "OAuth client private key JWT authentications",
2092
- Units: "authentications/s",
2093
- Fam: "oauth",
2094
- Ctx: "adfs.oauth_client_privkey_jwt_authentications",
2095
- Priority: prioADFSOauthClientPrivkeyJwtAuthentication,
2096
- Dims: module.Dims{
2097
- {ID: "adfs_oauth_client_privkey_jwt_authentications_success_total", Name: "success", Algo: module.Incremental},
2098
- {ID: "adfs_oauth_client_privkey_jtw_authentication_failure_total", Name: "failure", Algo: module.Incremental},
2099
- },
2100
- }
2101
- adfsOAuthClientSecretBasicAuthenticationsChart = module.Chart{
2102
- OverModule: "adfs",
2103
- ID: "adfs_oauth_client_secret_basic_authentications",
2104
- Title: "OAuth client secret basic authentications",
2105
- Units: "authentications/s",
2106
- Fam: "oauth",
2107
- Ctx: "adfs.oauth_client_secret_basic_authentications",
2108
- Priority: prioADFSOauthClientSecretBasicAuthentications,
2109
- Dims: module.Dims{
2110
- {ID: "adfs_oauth_client_secret_basic_authentications_success_total", Name: "success", Algo: module.Incremental},
2111
- {ID: "adfs_oauth_client_secret_basic_authentications_failure_total", Name: "failure", Algo: module.Incremental},
2112
- },
2113
- }
2114
- adfsOAuthClientSecretPostAuthenticationsChart = module.Chart{
2115
- OverModule: "adfs",
2116
- ID: "adfs_oauth_client_secret_post_authentications",
2117
- Title: "OAuth client secret post authentications",
2118
- Units: "authentications/s",
2119
- Fam: "oauth",
2120
- Ctx: "adfs.oauth_client_secret_post_authentications",
2121
- Priority: prioADFSOauthClientSecretPostAuthentications,
2122
- Dims: module.Dims{
2123
- {ID: "adfs_oauth_client_secret_post_authentications_success_total", Name: "success", Algo: module.Incremental},
2124
- {ID: "adfs_oauth_client_secret_post_authentications_failure_total", Name: "failure", Algo: module.Incremental},
2125
- },
2126
- }
2127
- adfsOAuthClientWindowsAuthenticationsChart = module.Chart{
2128
- OverModule: "adfs",
2129
- ID: "adfs_oauth_client_windows_authentications",
2130
- Title: "OAuth client windows integrated authentications",
2131
- Units: "authentications/s",
2132
- Fam: "oauth",
2133
- Ctx: "adfs.oauth_client_windows_authentications",
2134
- Priority: prioADFSOauthClientWindowsAuthentications,
2135
- Dims: module.Dims{
2136
- {ID: "adfs_oauth_client_windows_authentications_success_total", Name: "success", Algo: module.Incremental},
2137
- {ID: "adfs_oauth_client_windows_authentications_failure_total", Name: "failure", Algo: module.Incremental},
2138
- },
2139
- }
2140
- adfsOAuthLogonCertificateRequestsChart = module.Chart{
2141
- OverModule: "adfs",
2142
- ID: "adfs_oauth_logon_certificate_requests",
2143
- Title: "OAuth logon certificate requests",
2144
- Units: "requests/s",
2145
- Fam: "oauth",
2146
- Ctx: "adfs.oauth_logon_certificate_requests",
2147
- Priority: prioADFSOauthLogonCertificateRequests,
2148
- Dims: module.Dims{
2149
- {ID: "adfs_oauth_logon_certificate_token_requests_success_total", Name: "success", Algo: module.Incremental},
2150
- {ID: "adfs_oauth_logon_certificate_requests_failure_total", Name: "failure", Algo: module.Incremental},
2151
- },
2152
- }
2153
- adfsOAuthPasswordGrantRequestsChart = module.Chart{
2154
- OverModule: "adfs",
2155
- ID: "adfs_oauth_password_grant_requests",
2156
- Title: "OAuth password grant requests",
2157
- Units: "requests/s",
2158
- Fam: "oauth",
2159
- Ctx: "adfs.oauth_password_grant_requests",
2160
- Priority: prioADFSOauthPasswordGrantRequests,
2161
- Dims: module.Dims{
2162
- {ID: "adfs_oauth_password_grant_requests_success_total", Name: "success", Algo: module.Incremental},
2163
- {ID: "adfs_oauth_password_grant_requests_failure_total", Name: "failure", Algo: module.Incremental},
2164
- },
2165
- }
2166
- adfsOAuthTokenRequestsChart = module.Chart{
2167
- OverModule: "adfs",
2168
- ID: "adfs_oauth_token_requests_success",
2169
- Title: "Successful RP token requests over OAuth protocol",
2170
- Units: "requests/s",
2171
- Fam: "oauth",
2172
- Ctx: "adfs.oauth_token_requests_success",
2173
- Priority: prioADFSOauthTokenRequestsSuccess,
2174
- Dims: module.Dims{
2175
- {ID: "adfs_oauth_token_requests_success_total", Name: "success", Algo: module.Incremental},
2176
- },
2177
- }
2178
-
2179
- adfsPassiveRequestsChart = module.Chart{
2180
- OverModule: "adfs",
2181
- ID: "adfs_passive_requests",
2182
- Title: "Passive requests",
2183
- Units: "requests/s",
2184
- Fam: "requests",
2185
- Ctx: "adfs.passive_requests",
2186
- Priority: prioADFSPassiveRequests,
2187
- Dims: module.Dims{
2188
- {ID: "adfs_passive_requests_total", Name: "passive", Algo: module.Incremental},
2189
- },
2190
- }
2191
- adfsPassportAuthenticationsChart = module.Chart{
2192
- OverModule: "adfs",
2193
- ID: "adfs_passport_authentications",
2194
- Title: "Microsoft Passport SSO authentications",
2195
- Units: "authentications/s",
2196
- Fam: "auth",
2197
- Ctx: "adfs.passport_authentications",
2198
- Priority: prioADFSPassportAuthentications,
2199
- Dims: module.Dims{
2200
- {ID: "adfs_passport_authentications_total", Name: "passport", Algo: module.Incremental},
2201
- },
2202
- }
2203
- adfsPasswordChangeChart = module.Chart{
2204
- OverModule: "adfs",
2205
- ID: "adfs_password_change_requests",
2206
- Title: "Password change requests",
2207
- Units: "requests/s",
2208
- Fam: "requests",
2209
- Ctx: "adfs.password_change_requests",
2210
- Priority: prioADFSPasswordChangeRequests,
2211
- Dims: module.Dims{
2212
- {ID: "adfs_password_change_succeeded_total", Name: "success", Algo: module.Incremental},
2213
- {ID: "adfs_password_change_failed_total", Name: "failed", Algo: module.Incremental},
2214
- },
2215
- }
2216
- adfsSAMLPTokenRequestsChart = module.Chart{
2217
- OverModule: "adfs",
2218
- ID: "adfs_samlp_token_requests_success",
2219
- Title: "Successful RP token requests over SAML-P protocol",
2220
- Units: "requests/s",
2221
- Fam: "requests",
2222
- Ctx: "adfs.samlp_token_requests_success",
2223
- Priority: prioADFSSAMLPTokenRequests,
2224
- Dims: module.Dims{
2225
- {ID: "adfs_samlp_token_requests_success_total", Name: "success", Algo: module.Incremental},
2226
- },
2227
- }
2228
- adfsWSTrustTokenRequestsSuccessChart = module.Chart{
2229
- OverModule: "adfs",
2230
- ID: "adfs_wstrust_token_requests_success",
2231
- Title: "Successful RP token requests over WS-Trust protocol",
2232
- Units: "requests/s",
2233
- Fam: "requests",
2234
- Ctx: "adfs.wstrust_token_requests_success",
2235
- Priority: prioADFSWSTrustTokenRequestsSuccess,
2236
- Dims: module.Dims{
2237
- {ID: "adfs_wstrust_token_requests_success_total", Name: "success", Algo: module.Incremental},
2238
- },
2239
- }
2240
- adfsSSOAuthenticationsChart = module.Chart{
2241
- OverModule: "adfs",
2242
- ID: "adfs_sso_authentications",
2243
- Title: "SSO authentications",
2244
- Units: "authentications/s",
2245
- Fam: "auth",
2246
- Ctx: "adfs.sso_authentications",
2247
- Priority: prioADFSSSOAuthentications,
2248
- Dims: module.Dims{
2249
- {ID: "adfs_sso_authentications_success_total", Name: "success", Algo: module.Incremental},
2250
- {ID: "adfs_sso_authentications_failure_total", Name: "failure", Algo: module.Incremental},
2251
- },
2252
- }
2253
- adfsTokenRequestsChart = module.Chart{
2254
- OverModule: "adfs",
2255
- ID: "adfs_token_requests",
2256
- Title: "Token access requests",
2257
- Units: "requests/s",
2258
- Fam: "requests",
2259
- Ctx: "adfs.token_requests",
2260
- Priority: prioADFSTokenRequests,
2261
- Dims: module.Dims{
2262
- {ID: "adfs_token_requests_total", Name: "requests", Algo: module.Incremental},
2263
- },
2264
- }
2265
- adfsUserPasswordAuthenticationsChart = module.Chart{
2266
- OverModule: "adfs",
2267
- ID: "adfs_userpassword_authentications",
2268
- Title: "AD U/P authentications",
2269
- Units: "authentications/s",
2270
- Fam: "auth",
2271
- Ctx: "adfs.userpassword_authentications",
2272
- Priority: prioADFSUserPasswordAuthentications,
2273
- Dims: module.Dims{
2274
- {ID: "adfs_sso_authentications_success_total", Name: "success", Algo: module.Incremental},
2275
- {ID: "adfs_sso_authentications_failure_total", Name: "failure", Algo: module.Incremental},
2276
- },
2277
- }
2278
- adfsWindowsIntegratedAuthenticationsChart = module.Chart{
2279
- OverModule: "adfs",
2280
- ID: "adfs_windows_integrated_authentications",
2281
- Title: "Windows integrated authentications using Kerberos or NTLM",
2282
- Units: "authentications/s",
2283
- Fam: "auth",
2284
- Ctx: "adfs.windows_integrated_authentications",
2285
- Priority: prioADFSWindowsIntegratedAuthentications,
2286
- Dims: module.Dims{
2287
- {ID: "adfs_windows_integrated_authentications_total", Name: "authentications", Algo: module.Incremental},
2288
- },
2289
- }
2290
- adfsWSFedTokenRequestsSuccessChart = module.Chart{
2291
- OverModule: "adfs",
2292
- ID: "adfs_wsfed_token_requests_success",
2293
- Title: "Successful RP token requests over WS-Fed protocol",
2294
- Units: "requests/s",
2295
- Fam: "requests",
2296
- Ctx: "adfs.wsfed_token_requests_success",
2297
- Priority: prioADFSWSFedTokenRequestsSuccess,
2298
- Dims: module.Dims{
2299
- {ID: "adfs_wsfed_token_requests_success_total", Name: "success", Algo: module.Incremental},
2300
- },
2301
- }
2302
-)
2303
-
2304
-// Exchange
2305
-var (
2306
- exchangeCharts = module.Charts{
2307
- exchangeActiveSyncPingCMDsPendingChart.Copy(),
2308
- exchangeActiveSyncRequestsChart.Copy(),
2309
- exchangeActiveSyncCMDsChart.Copy(),
2310
- exchangeAutoDiscoverRequestsChart.Copy(),
2311
- exchangeAvailableServiceRequestsChart.Copy(),
2312
- exchangeOWACurrentUniqueUsersChart.Copy(),
2313
- exchangeOWARequestsChart.Copy(),
2314
- exchangeRPCActiveUsersCountChart.Copy(),
2315
- exchangeRPCAvgLatencyChart.Copy(),
2316
- exchangeRPCConnectionChart.Copy(),
2317
- exchangeRPCOperationsChart.Copy(),
2318
- exchangeRPCRequestsChart.Copy(),
2319
- exchangeRPCUserChart.Copy(),
2320
- exchangeTransportQueuesActiveMailBoxDelivery.Copy(),
2321
- exchangeTransportQueuesExternalActiveRemoteDelivery.Copy(),
2322
- exchangeTransportQueuesExternalLargestDelivery.Copy(),
2323
- exchangeTransportQueuesInternalActiveRemoteDelivery.Copy(),
2324
- exchangeTransportQueuesInternalLargestDelivery.Copy(),
2325
- exchangeTransportQueuesRetryMailboxDelivery.Copy(),
2326
- exchangeTransportQueuesUnreachable.Copy(),
2327
- exchangeTransportQueuesPoison.Copy(),
2328
- }
2329
- exchangeWorkloadChartsTmpl = module.Charts{
2330
- exchangeWorkloadActiveTasks.Copy(),
2331
- exchangeWorkloadCompletedTasks.Copy(),
2332
- exchangeWorkloadQueuedTasks.Copy(),
2333
- exchangeWorkloadYieldedTasks.Copy(),
2334
-
2335
- exchangeWorkloadActivityStatus.Copy(),
2336
- }
2337
- exchangeLDAPChartsTmpl = module.Charts{
2338
- exchangeLDAPLongRunningOPS.Copy(),
2339
- exchangeLDAPReadTime.Copy(),
2340
- exchangeLDAPSearchTime.Copy(),
2341
- exchangeLDAPTimeoutErrors.Copy(),
2342
- exchangeLDAPWriteTime.Copy(),
2343
- }
2344
- exchangeHTTPProxyChartsTmpl = module.Charts{
2345
- exchangeProxyAvgAuthLatency.Copy(),
2346
- exchangeProxyAvgCasProcessingLatencySec.Copy(),
2347
- exchangeProxyMailboxProxyFailureRace.Copy(),
2348
- exchangeProxyMailboxServerLocatorAvgLatencySec.Copy(),
2349
- exchangeProxyOutstandingProxyRequests.Copy(),
2350
- exchangeProxyRequestsTotal.Copy(),
2351
- }
2352
-
2353
- exchangeActiveSyncPingCMDsPendingChart = module.Chart{
2354
- OverModule: "exchange",
2355
- ID: "exchange_activesync_ping_cmds_pending",
2356
- Title: "Ping commands pending in queue",
2357
- Units: "commands",
2358
- Fam: "sync",
2359
- Ctx: "exchange.activesync_ping_cmds_pending",
2360
- Priority: prioExchangeActiveSyncPingCMDsPending,
2361
- Dims: module.Dims{
2362
- {ID: "exchange_activesync_ping_cmds_pending", Name: "pending"},
2363
- },
2364
- }
2365
- exchangeActiveSyncRequestsChart = module.Chart{
2366
- OverModule: "exchange",
2367
- ID: "exchange_activesync_requests",
2368
- Title: "HTTP requests received from ASP.NET",
2369
- Units: "requests/s",
2370
- Fam: "sync",
2371
- Ctx: "exchange.activesync_requests",
2372
- Priority: prioExchangeActiveSyncRequests,
2373
- Dims: module.Dims{
2374
- {ID: "exchange_activesync_requests_total", Name: "received", Algo: module.Incremental},
2375
- },
2376
- }
2377
- exchangeActiveSyncCMDsChart = module.Chart{
2378
- OverModule: "exchange",
2379
- ID: "exchange_activesync_sync_cmds",
2380
- Title: "Sync commands processed",
2381
- Units: "commands/s",
2382
- Fam: "sync",
2383
- Ctx: "exchange.activesync_sync_cmds",
2384
- Priority: prioExchangeActiveSyncSyncCMDs,
2385
- Dims: module.Dims{
2386
- {ID: "exchange_activesync_sync_cmds_total", Name: "processed", Algo: module.Incremental},
2387
- },
2388
- }
2389
- exchangeAutoDiscoverRequestsChart = module.Chart{
2390
- OverModule: "exchange",
2391
- ID: "exchange_autodiscover_requests",
2392
- Title: "Autodiscover service requests processed",
2393
- Units: "requests/s",
2394
- Fam: "requests",
2395
- Ctx: "exchange.autodiscover_requests",
2396
- Priority: prioExchangeAutoDiscoverRequests,
2397
- Dims: module.Dims{
2398
- {ID: "exchange_autodiscover_requests_total", Name: "processed", Algo: module.Incremental},
2399
- },
2400
- }
2401
- exchangeAvailableServiceRequestsChart = module.Chart{
2402
- OverModule: "exchange",
2403
- ID: "exchange_avail_service_requests",
2404
- Title: "Requests serviced",
2405
- Units: "requests/s",
2406
- Fam: "requests",
2407
- Ctx: "exchange.avail_service_requests",
2408
- Priority: prioExchangeAvailServiceRequests,
2409
- Dims: module.Dims{
2410
- {ID: "exchange_avail_service_requests_per_sec", Name: "serviced", Algo: module.Incremental},
2411
- },
2412
- }
2413
- exchangeOWACurrentUniqueUsersChart = module.Chart{
2414
- OverModule: "exchange",
2415
- ID: "exchange_owa_current_unique_users",
2416
- Title: "Unique users currently logged on to Outlook Web App",
2417
- Units: "users",
2418
- Fam: "owa",
2419
- Ctx: "exchange.owa_current_unique_users",
2420
- Priority: prioExchangeOWACurrentUniqueUsers,
2421
- Dims: module.Dims{
2422
- {ID: "exchange_owa_current_unique_users", Name: "logged-in"},
2423
- },
2424
- }
2425
- exchangeOWARequestsChart = module.Chart{
2426
- OverModule: "exchange",
2427
- ID: "exchange_owa_requests_total",
2428
- Title: "Requests handled by Outlook Web App",
2429
- Units: "requests/s",
2430
- Fam: "owa",
2431
- Ctx: "exchange.owa_requests_total",
2432
- Priority: prioExchangeOWARequestsTotal,
2433
- Dims: module.Dims{
2434
- {ID: "exchange_owa_requests_total", Name: "handled", Algo: module.Incremental},
2435
- },
2436
- }
2437
- exchangeRPCActiveUsersCountChart = module.Chart{
2438
- OverModule: "exchange",
2439
- ID: "exchange_rpc_active_user",
2440
- Title: "Active unique users in the last 2 minutes",
2441
- Units: "users",
2442
- Fam: "rpc",
2443
- Ctx: "exchange.rpc_active_user_count",
2444
- Priority: prioExchangeRPCActiveUserCount,
2445
- Dims: module.Dims{
2446
- {ID: "exchange_rpc_active_user_count", Name: "active"},
2447
- },
2448
- }
2449
- exchangeRPCAvgLatencyChart = module.Chart{
2450
- OverModule: "exchange",
2451
- ID: "exchange_rpc_avg_latency",
2452
- Title: "Average latency",
2453
- Units: "seconds",
2454
- Fam: "rpc",
2455
- Ctx: "exchange.rpc_avg_latency",
2456
- Priority: prioExchangeRPCAvgLatency,
2457
- Dims: module.Dims{
2458
- {ID: "exchange_rpc_avg_latency_sec", Name: "latency", Div: precision},
2459
- },
2460
- }
2461
- exchangeRPCConnectionChart = module.Chart{
2462
- OverModule: "exchange",
2463
- ID: "exchange_rpc_connection",
2464
- Title: "Client connections",
2465
- Units: "connections",
2466
- Fam: "rpc",
2467
- Ctx: "exchange.rpc_connection_count",
2468
- Priority: prioExchangeRPCConnectionCount,
2469
- Dims: module.Dims{
2470
- {ID: "exchange_rpc_connection_count", Name: "connections"},
2471
- },
2472
- }
2473
- exchangeRPCOperationsChart = module.Chart{
2474
- OverModule: "exchange",
2475
- ID: "exchange_rpc_operations",
2476
- Title: "RPC operations",
2477
- Units: "operations/s",
2478
- Fam: "rpc",
2479
- Ctx: "exchange.rpc_operations",
2480
- Priority: prioExchangeRPCOperationsTotal,
2481
- Dims: module.Dims{
2482
- {ID: "exchange_rpc_operations_total", Name: "operations", Algo: module.Incremental},
2483
- },
2484
- }
2485
- exchangeRPCRequestsChart = module.Chart{
2486
- OverModule: "exchange",
2487
- ID: "exchange_rpc_requests_total",
2488
- Title: "Clients requests currently being processed",
2489
- Units: "requests",
2490
- Fam: "rpc",
2491
- Ctx: "exchange.rpc_requests",
2492
- Priority: prioExchangeRPCRequests,
2493
- Dims: module.Dims{
2494
- {ID: "exchange_rpc_requests", Name: "processed"},
2495
- },
2496
- }
2497
- exchangeRPCUserChart = module.Chart{
2498
- OverModule: "exchange",
2499
- ID: "exchange_rpc_user",
2500
- Title: "RPC users",
2501
- Units: "users",
2502
- Fam: "rpc",
2503
- Ctx: "exchange.rpc_user_count",
2504
- Priority: prioExchangeRpcUserCount,
2505
- Dims: module.Dims{
2506
- {ID: "exchange_rpc_user_count", Name: "users"},
2507
- },
2508
- }
2509
-
2510
- // Source: https://learn.microsoft.com/en-us/exchange/mail-flow/queues/queues?view=exchserver-2019
2511
- exchangeTransportQueuesActiveMailBoxDelivery = module.Chart{
2512
- OverModule: "exchange",
2513
- ID: "exchange_transport_queues_active_mailbox_delivery",
2514
- Title: "Active Mailbox Delivery Queue length",
2515
- Units: "messages",
2516
- Fam: "queue",
2517
- Ctx: "exchange.transport_queues_active_mail_box_delivery",
2518
- Priority: prioExchangeTransportQueuesActiveMailboxDelivery,
2519
- Dims: module.Dims{
2520
- {ID: "exchange_transport_queues_active_mailbox_delivery_low_priority", Name: "low"},
2521
- {ID: "exchange_transport_queues_active_mailbox_delivery_high_priority", Name: "high"},
2522
- {ID: "exchange_transport_queues_active_mailbox_delivery_none_priority", Name: "none"},
2523
- {ID: "exchange_transport_queues_active_mailbox_delivery_normal_priority", Name: "normal"},
2524
- },
2525
- }
2526
- exchangeTransportQueuesExternalActiveRemoteDelivery = module.Chart{
2527
- OverModule: "exchange",
2528
- ID: "exchange_transport_queues_external_active_remote_delivery",
2529
- Title: "External Active Remote Delivery Queue length",
2530
- Units: "messages",
2531
- Fam: "queue",
2532
- Ctx: "exchange.transport_queues_external_active_remote_delivery",
2533
- Priority: prioExchangeTransportQueuesExternalActiveRemoteDelivery,
2534
- Dims: module.Dims{
2535
- {ID: "exchange_transport_queues_external_active_remote_delivery_low_priority", Name: "low"},
2536
- {ID: "exchange_transport_queues_external_active_remote_delivery_high_priority", Name: "high"},
2537
- {ID: "exchange_transport_queues_external_active_remote_delivery_none_priority", Name: "none"},
2538
- {ID: "exchange_transport_queues_external_active_remote_delivery_normal_priority", Name: "normal"},
2539
- },
2540
- }
2541
- exchangeTransportQueuesExternalLargestDelivery = module.Chart{
2542
- OverModule: "exchange",
2543
- ID: "exchange_transport_queues_external_largest_delivery",
2544
- Title: "External Largest Delivery Queue length",
2545
- Units: "messages",
2546
- Fam: "queue",
2547
- Ctx: "exchange.transport_queues_external_largest_delivery",
2548
- Priority: prioExchangeTransportQueuesExternalLargestDelivery,
2549
- Dims: module.Dims{
2550
- {ID: "exchange_transport_queues_external_largest_delivery_low_priority", Name: "low"},
2551
- {ID: "exchange_transport_queues_external_largest_delivery_high_priority", Name: "high"},
2552
- {ID: "exchange_transport_queues_external_largest_delivery_none_priority", Name: "none"},
2553
- {ID: "exchange_transport_queues_external_largest_delivery_normal_priority", Name: "normal"},
2554
- },
2555
- }
2556
- exchangeTransportQueuesInternalActiveRemoteDelivery = module.Chart{
2557
- OverModule: "exchange",
2558
- ID: "exchange_transport_queues_internal_active_remote_delivery",
2559
- Title: "Internal Active Remote Delivery Queue length",
2560
- Units: "messages",
2561
- Fam: "queue",
2562
- Ctx: "exchange.transport_queues_internal_active_remote_delivery",
2563
- Priority: prioExchangeTransportQueuesInternalActiveRemoteDeliery,
2564
- Dims: module.Dims{
2565
- {ID: "exchange_transport_queues_internal_active_remote_delivery_low_priority", Name: "low"},
2566
- {ID: "exchange_transport_queues_internal_active_remote_delivery_high_priority", Name: "high"},
2567
- {ID: "exchange_transport_queues_internal_active_remote_delivery_none_priority", Name: "none"},
2568
- {ID: "exchange_transport_queues_internal_active_remote_delivery_normal_priority", Name: "normal"},
2569
- },
2570
- }
2571
- exchangeTransportQueuesInternalLargestDelivery = module.Chart{
2572
- OverModule: "exchange",
2573
- ID: "exchange_transport_queues_internal_largest_delivery",
2574
- Title: "Internal Largest Delivery Queue length",
2575
- Units: "messages",
2576
- Fam: "queue",
2577
- Ctx: "exchange.transport_queues_internal_largest_delivery",
2578
- Priority: prioExchangeTransportQueuesInternalLargestDelivery,
2579
- Dims: module.Dims{
2580
- {ID: "exchange_transport_queues_internal_largest_delivery_low_priority", Name: "low"},
2581
- {ID: "exchange_transport_queues_internal_largest_delivery_high_priority", Name: "high"},
2582
- {ID: "exchange_transport_queues_internal_largest_delivery_none_priority", Name: "none"},
2583
- {ID: "exchange_transport_queues_internal_largest_delivery_normal_priority", Name: "normal"},
2584
- },
2585
- }
2586
- exchangeTransportQueuesRetryMailboxDelivery = module.Chart{
2587
- OverModule: "exchange",
2588
- ID: "exchange_transport_queues_retry_mailbox_delivery",
2589
- Title: "Internal Active Remote Delivery Queue length",
2590
- Units: "messages",
2591
- Fam: "queue",
2592
- Ctx: "exchange.transport_queues_retry_mailbox_delivery",
2593
- Priority: prioExchangeTransportQueuesRetryMailboxDelivery,
2594
- Dims: module.Dims{
2595
- {ID: "exchange_transport_queues_retry_mailbox_delivery_low_priority", Name: "low"},
2596
- {ID: "exchange_transport_queues_retry_mailbox_delivery_high_priority", Name: "high"},
2597
- {ID: "exchange_transport_queues_retry_mailbox_delivery_none_priority", Name: "none"},
2598
- {ID: "exchange_transport_queues_retry_mailbox_delivery_normal_priority", Name: "normal"},
2599
- },
2600
- }
2601
- exchangeTransportQueuesUnreachable = module.Chart{
2602
- OverModule: "exchange",
2603
- ID: "exchange_transport_queues_unreachable",
2604
- Title: "Unreachable Queue length",
2605
- Units: "messages",
2606
- Fam: "queue",
2607
- Ctx: "exchange.transport_queues_unreachable",
2608
- Priority: prioExchangeTransportQueuesUnreachable,
2609
- Dims: module.Dims{
2610
- {ID: "exchange_transport_queues_unreachable_low_priority", Name: "low"},
2611
- {ID: "exchange_transport_queues_unreachable_high_priority", Name: "high"},
2612
- {ID: "exchange_transport_queues_unreachable_none_priority", Name: "none"},
2613
- {ID: "exchange_transport_queues_unreachable_normal_priority", Name: "normal"},
2614
- },
2615
- }
2616
- exchangeTransportQueuesPoison = module.Chart{
2617
- OverModule: "exchange",
2618
- ID: "exchange_transport_queues_poison",
2619
- Title: "Poison Queue Length",
2620
- Units: "messages/s",
2621
- Fam: "queue",
2622
- Ctx: "exchange.transport_queues_poison",
2623
- Priority: prioExchangeTransportQueuesPoison,
2624
- Dims: module.Dims{
2625
- {ID: "exchange_transport_queues_poison_high_priority", Name: "high"},
2626
- {ID: "exchange_transport_queues_poison_low_priority", Name: "low"},
2627
- {ID: "exchange_transport_queues_poison_none_priority", Name: "none"},
2628
- {ID: "exchange_transport_queues_poison_normal_priority", Name: "normal"},
2629
- },
2630
- }
2631
-
2632
- exchangeWorkloadActiveTasks = module.Chart{
2633
- OverModule: "exchange",
2634
- ID: "exchange_workload_%s_tasks",
2635
- Title: "Workload active tasks",
2636
- Units: "tasks",
2637
- Fam: "workload",
2638
- Ctx: "exchange.workload_active_tasks",
2639
- Priority: prioExchangeWorkloadActiveTasks,
2640
- Dims: module.Dims{
2641
- {ID: "exchange_workload_%s_active_tasks", Name: "active"},
2642
- },
2643
- }
2644
- exchangeWorkloadCompletedTasks = module.Chart{
2645
- OverModule: "exchange",
2646
- ID: "exchange_workload_%s_completed_tasks",
2647
- Title: "Workload completed tasks",
2648
- Units: "tasks/s",
2649
- Fam: "workload",
2650
- Ctx: "exchange.workload_completed_tasks",
2651
- Priority: prioExchangeWorkloadCompleteTasks,
2652
- Dims: module.Dims{
2653
- {ID: "exchange_workload_%s_completed_tasks", Name: "completed", Algo: module.Incremental},
2654
- },
2655
- }
2656
- exchangeWorkloadQueuedTasks = module.Chart{
2657
- OverModule: "exchange",
2658
- ID: "exchange_workload_%s_queued_tasks",
2659
- Title: "Workload queued tasks",
2660
- Units: "tasks/s",
2661
- Fam: "workload",
2662
- Ctx: "exchange.workload_queued_tasks",
2663
- Priority: prioExchangeWorkloadQueueTasks,
2664
- Dims: module.Dims{
2665
- {ID: "exchange_workload_%s_queued_tasks", Name: "queued", Algo: module.Incremental},
2666
- },
2667
- }
2668
- exchangeWorkloadYieldedTasks = module.Chart{
2669
- OverModule: "exchange",
2670
- ID: "exchange_workload_%s_yielded_tasks",
2671
- Title: "Workload yielded tasks",
2672
- Units: "tasks/s",
2673
- Fam: "workload",
2674
- Ctx: "exchange.workload_yielded_tasks",
2675
- Priority: prioExchangeWorkloadYieldedTasks,
2676
- Dims: module.Dims{
2677
- {ID: "exchange_workload_%s_yielded_tasks", Name: "yielded", Algo: module.Incremental},
2678
- },
2679
- }
2680
- exchangeWorkloadActivityStatus = module.Chart{
2681
- OverModule: "exchange",
2682
- ID: "exchange_workload_%s_activity_status",
2683
- Title: "Workload activity status",
2684
- Units: "status",
2685
- Fam: "workload",
2686
- Ctx: "exchange.workload_activity_status",
2687
- Priority: prioExchangeWorkloadActivityStatus,
2688
- Dims: module.Dims{
2689
- {ID: "exchange_workload_%s_is_active", Name: "active"},
2690
- {ID: "exchange_workload_%s_is_paused", Name: "paused"},
2691
- },
2692
- }
2693
-
2694
- exchangeLDAPLongRunningOPS = module.Chart{
2695
- OverModule: "exchange",
2696
- ID: "exchange_ldap_%s_long_running_ops",
2697
- Title: "Long Running LDAP operations",
2698
- Units: "operations/s",
2699
- Fam: "ldap",
2700
- Ctx: "exchange.ldap_long_running_ops_per_sec",
2701
- Priority: prioExchangeLDAPLongRunningOPS,
2702
- Dims: module.Dims{
2703
- {ID: "exchange_ldap_%s_long_running_ops_per_sec", Name: "long-running", Algo: module.Incremental},
2704
- },
2705
- }
2706
- exchangeLDAPReadTime = module.Chart{
2707
- OverModule: "exchange",
2708
- ID: "exchange_ldap_%s_read_time",
2709
- Title: "Time to send an LDAP read request and receive a response",
2710
- Units: "seconds",
2711
- Fam: "ldap",
2712
- Ctx: "exchange.ldap_read_time",
2713
- Priority: prioExchangeLDAPReadTime,
2714
- Dims: module.Dims{
2715
- {ID: "exchange_ldap_%s_read_time_sec", Name: "read", Algo: module.Incremental, Div: precision},
2716
- },
2717
- }
2718
- exchangeLDAPSearchTime = module.Chart{
2719
- OverModule: "exchange",
2720
- ID: "exchange_ldap_%s_search_time",
2721
- Title: "Time to send an LDAP search request and receive a response",
2722
- Units: "seconds",
2723
- Fam: "ldap",
2724
- Ctx: "exchange.ldap_search_time",
2725
- Priority: prioExchangeLDAPSearchTime,
2726
- Dims: module.Dims{
2727
- {ID: "exchange_ldap_%s_search_time_sec", Name: "search", Algo: module.Incremental, Div: precision},
2728
- },
2729
- }
2730
- exchangeLDAPWriteTime = module.Chart{
2731
- OverModule: "exchange",
2732
- ID: "exchange_ldap_%s_write_time",
2733
- Title: "Time to send an LDAP search request and receive a response",
2734
- Units: "second",
2735
- Fam: "ldap",
2736
- Ctx: "exchange.ldap_write_time",
2737
- Priority: prioExchangeLDAPWriteTime,
2738
- Dims: module.Dims{
2739
- {ID: "exchange_ldap_%s_write_time_sec", Name: "write", Algo: module.Incremental, Div: precision},
2740
- },
2741
- }
2742
- exchangeLDAPTimeoutErrors = module.Chart{
2743
- OverModule: "exchange",
2744
- ID: "exchange_ldap_%s_timeout_errors",
2745
- Title: "LDAP timeout errors",
2746
- Units: "errors/s",
2747
- Fam: "ldap",
2748
- Ctx: "exchange.ldap_timeout_errors",
2749
- Priority: prioExchangeLDAPTimeoutErrors,
2750
- Dims: module.Dims{
2751
- {ID: "exchange_ldap_%s_timeout_errors_total", Name: "timeout", Algo: module.Incremental},
2752
- },
2753
- }
2754
-
2755
- exchangeProxyAvgAuthLatency = module.Chart{
2756
- OverModule: "exchange",
2757
- ID: "exchange_proxy_%s_avg_auth_latency",
2758
- Title: "Average time spent authenticating CAS",
2759
- Units: "seconds",
2760
- Fam: "proxy",
2761
- Ctx: "exchange.http_proxy_avg_auth_latency",
2762
- Priority: prioExchangeHTTPProxyAVGAuthLatency,
2763
- Dims: module.Dims{
2764
- {ID: "exchange_http_proxy_%s_avg_auth_latency", Name: "latency"},
2765
- },
2766
- }
2767
- exchangeProxyAvgCasProcessingLatencySec = module.Chart{
2768
- OverModule: "exchange",
2769
- ID: "exchange_proxy_%s_avg_cas_processing_latency_sec",
2770
- Title: "Average time spent authenticating CAS",
2771
- Units: "seconds",
2772
- Fam: "proxy",
2773
- Ctx: "exchange.http_proxy_avg_cas_processing_latency_sec",
2774
- Priority: prioExchangeHTTPProxyAVGCASProcessingLatency,
2775
- Dims: module.Dims{
2776
- {ID: "exchange_http_proxy_%s_avg_cas_proccessing_latency_sec", Name: "latency"},
2777
- },
2778
- }
2779
- exchangeProxyMailboxProxyFailureRace = module.Chart{
2780
- OverModule: "exchange",
2781
- ID: "exchange_proxy_%s_mailbox_proxy_failure_rate",
2782
- Title: "Percentage of failures between this CAS and MBX servers",
2783
- Units: "percentage",
2784
- Fam: "proxy",
2785
- Ctx: "exchange.http_proxy_mailbox_proxy_failure_rate",
2786
- Priority: prioExchangeHTTPProxyMailboxProxyFailureRate,
2787
- Dims: module.Dims{
2788
- {ID: "exchange_http_proxy_%s_mailbox_proxy_failure_rate", Name: "failures", Div: precision},
2789
- },
2790
- }
2791
- exchangeProxyMailboxServerLocatorAvgLatencySec = module.Chart{
2792
- OverModule: "exchange",
2793
- ID: "exchange_proxy_%s_mailbox_server_locator_avg_latency_sec",
2794
- Title: "Average latency of MailboxServerLocator web service calls",
2795
- Units: "seconds",
2796
- Fam: "proxy",
2797
- Ctx: "exchange.http_proxy_mailbox_server_locator_avg_latency_sec",
2798
- Priority: prioExchangeHTTPProxyServerLocatorAvgLatency,
2799
- Dims: module.Dims{
2800
- {ID: "exchange_http_proxy_%s_mailbox_server_locator_avg_latency_sec", Name: "latency", Div: precision},
2801
- },
2802
- }
2803
- exchangeProxyOutstandingProxyRequests = module.Chart{
2804
- OverModule: "exchange",
2805
- ID: "exchange_proxy_%s_outstanding_proxy_requests",
2806
- Title: "Concurrent outstanding proxy requests",
2807
- Units: "requests",
2808
- Fam: "proxy",
2809
- Ctx: "exchange.http_proxy_outstanding_proxy_requests",
2810
- Priority: prioExchangeHTTPProxyOutstandingProxyRequests,
2811
- Dims: module.Dims{
2812
- {ID: "exchange_http_proxy_%s_outstanding_proxy_requests", Name: "outstanding"},
2813
- },
2814
- }
2815
- exchangeProxyRequestsTotal = module.Chart{
2816
- OverModule: "exchange",
2817
- ID: "exchange_proxy_%s_requests_total",
2818
- Title: "Number of proxy requests processed each second",
2819
- Units: "requests/s",
2820
- Fam: "proxy",
2821
- Ctx: "exchange.http_proxy_requests",
2822
- Priority: prioExchangeHTTPProxyRequestsTotal,
2823
- Dims: module.Dims{
2824
- {ID: "exchange_http_proxy_%s_requests_total", Name: "processed", Algo: module.Incremental},
2825
- },
2826
- }
2827
-)
2828
-
2829
-// Logon
2830
-var (
2831
- logonCharts = module.Charts{
2832
- logonSessionsChart.Copy(),
2833
- }
2834
- logonSessionsChart = module.Chart{
2835
- ID: "logon_active_sessions_by_type",
2836
- Title: "Active User Logon Sessions By Type",
2837
- Units: "sessions",
2838
- Fam: "logon",
2839
- Ctx: "windows.logon_type_sessions",
2840
- Type: module.Stacked,
2841
- Priority: prioLogonSessions,
2842
- Dims: module.Dims{
2843
- {ID: "logon_type_system_sessions", Name: "system"},
2844
- {ID: "logon_type_proxy_sessions", Name: "proxy"},
2845
- {ID: "logon_type_network_sessions", Name: "network"},
2846
- {ID: "logon_type_interactive_sessions", Name: "interactive"},
2847
- {ID: "logon_type_batch_sessions", Name: "batch"},
2848
- {ID: "logon_type_service_sessions", Name: "service"},
2849
- {ID: "logon_type_unlock_sessions", Name: "unlock"},
2850
- {ID: "logon_type_network_clear_text_sessions", Name: "network_clear_text"},
2851
- {ID: "logon_type_new_credentials_sessions", Name: "new_credentials"},
2852
- {ID: "logon_type_remote_interactive_sessions", Name: "remote_interactive"},
2853
- {ID: "logon_type_cached_interactive_sessions", Name: "cached_interactive"},
2854
- {ID: "logon_type_cached_remote_interactive_sessions", Name: "cached_remote_interactive"},
2855
- {ID: "logon_type_cached_unlock_sessions", Name: "cached_unlock"},
2856
- },
2857
- }
2858
-)
2859
-
2860
-// Thermal zone
2861
-var (
2862
- thermalzoneChartsTmpl = module.Charts{
2863
- thermalzoneTemperatureChartTmpl.Copy(),
2864
- }
2865
- thermalzoneTemperatureChartTmpl = module.Chart{
2866
- ID: "thermalzone_%s_temperature",
2867
- Title: "Thermal zone temperature",
2868
- Units: "Celsius",
2869
- Fam: "thermalzone",
2870
- Ctx: "windows.thermalzone_temperature",
2871
- Priority: prioThermalzoneTemperature,
2872
- Dims: module.Dims{
2873
- {ID: "thermalzone_%s_temperature", Name: "temperature"},
2874
- },
2875
- }
2876
-)
2877
-
2878
-// Processes
2879
-var (
2880
- processesCharts = module.Charts{
2881
- processesCPUUtilizationTotalChart.Copy(),
2882
- processesMemoryUsageChart.Copy(),
2883
- processesHandlesChart.Copy(),
2884
- processesIOBytesChart.Copy(),
2885
- processesIOOperationsChart.Copy(),
2886
- processesPageFaultsChart.Copy(),
2887
- processesPageFileBytes.Copy(),
2888
- processesThreads.Copy(),
2889
- }
2890
- processesCPUUtilizationTotalChart = module.Chart{
2891
- ID: "processes_cpu_utilization",
2892
- Title: "CPU usage (100% = 1 core)",
2893
- Units: "percentage",
2894
- Fam: "processes",
2895
- Ctx: "windows.processes_cpu_utilization",
2896
- Type: module.Stacked,
2897
- Priority: prioProcessesCPUUtilization,
2898
- }
2899
- processesMemoryUsageChart = module.Chart{
2900
- ID: "processes_memory_usage",
2901
- Title: "Memory usage",
2902
- Units: "bytes",
2903
- Fam: "processes",
2904
- Ctx: "windows.processes_memory_usage",
2905
- Type: module.Stacked,
2906
- Priority: prioProcessesMemoryUsage,
2907
- }
2908
- processesIOBytesChart = module.Chart{
2909
- ID: "processes_io_bytes",
2910
- Title: "Total of IO bytes (read, write, other)",
2911
- Units: "bytes/s",
2912
- Fam: "processes",
2913
- Ctx: "windows.processes_io_bytes",
2914
- Type: module.Stacked,
2915
- Priority: prioProcessesIOBytes,
2916
- }
2917
- processesIOOperationsChart = module.Chart{
2918
- ID: "processes_io_operations",
2919
- Title: "Total of IO events (read, write, other)",
2920
- Units: "operations/s",
2921
- Fam: "processes",
2922
- Ctx: "windows.processes_io_operations",
2923
- Type: module.Stacked,
2924
- Priority: prioProcessesIOOperations,
2925
- }
2926
- processesPageFaultsChart = module.Chart{
2927
- ID: "processes_page_faults",
2928
- Title: "Number of page faults",
2929
- Units: "pgfaults/s",
2930
- Fam: "processes",
2931
- Ctx: "windows.processes_page_faults",
2932
- Type: module.Stacked,
2933
- Priority: prioProcessesPageFaults,
2934
- }
2935
- processesPageFileBytes = module.Chart{
2936
- ID: "processes_page_file_bytes",
2937
- Title: "Bytes used in page file(s)",
2938
- Units: "bytes",
2939
- Fam: "processes",
2940
- Ctx: "windows.processes_file_bytes",
2941
- Type: module.Stacked,
2942
- Priority: prioProcessesPageFileBytes,
2943
- }
2944
- processesThreads = module.Chart{
2945
- ID: "processes_threads",
2946
- Title: "Active threads",
2947
- Units: "threads",
2948
- Fam: "processes",
2949
- Ctx: "windows.processes_threads",
2950
- Type: module.Stacked,
2951
- Priority: prioProcessesThreads,
2952
- }
2953
- processesHandlesChart = module.Chart{
2954
- ID: "processes_handles",
2955
- Title: "Number of handles open",
2956
- Units: "handles",
2957
- Fam: "processes",
2958
- Ctx: "windows.processes_handles",
2959
- Type: module.Stacked,
2960
- Priority: prioProcessesHandles,
2961
- }
2962
-)
2963
-
2964
-// .NET
2965
-var (
2966
- netFrameworkCLRExceptionsChartsTmpl = module.Charts{
2967
- netFrameworkCLRExceptionsThrown.Copy(),
2968
- netFrameworkCLRExceptionsFilters.Copy(),
2969
- netFrameworkCLRExceptionsFinallys.Copy(),
2970
- netFrameworkCLRExceptionsThrowToCatchDepth.Copy(),
2971
- }
2972
-
2973
- netFrameworkCLRInteropChartsTmpl = module.Charts{
2974
- netFrameworkCLRInteropCOMCallableWrapper.Copy(),
2975
- netFrameworkCLRInteropMarshalling.Copy(),
2976
- netFrameworkCLRInteropStubsCreated.Copy(),
2977
- }
2978
-
2979
- netFrameworkCLRJITChartsTmpl = module.Charts{
2980
- netFrameworkCLRJITMethods.Copy(),
2981
- netFrameworkCLRJITTime.Copy(),
2982
- netFrameworkCLRJITStandardFailures.Copy(),
2983
- netFrameworkCLRJITILBytes.Copy(),
2984
- }
2985
-
2986
- netFrameworkCLRLoadingChartsTmpl = module.Charts{
2987
- netFrameworkCLRLoadingLoaderHeapSize.Copy(),
2988
- netFrameworkCLRLoadingAppDomainsLoaded.Copy(),
2989
- netFrameworkCLRLoadingAppDomainsUnloaded.Copy(),
2990
- netFrameworkCLRLoadingAssembliesLoaded.Copy(),
2991
- netFrameworkCLRLoadingClassesLoaded.Copy(),
2992
- netFrameworkCLRLoadingClassLoadFailure.Copy(),
2993
- }
2994
-
2995
- netFrameworkCLRLocksAndThreadsChartsTmpl = module.Charts{
2996
- netFrameworkCLRLockAndThreadsQueueLength.Copy(),
2997
- netFrameworkCLRLockAndThreadsCurrentLogicalThreads.Copy(),
2998
- netFrameworkCLRLockAndThreadsCurrentPhysicalThreads.Copy(),
2999
- netFrameworkCLRLockAndThreadsRecognizedThreads.Copy(),
3000
- netFrameworkCLRLockAndThreadsContentions.Copy(),
3001
- }
3002
-
3003
- netFrameworkCLRMemoryChartsTmpl = module.Charts{
3004
- netFrameworkCLRMemoryAllocatedBytes.Copy(),
3005
- netFrameworkCLRMemoryFinalizationSurvivors.Copy(),
3006
- netFrameworkCLRMemoryHeapSize.Copy(),
3007
- netFrameworkCLRMemoryPromoted.Copy(),
3008
- netFrameworkCLRMemoryNumberGCHandles.Copy(),
3009
- netFrameworkCLRMemoryCollections.Copy(),
3010
- netFrameworkCLRMemoryInducedGC.Copy(),
3011
- netFrameworkCLRMemoryNumberPinnedObjects.Copy(),
3012
- netFrameworkCLRMemoryNumberSinkBlocksInUse.Copy(),
3013
- netFrameworkCLRMemoryCommitted.Copy(),
3014
- netFrameworkCLRMemoryReserved.Copy(),
3015
- netFrameworkCLRMemoryGCTime.Copy(),
3016
- }
3017
-
3018
- netFrameworkCLRRemotingChartsTmpl = module.Charts{
3019
- netFrameworkCLRRemotingChannels.Copy(),
3020
- netFrameworkCLRRemotingContextBoundClassesLoaded.Copy(),
3021
- netFrameworkCLRRemotingContextBoundObjects.Copy(),
3022
- netFrameworkCLRRemotingContextProxies.Copy(),
3023
- netFrameworkCLRRemotingContexts.Copy(),
3024
- netFrameworkCLRRemotingCalls.Copy(),
3025
- }
3026
-
3027
- netFrameworkCLRSecurityChartsTmpl = module.Charts{
3028
- netFrameworkCLRSecurityLinkTimeChecks.Copy(),
3029
- netFrameworkCLRSecurityChecksTime.Copy(),
3030
- netFrameworkCLRSecurityStackWalkDepth.Copy(),
3031
- netFrameworkCLRSecurityRuntimeChecks.Copy(),
3032
- }
3033
-
3034
- // Exceptions
3035
- netFrameworkCLRExceptionsThrown = module.Chart{
3036
- OverModule: "netframework",
3037
- ID: "netframework_%s_clrexception_thrown",
3038
- Title: "Thrown exceptions",
3039
- Units: "exceptions/s",
3040
- Fam: "exceptions",
3041
- Ctx: "netframework.clrexception_thrown",
3042
- Priority: prioNETFrameworkCLRExceptionsThrown,
3043
- Dims: module.Dims{
3044
- {ID: "netframework_%s_clrexception_thrown_total", Name: "exceptions", Algo: module.Incremental},
3045
- },
3046
- }
3047
- netFrameworkCLRExceptionsFilters = module.Chart{
3048
- OverModule: "netframework",
3049
- ID: "netframework_%s_clrexception_filters",
3050
- Title: "Executed exception filters",
3051
- Units: "filters/s",
3052
- Fam: "exceptions",
3053
- Ctx: "netframework.clrexception_filters",
3054
- Priority: prioNETFrameworkCLRExceptionsFilters,
3055
- Dims: module.Dims{
3056
- {ID: "netframework_%s_clrexception_filters_total", Name: "filters", Algo: module.Incremental},
3057
- },
3058
- }
3059
- netFrameworkCLRExceptionsFinallys = module.Chart{
3060
- OverModule: "netframework",
3061
- ID: "netframework_%s_clrexception_finallys",
3062
- Title: "Executed finally blocks",
3063
- Units: "finallys/s",
3064
- Fam: "exceptions",
3065
- Ctx: "netframework.clrexception_finallys",
3066
- Priority: prioNETFrameworkCLRExceptionsFinallys,
3067
- Dims: module.Dims{
3068
- {ID: "netframework_%s_clrexception_finallys_total", Name: "finallys", Algo: module.Incremental},
3069
- },
3070
- }
3071
- netFrameworkCLRExceptionsThrowToCatchDepth = module.Chart{
3072
- OverModule: "netframework",
3073
- ID: "netframework_%s_clrexception_throw_to_catch_depth",
3074
- Title: "Traversed stack frames",
3075
- Units: "stack_frames/s",
3076
- Fam: "exceptions",
3077
- Ctx: "netframework.clrexception_throw_to_catch_depth",
3078
- Priority: prioNETFrameworkCLRExceptionsThrowToCatchDepth,
3079
- Dims: module.Dims{
3080
- {ID: "netframework_%s_clrexception_throw_to_catch_depth_total", Name: "traversed", Algo: module.Incremental},
3081
- },
3082
- }
3083
-
3084
- // Interop
3085
- netFrameworkCLRInteropCOMCallableWrapper = module.Chart{
3086
- OverModule: "netframework",
3087
- ID: "netframework_%s_clrinterop_com_callable_wrappers",
3088
- Title: "COM callable wrappers (CCW)",
3089
- Units: "ccw/s",
3090
- Fam: "interop",
3091
- Ctx: "netframework.clrinterop_com_callable_wrappers",
3092
- Priority: prioNETFrameworkCLRInteropCOMCallableWrappers,
3093
- Dims: module.Dims{
3094
- {ID: "netframework_%s_clrinterop_com_callable_wrappers_total", Name: "com_callable_wrappers", Algo: module.Incremental},
3095
- },
3096
- }
3097
- netFrameworkCLRInteropMarshalling = module.Chart{
3098
- OverModule: "netframework",
3099
- ID: "netframework_%s_clrinterop_interop_marshalling",
3100
- Title: "Arguments and return values marshallings",
3101
- Units: "marshalling/s",
3102
- Fam: "interop",
3103
- Ctx: "netframework.clrinterop_interop_marshallings",
3104
- Priority: prioNETFrameworkCLRInteropMarshalling,
3105
- Dims: module.Dims{
3106
- {ID: "netframework_%s_clrinterop_interop_marshalling_total", Name: "marshallings", Algo: module.Incremental},
3107
- },
3108
- }
3109
- netFrameworkCLRInteropStubsCreated = module.Chart{
3110
- OverModule: "netframework",
3111
- ID: "netframework_%s_clrinterop_interop_stubs_created",
3112
- Title: "Created stubs",
3113
- Units: "stubs/s",
3114
- Fam: "interop",
3115
- Ctx: "netframework.clrinterop_interop_stubs_created",
3116
- Priority: prioNETFrameworkCLRInteropStubsCreated,
3117
- Dims: module.Dims{
3118
- {ID: "netframework_%s_clrinterop_interop_stubs_created_total", Name: "created", Algo: module.Incremental},
3119
- },
3120
- }
3121
-
3122
- // JIT
3123
- netFrameworkCLRJITMethods = module.Chart{
3124
- OverModule: "netframework",
3125
- ID: "netframework_%s_clrjit_methods",
3126
- Title: "JIT-compiled methods",
3127
- Units: "methods/s",
3128
- Fam: "jit",
3129
- Ctx: "netframework.clrjit_methods",
3130
- Priority: prioNETFrameworkCLRJITMethods,
3131
- Dims: module.Dims{
3132
- {ID: "netframework_%s_clrjit_methods_total", Name: "jit-compiled", Algo: module.Incremental},
3133
- },
3134
- }
3135
- netFrameworkCLRJITTime = module.Chart{
3136
- OverModule: "netframework",
3137
- ID: "netframework_%s_clrjit_time",
3138
- Title: "Time spent in JIT compilation",
3139
- Units: "percentage",
3140
- Fam: "jit",
3141
- Ctx: "netframework.clrjit_time",
3142
- Priority: prioNETFrameworkCLRJITTime,
3143
- Dims: module.Dims{
3144
- {ID: "netframework_%s_clrjit_time_percent", Name: "time"},
3145
- },
3146
- }
3147
- netFrameworkCLRJITStandardFailures = module.Chart{
3148
- OverModule: "netframework",
3149
- ID: "netframework_%s_clrjit_standard_failures",
3150
- Title: "JIT compiler failures",
3151
- Units: "failures/s",
3152
- Fam: "jit",
3153
- Ctx: "netframework.clrjit_standard_failures",
3154
- Priority: prioNETFrameworkCLRJITStandardFailures,
3155
- Dims: module.Dims{
3156
- {ID: "netframework_%s_clrjit_standard_failures_total", Name: "failures", Algo: module.Incremental},
3157
- },
3158
- }
3159
- netFrameworkCLRJITILBytes = module.Chart{
3160
- OverModule: "netframework",
3161
- ID: "netframework_%s_clrjit_il_bytes",
3162
- Title: "Compiled Microsoft intermediate language (MSIL) bytes",
3163
- Units: "bytes/s",
3164
- Fam: "jit",
3165
- Ctx: "netframework.clrjit_il_bytes",
3166
- Priority: prioNETFrameworkCLRJITILBytes,
3167
- Dims: module.Dims{
3168
- {ID: "netframework_%s_clrjit_il_bytes_total", Name: "compiled_msil", Algo: module.Incremental},
3169
- },
3170
- }
3171
-
3172
- // Loading
3173
- netFrameworkCLRLoadingLoaderHeapSize = module.Chart{
3174
- OverModule: "netframework",
3175
- ID: "netframework_%s_clrloading_loader_heap_size",
3176
- Title: "Memory committed by class loader",
3177
- Units: "bytes",
3178
- Fam: "loading",
3179
- Ctx: "netframework.clrloading_loader_heap_size",
3180
- Priority: prioNETFrameworkCLRLoadingLoaderHeapSize,
3181
- Dims: module.Dims{
3182
- {ID: "netframework_%s_clrloading_loader_heap_size_bytes", Name: "committed"},
3183
- },
3184
- }
3185
- netFrameworkCLRLoadingAppDomainsLoaded = module.Chart{
3186
- OverModule: "netframework",
3187
- ID: "netframework_%s_clrloading_appdomains_loaded",
3188
- Title: "Loaded application domains",
3189
- Units: "domain/s",
3190
- Fam: "loading",
3191
- Ctx: "netframework.clrloading_appdomains_loaded",
3192
- Priority: prioNETFrameworkCLRLoadingAppDomainsLoaded,
3193
- Dims: module.Dims{
3194
- {ID: "netframework_%s_clrloading_appdomains_loaded_total", Name: "loaded", Algo: module.Incremental},
3195
- },
3196
- }
3197
- netFrameworkCLRLoadingAppDomainsUnloaded = module.Chart{
3198
- OverModule: "netframework",
3199
- ID: "netframework_%s_clrloading_appdomains_unloaded",
3200
- Title: "Unloaded application domains",
3201
- Units: "domain/s",
3202
- Fam: "loading",
3203
- Ctx: "netframework.clrloading_appdomains_unloaded",
3204
- Priority: prioNETFrameworkCLRLoadingAppDomainsUnloaded,
3205
- Dims: module.Dims{
3206
- {ID: "netframework_%s_clrloading_appdomains_unloaded_total", Name: "unloaded", Algo: module.Incremental},
3207
- },
3208
- }
3209
- netFrameworkCLRLoadingAssembliesLoaded = module.Chart{
3210
- OverModule: "netframework",
3211
- ID: "netframework_%s_clrloading_assemblies_loaded",
3212
- Title: "Loaded assemblies",
3213
- Units: "assemblies/s",
3214
- Fam: "loading",
3215
- Ctx: "netframework.clrloading_assemblies_loaded",
3216
- Priority: prioNETFrameworkCLRLoadingAssembliesLoaded,
3217
- Dims: module.Dims{
3218
- {ID: "netframework_%s_clrloading_assemblies_loaded_total", Name: "loaded", Algo: module.Incremental},
3219
- },
3220
- }
3221
- netFrameworkCLRLoadingClassesLoaded = module.Chart{
3222
- OverModule: "netframework",
3223
- ID: "netframework_%s_clrloading_classes_loaded",
3224
- Title: "Loaded classes in all assemblies",
3225
- Units: "classes/s",
3226
- Fam: "loading",
3227
- Ctx: "netframework.clrloading_classes_loaded",
3228
- Priority: prioNETFrameworkCLRLoadingClassesLoaded,
3229
- Dims: module.Dims{
3230
- {ID: "netframework_%s_clrloading_classes_loaded_total", Name: "loaded", Algo: module.Incremental},
3231
- },
3232
- }
3233
- netFrameworkCLRLoadingClassLoadFailure = module.Chart{
3234
- OverModule: "netframework",
3235
- ID: "netframework_%s_clrloading_class_load_failure",
3236
- Title: "Class load failures",
3237
- Units: "failures/s",
3238
- Fam: "loading",
3239
- Ctx: "netframework.clrloading_class_load_failures",
3240
- Priority: prioNETFrameworkCLRLoadingClassLoadFailure,
3241
- Dims: module.Dims{
3242
- {ID: "netframework_%s_clrloading_class_load_failures_total", Name: "class_load", Algo: module.Incremental},
3243
- },
3244
- }
3245
-
3246
- // Lock and Threads
3247
- netFrameworkCLRLockAndThreadsQueueLength = module.Chart{
3248
- OverModule: "netframework",
3249
- ID: "netframework_%s_clrlocksandthreads_queue_length",
3250
- Title: "Threads waited to acquire a managed lock",
3251
- Units: "threads/s",
3252
- Fam: "locks threads",
3253
- Ctx: "netframework.clrlocksandthreads_queue_length",
3254
- Priority: prioNETFrameworkCLRLocksAndThreadsQueueLength,
3255
- Dims: module.Dims{
3256
- {ID: "netframework_%s_clrlocksandthreads_queue_length_total", Name: "threads", Algo: module.Incremental},
3257
- },
3258
- }
3259
- netFrameworkCLRLockAndThreadsCurrentLogicalThreads = module.Chart{
3260
- OverModule: "netframework",
3261
- ID: "netframework_%s_clrlocksandthreads_current_logical_threads",
3262
- Title: "Logical threads",
3263
- Units: "threads",
3264
- Fam: "locks threads",
3265
- Ctx: "netframework.clrlocksandthreads_current_logical_threads",
3266
- Priority: prioNETFrameworkCLRLocksAndThreadsCurrentLogicalThreads,
3267
- Dims: module.Dims{
3268
- {ID: "netframework_%s_clrlocksandthreads_current_logical_threads", Name: "logical"},
3269
- },
3270
- }
3271
- netFrameworkCLRLockAndThreadsCurrentPhysicalThreads = module.Chart{
3272
- OverModule: "netframework",
3273
- ID: "netframework_%s_clrlocksandthreads_current_physical_threads",
3274
- Title: "Physical threads",
3275
- Units: "threads",
3276
- Fam: "locks threads",
3277
- Ctx: "netframework.clrlocksandthreads_current_physical_threads",
3278
- Priority: prioNETFrameworkCLRLocksAndThreadsCurrentPhysicalThreads,
3279
- Dims: module.Dims{
3280
- {ID: "netframework_%s_clrlocksandthreads_physical_threads_current", Name: "physical"},
3281
- },
3282
- }
3283
- netFrameworkCLRLockAndThreadsRecognizedThreads = module.Chart{
3284
- OverModule: "netframework",
3285
- ID: "netframework_%s_clrlocksandthreads_recognized_threads",
3286
- Title: "Threads recognized by the runtime",
3287
- Units: "threads/s",
3288
- Fam: "locks threads",
3289
- Ctx: "netframework.clrlocksandthreads_recognized_threads",
3290
- Priority: prioNETFrameworkCLRLocksAndThreadsRecognizedThreads,
3291
- Dims: module.Dims{
3292
- {ID: "netframework_%s_clrlocksandthreads_recognized_threads_total", Name: "threads", Algo: module.Incremental},
3293
- },
3294
- }
3295
- netFrameworkCLRLockAndThreadsContentions = module.Chart{
3296
- OverModule: "netframework",
3297
- ID: "netframework_%s_clrlocksandthreads_contentions",
3298
- Title: "Fails to acquire a managed lock",
3299
- Units: "contentions/s",
3300
- Fam: "locks threads",
3301
- Ctx: "netframework.clrlocksandthreads_contentions",
3302
- Priority: prioNETFrameworkCLRLocksAndThreadsContentions,
3303
- Dims: module.Dims{
3304
- {ID: "netframework_%s_clrlocksandthreads_contentions_total", Name: "contentions", Algo: module.Incremental},
3305
- },
3306
- }
3307
-
3308
- // Memory
3309
- netFrameworkCLRMemoryAllocatedBytes = module.Chart{
3310
- OverModule: "netframework",
3311
- ID: "netframework_%s_clrmemory_allocated_bytes",
3312
- Title: "Memory allocated on the garbage collection heap",
3313
- Units: "bytes/s",
3314
- Fam: "memory",
3315
- Ctx: "netframework.clrmemory_allocated_bytes",
3316
- Priority: prioNETFrameworkCLRMemoryAllocatedBytes,
3317
- Dims: module.Dims{
3318
- {ID: "netframework_%s_clrmemory_allocated_bytes_total", Name: "allocated", Algo: module.Incremental},
3319
- },
3320
- }
3321
- netFrameworkCLRMemoryFinalizationSurvivors = module.Chart{
3322
- OverModule: "netframework",
3323
- ID: "netframework_%s_clrmemory_finalization_survivors",
3324
- Title: "Objects that survived garbage-collection",
3325
- Units: "objects",
3326
- Fam: "memory",
3327
- Ctx: "netframework.clrmemory_finalization_survivors",
3328
- Priority: prioNETFrameworkCLRMemoryFinalizationSurvivors,
3329
- Dims: module.Dims{
3330
- {ID: "netframework_%s_clrmemory_finalization_survivors", Name: "survived"},
3331
- },
3332
- }
3333
- netFrameworkCLRMemoryHeapSize = module.Chart{
3334
- OverModule: "netframework",
3335
- ID: "netframework_%s_clrmemory_heap_size",
3336
- Title: "Maximum bytes that can be allocated",
3337
- Units: "bytes",
3338
- Fam: "memory",
3339
- Ctx: "netframework.clrmemory_heap_size",
3340
- Priority: prioNETFrameworkCLRMemoryHeapSize,
3341
- Dims: module.Dims{
3342
- {ID: "netframework_%s_clrmemory_heap_size_bytes", Name: "heap"},
3343
- },
3344
- }
3345
- netFrameworkCLRMemoryPromoted = module.Chart{
3346
- OverModule: "netframework",
3347
- ID: "netframework_%s_clrmemory_promoted",
3348
- Title: "Memory promoted to the next generation",
3349
- Units: "bytes",
3350
- Fam: "memory",
3351
- Ctx: "netframework.clrmemory_promoted",
3352
- Priority: prioNETFrameworkCLRMemoryPromoted,
3353
- Dims: module.Dims{
3354
- {ID: "netframework_%s_clrmemory_promoted_bytes", Name: "promoted"},
3355
- },
3356
- }
3357
- netFrameworkCLRMemoryNumberGCHandles = module.Chart{
3358
- OverModule: "netframework",
3359
- ID: "netframework_%s_clrmemory_number_gc_handles",
3360
- Title: "Garbage collection handles",
3361
- Units: "handles",
3362
- Fam: "memory",
3363
- Ctx: "netframework.clrmemory_number_gc_handles",
3364
- Priority: prioNETFrameworkCLRMemoryNumberGCHandles,
3365
- Dims: module.Dims{
3366
- {ID: "netframework_%s_clrmemory_number_gc_handles", Name: "used"},
3367
- },
3368
- }
3369
- netFrameworkCLRMemoryCollections = module.Chart{
3370
- OverModule: "netframework",
3371
- ID: "netframework_%s_clrmemory_collections",
3372
- Title: "Garbage collections",
3373
- Units: "gc/s",
3374
- Fam: "memory",
3375
- Ctx: "netframework.clrmemory_collections",
3376
- Priority: prioNETFrameworkCLRMemoryCollections,
3377
- Dims: module.Dims{
3378
- {ID: "netframework_%s_clrmemory_collections_total", Name: "gc", Algo: module.Incremental},
3379
- },
3380
- }
3381
- netFrameworkCLRMemoryInducedGC = module.Chart{
3382
- OverModule: "netframework",
3383
- ID: "netframework_%s_clrmemory_induced_gc",
3384
- Title: "Garbage collections induced",
3385
- Units: "gc/s",
3386
- Fam: "memory",
3387
- Ctx: "netframework.clrmemory_induced_gc",
3388
- Priority: prioNETFrameworkCLRMemoryInducedGC,
3389
- Dims: module.Dims{
3390
- {ID: "netframework_%s_clrmemory_induced_gc_total", Name: "gc", Algo: module.Incremental},
3391
- },
3392
- }
3393
- netFrameworkCLRMemoryNumberPinnedObjects = module.Chart{
3394
- OverModule: "netframework",
3395
- ID: "netframework_%s_clrmemory_number_pinned_objects",
3396
- Title: "Pinned objects encountered",
3397
- Units: "objects",
3398
- Fam: "memory",
3399
- Ctx: "netframework.clrmemory_number_pinned_objects",
3400
- Priority: prioNETFrameworkCLRMemoryNumberPinnedObjects,
3401
- Dims: module.Dims{
3402
- {ID: "netframework_%s_clrmemory_number_pinned_objects", Name: "pinned"},
3403
- },
3404
- }
3405
- netFrameworkCLRMemoryNumberSinkBlocksInUse = module.Chart{
3406
- OverModule: "netframework",
3407
- ID: "netframework_%s_clrmemory_number_sink_blocks_in_use",
3408
- Title: "Synchronization blocks in use",
3409
- Units: "blocks",
3410
- Fam: "memory",
3411
- Ctx: "netframework.clrmemory_number_sink_blocks_in_use",
3412
- Priority: prioNETFrameworkCLRMemoryNumberSinkBlocksInUse,
3413
- Dims: module.Dims{
3414
- {ID: "netframework_%s_clrmemory_number_sink_blocksinuse", Name: "used"},
3415
- },
3416
- }
3417
- netFrameworkCLRMemoryCommitted = module.Chart{
3418
- OverModule: "netframework",
3419
- ID: "netframework_%s_clrmemory_committed",
3420
- Title: "Virtual memory committed by GC",
3421
- Units: "bytes",
3422
- Fam: "memory",
3423
- Ctx: "netframework.clrmemory_committed",
3424
- Priority: prioNETFrameworkCLRMemoryCommitted,
3425
- Dims: module.Dims{
3426
- {ID: "netframework_%s_clrmemory_committed_bytes", Name: "committed"},
3427
- },
3428
- }
3429
- netFrameworkCLRMemoryReserved = module.Chart{
3430
- OverModule: "netframework",
3431
- ID: "netframework_%s_clrmemory_reserved",
3432
- Title: "Virtual memory reserved by GC",
3433
- Units: "bytes",
3434
- Fam: "memory",
3435
- Ctx: "netframework.clrmemory_reserved",
3436
- Priority: prioNETFrameworkCLRMemoryReserved,
3437
- Dims: module.Dims{
3438
- {ID: "netframework_%s_clrmemory_reserved_bytes", Name: "reserved"},
3439
- },
3440
- }
3441
- netFrameworkCLRMemoryGCTime = module.Chart{
3442
- OverModule: "netframework",
3443
- ID: "netframework_%s_clrmemory_gc_time",
3444
- Title: "Time spent on GC",
3445
- Units: "percentage",
3446
- Fam: "memory",
3447
- Ctx: "netframework.clrmemory_gc_time",
3448
- Priority: prioNETFrameworkCLRMemoryGCTime,
3449
- Dims: module.Dims{
3450
- {ID: "netframework_%s_clrmemory_gc_time_percent", Name: "time"},
3451
- },
3452
- }
3453
-
3454
- // Remoting
3455
- netFrameworkCLRRemotingChannels = module.Chart{
3456
- OverModule: "netframework",
3457
- ID: "netframework_%s_clrremoting_channels",
3458
- Title: "Registered channels",
3459
- Units: "channels/s",
3460
- Fam: "remoting",
3461
- Ctx: "netframework.clrremoting_channels",
3462
- Priority: prioNETFrameworkCLRRemotingChannels,
3463
- Dims: module.Dims{
3464
- {ID: "netframework_%s_clrremoting_channels_total", Name: "registered", Algo: module.Incremental},
3465
- },
3466
- }
3467
- netFrameworkCLRRemotingContextBoundClassesLoaded = module.Chart{
3468
- OverModule: "netframework",
3469
- ID: "netframework_%s_clrremoting_context_bound_classes_loaded",
3470
- Title: "Loaded context-bound classes",
3471
- Units: "classes",
3472
- Fam: "remoting",
3473
- Ctx: "netframework.clrremoting_context_bound_classes_loaded",
3474
- Priority: prioNETFrameworkCLRRemotingContextBoundClassesLoaded,
3475
- Dims: module.Dims{
3476
- {ID: "netframework_%s_clrremoting_context_bound_classes_loaded", Name: "loaded"},
3477
- },
3478
- }
3479
- netFrameworkCLRRemotingContextBoundObjects = module.Chart{
3480
- OverModule: "netframework",
3481
- ID: "netframework_%s_clrremoting_context_bound_objects",
3482
- Title: "Allocated context-bound objects",
3483
- Units: "objects/s",
3484
- Fam: "remoting",
3485
- Ctx: "netframework.clrremoting_context_bound_objects",
3486
- Priority: prioNETFrameworkCLRRemotingContextBoundObjects,
3487
- Dims: module.Dims{
3488
- {ID: "netframework_%s_clrremoting_context_bound_objects_total", Name: "allocated", Algo: module.Incremental},
3489
- },
3490
- }
3491
- netFrameworkCLRRemotingContextProxies = module.Chart{
3492
- OverModule: "netframework",
3493
- ID: "netframework_%s_clrremoting_context_proxies",
3494
- Title: "Remoting proxy objects",
3495
- Units: "objects/s",
3496
- Fam: "remoting",
3497
- Ctx: "netframework.clrremoting_context_proxies",
3498
- Priority: prioNETFrameworkCLRRemotingContextProxies,
3499
- Dims: module.Dims{
3500
- {ID: "netframework_%s_clrremoting_context_proxies_total", Name: "objects", Algo: module.Incremental},
3501
- },
3502
- }
3503
- netFrameworkCLRRemotingContexts = module.Chart{
3504
- OverModule: "netframework",
3505
- ID: "netframework_%s_clrremoting_contexts",
3506
- Title: "Total of remoting contexts",
3507
- Units: "contexts",
3508
- Fam: "remoting",
3509
- Ctx: "netframework.clrremoting_contexts",
3510
- Priority: prioNETFrameworkCLRRemotingContexts,
3511
- Dims: module.Dims{
3512
- {ID: "netframework_%s_clrremoting_contexts", Name: "contexts"},
3513
- },
3514
- }
3515
- netFrameworkCLRRemotingCalls = module.Chart{
3516
- OverModule: "netframework",
3517
- ID: "netframework_%s_clrremoting_calls",
3518
- Title: "Remote Procedure Calls (RPC) invoked",
3519
- Units: "calls/s",
3520
- Fam: "remoting",
3521
- Ctx: "netframework.clrremoting_remote_calls",
3522
- Priority: prioNETFrameworkCLRRemotingRemoteCalls,
3523
- Dims: module.Dims{
3524
- {ID: "netframework_%s_clrremoting_remote_calls_total", Name: "rpc", Algo: module.Incremental},
3525
- },
3526
- }
3527
-
3528
- // Security
3529
- netFrameworkCLRSecurityLinkTimeChecks = module.Chart{
3530
- OverModule: "netframework",
3531
- ID: "netframework_%s_clrsecurity_link_time_checks",
3532
- Title: "Link-time code access security checks",
3533
- Units: "checks/s",
3534
- Fam: "security",
3535
- Ctx: "netframework.clrsecurity_link_time_checks",
3536
- Priority: prioNETFrameworkCLRSecurityLinkTimeChecks,
3537
- Dims: module.Dims{
3538
- {ID: "netframework_%s_clrsecurity_link_time_checks_total", Name: "linktime", Algo: module.Incremental},
3539
- },
3540
- }
3541
- netFrameworkCLRSecurityChecksTime = module.Chart{
3542
- OverModule: "netframework",
3543
- ID: "netframework_%s_clrsecurity_checks_time",
3544
- Title: "Time spent performing runtime code access security checks",
3545
- Units: "percentage",
3546
- Fam: "security",
3547
- Ctx: "netframework.clrsecurity_checks_time",
3548
- Priority: prioNETFrameworkCLRSecurityRTChecksTime,
3549
- Dims: module.Dims{
3550
- {ID: "netframework_%s_clrsecurity_checks_time_percent", Name: "time"},
3551
- },
3552
- }
3553
- netFrameworkCLRSecurityStackWalkDepth = module.Chart{
3554
- OverModule: "netframework",
3555
- ID: "netframework_%s_clrsecurity_stack_walk_depth",
3556
- Title: "Depth of the stack",
3557
- Units: "depth",
3558
- Fam: "security",
3559
- Ctx: "netframework.clrsecurity_stack_walk_depth",
3560
- Priority: prioNETFrameworkCLRSecurityStackWalkDepth,
3561
- Dims: module.Dims{
3562
- {ID: "netframework_%s_clrsecurity_stack_walk_depth", Name: "stack"},
3563
- },
3564
- }
3565
- netFrameworkCLRSecurityRuntimeChecks = module.Chart{
3566
- OverModule: "netframework",
3567
- ID: "netframework_%s_clrsecurity_runtime_checks",
3568
- Title: "Runtime code access security checks performed",
3569
- Units: "checks/s",
3570
- Fam: "security",
3571
- Ctx: "netframework.clrsecurity_runtime_checks",
3572
- Priority: prioNETFrameworkCLRSecurityRuntimeChecks,
3573
- Dims: module.Dims{
3574
- {ID: "netframework_%s_clrsecurity_runtime_checks_total", Name: "runtime", Algo: module.Incremental},
3575
- },
3576
- }
3577
-)
3578
-
3579
-// Service
3580
-var (
3581
- serviceChartsTmpl = module.Charts{
3582
- serviceStateChartTmpl.Copy(),
3583
- serviceStatusChartTmpl.Copy(),
3584
- }
3585
- serviceStateChartTmpl = module.Chart{
3586
- ID: "service_%s_state",
3587
- Title: "Service state",
3588
- Units: "state",
3589
- Fam: "services",
3590
- Ctx: "windows.service_state",
3591
- Priority: prioServiceState,
3592
- Dims: module.Dims{
3593
- {ID: "service_%s_state_running", Name: "running"},
3594
- {ID: "service_%s_state_stopped", Name: "stopped"},
3595
- {ID: "service_%s_state_start_pending", Name: "start_pending"},
3596
- {ID: "service_%s_state_stop_pending", Name: "stop_pending"},
3597
- {ID: "service_%s_state_continue_pending", Name: "continue_pending"},
3598
- {ID: "service_%s_state_pause_pending", Name: "pause_pending"},
3599
- {ID: "service_%s_state_paused", Name: "paused"},
3600
- {ID: "service_%s_state_unknown", Name: "unknown"},
3601
- },
3602
- }
3603
- serviceStatusChartTmpl = module.Chart{
3604
- ID: "service_%s_status",
3605
- Title: "Service status",
3606
- Units: "status",
3607
- Fam: "services",
3608
- Ctx: "windows.service_status",
3609
- Priority: prioServiceStatus,
3610
- Dims: module.Dims{
3611
- {ID: "service_%s_status_ok", Name: "ok"},
3612
- {ID: "service_%s_status_error", Name: "error"},
3613
- {ID: "service_%s_status_unknown", Name: "unknown"},
3614
- {ID: "service_%s_status_degraded", Name: "degraded"},
3615
- {ID: "service_%s_status_pred_fail", Name: "pred_fail"},
3616
- {ID: "service_%s_status_starting", Name: "starting"},
3617
- {ID: "service_%s_status_stopping", Name: "stopping"},
3618
- {ID: "service_%s_status_service", Name: "service"},
3619
- {ID: "service_%s_status_stressed", Name: "stressed"},
3620
- {ID: "service_%s_status_nonrecover", Name: "nonrecover"},
3621
- {ID: "service_%s_status_no_contact", Name: "no_contact"},
3622
- {ID: "service_%s_status_lost_comm", Name: "lost_comm"},
3623
- },
3624
- }
3625
-)
3626
-
3627
-// HyperV
3628
-var (
3629
- hypervChartsTmpl = module.Charts{
3630
- hypervVirtualMachinesHealthChart.Copy(),
3631
- hypervRootPartitionDeviceSpacePagesChart.Copy(),
3632
- hypervRootPartitionGPASpacePagesChart.Copy(),
3633
- hypervRootPartitionGPASpaceModificationsChart.Copy(),
3634
- hypervRootPartitionAttachedDevicesChart.Copy(),
3635
- hypervRootPartitionDepositedPagesChart.Copy(),
3636
- hypervRootPartitionSkippedInterrupts.Copy(),
3637
- hypervRootPartitionDeviceDMAErrorsChart.Copy(),
3638
- hypervRootPartitionDeviceInterruptErrorsChart.Copy(),
3639
- hypervRootPartitionDeviceInterruptThrottledEventsChart.Copy(),
3640
- hypervRootPartitionIOTlbFlushChart.Copy(),
3641
- hypervRootPartitionAddressSpaceChart.Copy(),
3642
- hypervRootPartitionVirtualTlbFlushEntries.Copy(),
3643
- hypervRootPartitionVirtualTlbPages.Copy(),
3644
- }
3645
- hypervVirtualMachinesHealthChart = module.Chart{
3646
- OverModule: "hyperv",
3647
- ID: "health_vm",
3648
- Title: "Virtual machines health status",
3649
- Units: "vms",
3650
- Fam: "vms health",
3651
- Ctx: "hyperv.vms_health",
3652
- Priority: prioHypervVMHealth,
3653
- Type: module.Stacked,
3654
- Dims: module.Dims{
3655
- {ID: "hyperv_health_ok", Name: "ok"},
3656
- {ID: "hyperv_health_critical", Name: "critical"},
3657
- },
3658
- }
3659
- hypervRootPartitionDeviceSpacePagesChart = module.Chart{
3660
- OverModule: "hyperv",
3661
- ID: "root_partition_device_space_pages",
3662
- Title: "Root partition pages in the device space",
3663
- Units: "pages",
3664
- Fam: "root partition",
3665
- Ctx: "hyperv.root_partition_device_space_pages",
3666
- Priority: prioHypervRootPartitionDeviceSpacePages,
3667
- Dims: module.Dims{
3668
- {ID: "hyperv_root_partition_4K_device_pages", Name: "4K"},
3669
- {ID: "hyperv_root_partition_2M_device_pages", Name: "2M"},
3670
- {ID: "hyperv_root_partition_1G_device_pages", Name: "1G"},
3671
- },
3672
- }
3673
- hypervRootPartitionGPASpacePagesChart = module.Chart{
3674
- OverModule: "hyperv",
3675
- ID: "root_partition_gpa_space_pages",
3676
- Title: "Root partition pages in the GPA space",
3677
- Units: "pages",
3678
- Fam: "root partition",
3679
- Ctx: "windows.hyperv_root_partition_gpa_space_pages",
3680
- Priority: prioHypervRootPartitionGPASpacePages,
3681
- Dims: module.Dims{
3682
- {ID: "hyperv_root_partition_4K_gpa_pages", Name: "4K"},
3683
- {ID: "hyperv_root_partition_2M_gpa_pages", Name: "2M"},
3684
- {ID: "hyperv_root_partition_1G_gpa_pages", Name: "1G"},
3685
- },
3686
- }
3687
- hypervRootPartitionGPASpaceModificationsChart = module.Chart{
3688
- OverModule: "hyperv",
3689
- ID: "root_partition_gpa_space_modifications",
3690
- Title: "Root partition GPA space modifications",
3691
- Units: "modifications/s",
3692
- Fam: "root partition",
3693
- Ctx: "hyperv.root_partition_gpa_space_modifications",
3694
- Priority: prioHypervRootPartitionGPASpaceModifications,
3695
- Dims: module.Dims{
3696
- {ID: "hyperv_root_partition_gpa_space_modifications", Name: "gpa", Algo: module.Incremental},
3697
- },
3698
- }
3699
- hypervRootPartitionAttachedDevicesChart = module.Chart{
3700
- OverModule: "hyperv",
3701
- ID: "root_partition_attached_devices",
3702
- Title: "Root partition attached devices",
3703
- Units: "devices",
3704
- Fam: "root partition",
3705
- Ctx: "hyperv.root_partition_attached_devices",
3706
- Priority: prioHypervRootPartitionAttachedDevices,
3707
- Dims: module.Dims{
3708
- {ID: "hyperv_root_partition_attached_devices", Name: "attached"},
3709
- },
3710
- }
3711
- hypervRootPartitionDepositedPagesChart = module.Chart{
3712
- OverModule: "hyperv",
3713
- ID: "root_partition_deposited_pages",
3714
- Title: "Root partition deposited pages",
3715
- Units: "pages",
3716
- Fam: "root partition",
3717
- Ctx: "hyperv.root_partition_deposited_pages",
3718
- Priority: prioHypervRootPartitionDepositedPages,
3719
- Dims: module.Dims{
3720
- {ID: "hyperv_root_partition_deposited_pages", Name: "deposited"},
3721
- },
3722
- }
3723
- hypervRootPartitionSkippedInterrupts = module.Chart{
3724
- OverModule: "hyperv",
3725
- ID: "root_partition_skipped_interrupts",
3726
- Title: "Root partition skipped interrupts",
3727
- Units: "interrupts",
3728
- Fam: "root partition",
3729
- Ctx: "hyperv.root_partition_skipped_interrupts",
3730
- Priority: prioHypervRootPartitionSkippedInterrupts,
3731
- Dims: module.Dims{
3732
- {ID: "hyperv_root_partition_physical_pages_allocated", Name: "skipped"},
3733
- },
3734
- }
3735
- hypervRootPartitionDeviceDMAErrorsChart = module.Chart{
3736
- OverModule: "hyperv",
3737
- ID: "root_partition_device_dma_errors",
3738
- Title: "Root partition illegal DMA requests",
3739
- Units: "requests",
3740
- Fam: "root partition",
3741
- Ctx: "hyperv.root_partition_device_dma_errors",
3742
- Priority: prioHypervRootPartitionDeviceDMAErrors,
3743
- Dims: module.Dims{
3744
- {ID: "hyperv_root_partition_deposited_pages", Name: "illegal_dma"},
3745
- },
3746
- }
3747
- hypervRootPartitionDeviceInterruptErrorsChart = module.Chart{
3748
- OverModule: "hyperv",
3749
- ID: "partition_device_interrupt_errors",
3750
- Title: "Root partition illegal interrupt requests",
3751
- Units: "requests",
3752
- Fam: "root partition",
3753
- Ctx: "hyperv.root_partition_device_interrupt_errors",
3754
- Priority: prioHypervRootPartitionDeviceInterruptErrors,
3755
- Dims: module.Dims{
3756
- {ID: "hyperv_root_partition_device_interrupt_errors", Name: "illegal_interrupt"},
3757
- },
3758
- }
3759
- hypervRootPartitionDeviceInterruptThrottledEventsChart = module.Chart{
3760
- OverModule: "hyperv",
3761
- ID: "root_partition_device_interrupt_throttle_events",
3762
- Title: "Root partition throttled interrupts",
3763
- Units: "events",
3764
- Fam: "root partition",
3765
- Ctx: "hyperv.root_partition_device_interrupt_throttle_events",
3766
- Priority: prioHypervRootPartitionDeviceInterruptThrottleEvents,
3767
- Dims: module.Dims{
3768
- {ID: "hyperv_root_partition_device_interrupt_throttle_events", Name: "throttling"},
3769
- },
3770
- }
3771
- hypervRootPartitionIOTlbFlushChart = module.Chart{
3772
- OverModule: "hyperv",
3773
- ID: "root_partition_io_tbl_flush",
3774
- Title: "Root partition flushes of I/O TLBs",
3775
- Units: "flushes/s",
3776
- Fam: "root partition",
3777
- Ctx: "hyperv.root_partition_io_tlb_flush",
3778
- Priority: prioHypervRootPartitionIOTlbFlush,
3779
- Dims: module.Dims{
3780
- {ID: "hyperv_root_partition_io_tlb_flush", Name: "flushes", Algo: module.Incremental},
3781
- },
3782
- }
3783
- hypervRootPartitionAddressSpaceChart = module.Chart{
3784
- OverModule: "hyperv",
3785
- ID: "root_partition_address_space",
3786
- Title: "Root partition address spaces in the virtual TLB",
3787
- Units: "address spaces",
3788
- Fam: "root partition",
3789
- Ctx: "hyperv.root_partition_address_space",
3790
- Priority: prioHypervRootPartitionAddressSpace,
3791
- Dims: module.Dims{
3792
- {ID: "hyperv_root_partition_address_spaces", Name: "address_spaces"},
3793
- },
3794
- }
3795
- hypervRootPartitionVirtualTlbFlushEntries = module.Chart{
3796
- OverModule: "hyperv",
3797
- ID: "root_partition_virtual_tbl_flush_entries",
3798
- Title: "Root partition flushes of the entire virtual TLB",
3799
- Units: "flushes/s",
3800
- Fam: "root partition",
3801
- Ctx: "hyperv.root_partition_virtual_tlb_flush_entries",
3802
- Priority: prioHypervRootPartitionVirtualTlbFlushEntires,
3803
- Dims: module.Dims{
3804
- {ID: "hyperv_root_partition_virtual_tlb_flush_entires", Name: "flushes", Algo: module.Incremental},
3805
- },
3806
- }
3807
- hypervRootPartitionVirtualTlbPages = module.Chart{
3808
- OverModule: "hyperv",
3809
- ID: "root_partition_virtual_tlb_pages",
3810
- Title: "Root partition pages used by the virtual TLB",
3811
- Units: "pages",
3812
- Fam: "root partition",
3813
- Ctx: "hyperv.root_partition_virtual_tlb_pages",
3814
- Priority: prioHypervRootPartitionVirtualTlbPages,
3815
- Dims: module.Dims{
3816
- {ID: "hyperv_root_partition_virtual_tlb_pages", Name: "used"},
3817
- },
3818
- }
3819
-)
3820
-
3821
-// HyperV VM Memory
3822
-var (
3823
- hypervVMChartsTemplate = module.Charts{
3824
- hypervHypervVMCPUUsageChartTmpl.Copy(),
3825
- hypervHypervVMMemoryPhysicalChartTmpl.Copy(),
3826
- hypervHypervVMMemoryPhysicalGuestVisibleChartTmpl.Copy(),
3827
- hypervHypervVMMemoryPressureCurrentChartTmpl.Copy(),
3828
- hypervVIDPhysicalPagesAllocatedChartTmpl.Copy(),
3829
- hypervVIDRemotePhysicalPagesChartTmpl.Copy(),
3830
- }
3831
- hypervHypervVMCPUUsageChartTmpl = module.Chart{
3832
- OverModule: "hyperv",
3833
- ID: "vm_%s_cpu_usage",
3834
- Title: "VM CPU usage (100% = 1 core)",
3835
- Units: "percentage",
3836
- Fam: "vm cpu",
3837
- Ctx: "hyperv.vm_cpu_usage",
3838
- Priority: prioHypervVMCPUUsage,
3839
- Type: module.Stacked,
3840
- Dims: module.Dims{
3841
- {ID: "hyperv_vm_%s_cpu_guest_run_time", Name: "guest", Div: 1e5, Algo: module.Incremental},
3842
- {ID: "hyperv_vm_%s_cpu_hypervisor_run_time", Name: "hypervisor", Div: 1e5, Algo: module.Incremental},
3843
- {ID: "hyperv_vm_%s_cpu_remote_run_time", Name: "remote", Div: 1e5, Algo: module.Incremental},
3844
- },
3845
- }
3846
- hypervHypervVMMemoryPhysicalChartTmpl = module.Chart{
3847
- OverModule: "hyperv",
3848
- ID: "vm_%s_memory_physical",
3849
- Title: "VM assigned memory",
3850
- Units: "MiB",
3851
- Fam: "vm mem",
3852
- Ctx: "hyperv.vm_memory_physical",
3853
- Priority: prioHypervVMMemoryPhysical,
3854
- Dims: module.Dims{
3855
- {ID: "hyperv_vm_%s_memory_physical", Name: "assigned_memory"},
3856
- },
3857
- }
3858
- hypervHypervVMMemoryPhysicalGuestVisibleChartTmpl = module.Chart{
3859
- OverModule: "hyperv",
3860
- ID: "vm_%s_memory_physical_guest_visible",
3861
- Title: "VM guest visible memory",
3862
- Units: "MiB",
3863
- Fam: "vm mem",
3864
- Ctx: "hyperv.vm_memory_physical_guest_visible",
3865
- Priority: prioHypervVMMemoryPhysicalGuestVisible,
3866
- Dims: module.Dims{
3867
- {ID: "hyperv_vm_%s_memory_physical_guest_visible", Name: "visible_memory"},
3868
- },
3869
- }
3870
- hypervHypervVMMemoryPressureCurrentChartTmpl = module.Chart{
3871
- OverModule: "hyperv",
3872
- ID: "vm_%s_memory_pressure_current",
3873
- Title: "VM current pressure",
3874
- Units: "percentage",
3875
- Fam: "vm mem",
3876
- Ctx: "hyperv.vm_memory_pressure_current",
3877
- Priority: prioHypervVMMemoryPressureCurrent,
3878
- Dims: module.Dims{
3879
- {ID: "hyperv_vm_%s_memory_pressure_current", Name: "pressure"},
3880
- },
3881
- }
3882
- hypervVIDPhysicalPagesAllocatedChartTmpl = module.Chart{
3883
- OverModule: "hyperv",
3884
- ID: "vm_%s_vid_physical_pages_allocated",
3885
- Title: "VM physical pages allocated",
3886
- Units: "pages",
3887
- Fam: "vm mem",
3888
- Ctx: "hyperv.vm_vid_physical_pages_allocated",
3889
- Priority: prioHypervVIDPhysicalPagesAllocated,
3890
- Dims: module.Dims{
3891
- {ID: "hyperv_vid_%s_physical_pages_allocated", Name: "allocated"},
3892
- },
3893
- }
3894
- hypervVIDRemotePhysicalPagesChartTmpl = module.Chart{
3895
- OverModule: "hyperv",
3896
- ID: "vm_%s_remote_physical_pages",
3897
- Title: "VM physical pages not allocated from the preferred NUMA node",
3898
- Units: "pages",
3899
- Fam: "vm mem",
3900
- Ctx: "hyperv.vm_vid_remote_physical_pages",
3901
- Priority: prioHypervVIDRemotePhysicalPages,
3902
- Dims: module.Dims{
3903
- {ID: "hyperv_vid_%s_remote_physical_pages", Name: "remote_physical"},
3904
- },
3905
- }
3906
-)
3907
-
3908
-// HyperV VM storage device
3909
-var (
3910
- hypervVMDeviceChartsTemplate = module.Charts{
3911
- hypervVMDeviceIOChartTmpl.Copy(),
3912
- hypervVMDeviceIOPSChartTmpl.Copy(),
3913
- hypervVMDeviceErrorCountChartTmpl.Copy(),
3914
- }
3915
- hypervVMDeviceIOChartTmpl = module.Chart{
3916
- OverModule: "hyperv",
3917
- ID: "vm_device_%s_bytes_read",
3918
- Title: "VM storage device IO",
3919
- Units: "bytes/s",
3920
- Fam: "vm disk",
3921
- Ctx: "hyperv.vm_device_bytes",
3922
- Priority: prioHypervVMDeviceBytes,
3923
- Type: module.Area,
3924
- Dims: module.Dims{
3925
- {ID: "hyperv_vm_device_%s_bytes_read", Name: "read", Algo: module.Incremental},
3926
- {ID: "hyperv_vm_device_%s_bytes_written", Name: "written", Algo: module.Incremental},
3927
- },
3928
- }
3929
- hypervVMDeviceIOPSChartTmpl = module.Chart{
3930
- OverModule: "hyperv",
3931
- ID: "vm_device_%s_operation_read",
3932
- Title: "VM storage device IOPS",
3933
- Units: "operations/s",
3934
- Fam: "vm disk",
3935
- Ctx: "hyperv.vm_device_operations",
3936
- Priority: prioHypervVMDeviceOperations,
3937
- Dims: module.Dims{
3938
- {ID: "hyperv_vm_device_%s_operations_read", Name: "read", Algo: module.Incremental},
3939
- {ID: "hyperv_vm_device_%s_operations_written", Name: "write", Algo: module.Incremental},
3940
- },
3941
- }
3942
- hypervVMDeviceErrorCountChartTmpl = module.Chart{
3943
- OverModule: "hyperv",
3944
- ID: "vm_device_%s_error_count",
3945
- Title: "VM storage device errors",
3946
- Units: "errors/s",
3947
- Fam: "vm disk",
3948
- Ctx: "hyperv.vm_device_errors",
3949
- Priority: prioHypervVMDeviceErrors,
3950
- Dims: module.Dims{
3951
- {ID: "hyperv_vm_device_%s_error_count", Name: "errors", Algo: module.Incremental},
3952
- },
3953
- }
3954
-)
3955
-
3956
-// HyperV VM network interface
3957
-var (
3958
- hypervVMInterfaceChartsTemplate = module.Charts{
3959
- hypervVMInterfaceTrafficChartTmpl.Copy(),
3960
- hypervVMInterfacePacketsChartTmpl.Copy(),
3961
- hypervVMInterfacePacketsDroppedChartTmpl.Copy(),
3962
- }
3963
-
3964
- hypervVMInterfaceTrafficChartTmpl = module.Chart{
3965
- OverModule: "hyperv",
3966
- ID: "vm_interface_%s_bytes",
3967
- Title: "VM interface traffic",
3968
- Units: "bytes/s",
3969
- Fam: "vm net",
3970
- Ctx: "hyperv.vm_interface_bytes",
3971
- Priority: prioHypervVMInterfaceBytes,
3972
- Type: module.Area,
3973
- Dims: module.Dims{
3974
- {ID: "hyperv_vm_interface_%s_bytes_received", Name: "received", Algo: module.Incremental},
3975
- {ID: "hyperv_vm_interface_%s_bytes_sent", Name: "sent", Algo: module.Incremental},
3976
- },
3977
- }
3978
- hypervVMInterfacePacketsChartTmpl = module.Chart{
3979
- OverModule: "hyperv",
3980
- ID: "vm_interface_%s_packets",
3981
- Title: "VM interface packets",
3982
- Units: "packets/s",
3983
- Fam: "vm net",
3984
- Ctx: "hyperv.vm_interface_packets",
3985
- Priority: prioHypervVMInterfacePackets,
3986
- Dims: module.Dims{
3987
- {ID: "hyperv_vm_interface_%s_packets_received", Name: "received", Algo: module.Incremental},
3988
- {ID: "hyperv_vm_interface_%s_packets_sent", Name: "sent", Algo: module.Incremental},
3989
- },
3990
- }
3991
- hypervVMInterfacePacketsDroppedChartTmpl = module.Chart{
3992
- OverModule: "hyperv",
3993
- ID: "vm_interface_%s_packets_dropped",
3994
- Title: "VM interface packets dropped",
3995
- Units: "drops/s",
3996
- Fam: "vm net",
3997
- Ctx: "hyperv.vm_interface_packets_dropped",
3998
- Priority: prioHypervVMInterfacePacketsDropped,
3999
- Dims: module.Dims{
4000
- {ID: "hyperv_vm_interface_%s_packets_incoming_dropped", Name: "incoming", Algo: module.Incremental},
4001
- {ID: "hyperv_vm_interface_%s_packets_outgoing_dropped", Name: "outgoing", Algo: module.Incremental},
4002
- },
4003
- }
4004
-)
4005
-
4006
-// HyperV Virtual Switch
4007
-var (
4008
- hypervVswitchChartsTemplate = module.Charts{
4009
- hypervVswitchTrafficChartTmpl.Copy(),
4010
- hypervVswitchPacketsChartTmpl.Copy(),
4011
- hypervVswitchDirectedPacketsChartTmpl.Copy(),
4012
- hypervVswitchBroadcastPacketsChartTmpl.Copy(),
4013
- hypervVswitchMulticastPacketsChartTmpl.Copy(),
4014
- hypervVswitchDroppedPacketsChartTmpl.Copy(),
4015
- hypervVswitchExtensionDroppedPacketsChartTmpl.Copy(),
4016
- hypervVswitchPacketsFloodedTotalChartTmpl.Copy(),
4017
- hypervVswitchLearnedMACAddressChartTmpl.Copy(),
4018
- hypervVswitchPurgedMACAddressChartTmpl.Copy(),
4019
- }
4020
-
4021
- hypervVswitchTrafficChartTmpl = module.Chart{
4022
- OverModule: "hyperv",
4023
- ID: "vswitch_%s_traffic",
4024
- Title: "Virtual switch traffic",
4025
- Units: "bytes/s",
4026
- Fam: "vswitch traffic",
4027
- Ctx: "hyperv.vswitch_bytes",
4028
- Priority: prioHypervVswitchTrafficTotal,
4029
- Type: module.Area,
4030
- Dims: module.Dims{
4031
- {ID: "hyperv_vswitch_%s_bytes_received_total", Name: "received", Algo: module.Incremental},
4032
- {ID: "hyperv_vswitch_%s_bytes_sent_total", Name: "sent", Algo: module.Incremental},
4033
- },
4034
- }
4035
- hypervVswitchPacketsChartTmpl = module.Chart{
4036
- OverModule: "hyperv",
4037
- ID: "vswitch_%s_packets",
4038
- Title: "Virtual switch packets",
4039
- Units: "packets/s",
4040
- Fam: "vswitch packets",
4041
- Ctx: "hyperv.vswitch_packets",
4042
- Priority: prioHypervVswitchPackets,
4043
- Dims: module.Dims{
4044
- {ID: "hyperv_vswitch_%s_packets_received_total", Name: "received", Algo: module.Incremental},
4045
- // FIXME: https://github.com/prometheus-community/windows_exporter/pull/1201
4046
- //{ID: "hyperv_vswitch_%s_packets_sent_total", Name: "sent", Algo: module.Incremental},
4047
- },
4048
- }
4049
- hypervVswitchDirectedPacketsChartTmpl = module.Chart{
4050
- OverModule: "hyperv",
4051
- ID: "vswitch_%s_directed_packets",
4052
- Title: "Virtual switch directed packets",
4053
- Units: "packets/s",
4054
- Fam: "vswitch packets",
4055
- Ctx: "hyperv.vswitch_directed_packets",
4056
- Priority: prioHypervVswitchDirectedPackets,
4057
- Dims: module.Dims{
4058
- {ID: "hyperv_vswitch_%s_directed_packets_received_total", Name: "received", Algo: module.Incremental},
4059
- {ID: "hyperv_vswitch_%s_directed_packets_send_total", Name: "sent", Algo: module.Incremental},
4060
- },
4061
- }
4062
- hypervVswitchBroadcastPacketsChartTmpl = module.Chart{
4063
- OverModule: "hyperv",
4064
- ID: "vswitch_%s_broadcast_packets",
4065
- Title: "Virtual switch broadcast packets",
4066
- Units: "packets/s",
4067
- Fam: "vswitch packets",
4068
- Ctx: "hyperv.vswitch_broadcast_packets",
4069
- Priority: prioHypervVswitchBroadcastPackets,
4070
- Dims: module.Dims{
4071
- {ID: "hyperv_vswitch_%s_broadcast_packets_received_total", Name: "received", Algo: module.Incremental},
4072
- {ID: "hyperv_vswitch_%s_broadcast_packets_sent_total", Name: "sent", Algo: module.Incremental},
4073
- },
4074
- }
4075
- hypervVswitchMulticastPacketsChartTmpl = module.Chart{
4076
- OverModule: "hyperv",
4077
- ID: "vswitch_%s_multicast_packets",
4078
- Title: "Virtual switch multicast packets",
4079
- Units: "packets/s",
4080
- Fam: "vswitch packets",
4081
- Ctx: "hyperv.vswitch_multicast_packets",
4082
- Priority: prioHypervVswitchMulticastPackets,
4083
- Dims: module.Dims{
4084
- {ID: "hyperv_vswitch_%s_multicast_packets_received_total", Name: "received", Algo: module.Incremental},
4085
- {ID: "hyperv_vswitch_%s_multicast_packets_sent_total", Name: "sent", Algo: module.Incremental},
4086
- },
4087
- }
4088
- hypervVswitchDroppedPacketsChartTmpl = module.Chart{
4089
- OverModule: "hyperv",
4090
- ID: "vswitch_%s_dropped_packets",
4091
- Title: "Virtual switch dropped packets",
4092
- Units: "drops/s",
4093
- Fam: "vswitch drops",
4094
- Ctx: "hyperv.vswitch_dropped_packets",
4095
- Priority: prioHypervVswitchDroppedPackets,
4096
- Dims: module.Dims{
4097
- {ID: "hyperv_vswitch_%s_dropped_packets_incoming_total", Name: "incoming", Algo: module.Incremental},
4098
- {ID: "hyperv_vswitch_%s_dropped_packets_outcoming_total", Name: "outgoing", Algo: module.Incremental},
4099
- },
4100
- }
4101
- hypervVswitchExtensionDroppedPacketsChartTmpl = module.Chart{
4102
- OverModule: "hyperv",
4103
- ID: "vswitch_%s_extensions_dropped_packets_incoming",
4104
- Title: "Virtual switch extensions dropped packets",
4105
- Units: "drops/s",
4106
- Fam: "vswitch drops",
4107
- Ctx: "hyperv.vswitch_extensions_dropped_packets",
4108
- Priority: prioHypervVswitchExtensionsDroppedPackets,
4109
- Dims: module.Dims{
4110
- {ID: "hyperv_vswitch_%s_extensions_dropped_packets_incoming_total", Name: "incoming", Algo: module.Incremental},
4111
- {ID: "hyperv_vswitch_%s_extensions_dropped_packets_outcoming_total", Name: "outgoing", Algo: module.Incremental},
4112
- },
4113
- }
4114
- hypervVswitchPacketsFloodedTotalChartTmpl = module.Chart{
4115
- OverModule: "hyperv",
4116
- ID: "vswitch_%s_packets_flooded",
4117
- Title: "Virtual switch flooded packets",
4118
- Units: "packets/s",
4119
- Fam: "vswitch flood",
4120
- Ctx: "hyperv.vswitch_packets_flooded",
4121
- Priority: prioHypervVswitchPacketsFlooded,
4122
- Dims: module.Dims{
4123
- {ID: "hyperv_vswitch_%s_packets_flooded_total", Name: "flooded", Algo: module.Incremental},
4124
- },
4125
- }
4126
- hypervVswitchLearnedMACAddressChartTmpl = module.Chart{
4127
- OverModule: "hyperv",
4128
- ID: "vswitch_%s_learned_mac_addresses",
4129
- Title: "Virtual switch learned MAC addresses",
4130
- Units: "mac addresses/s",
4131
- Fam: "vswitch mac addresses",
4132
- Ctx: "hyperv.vswitch_learned_mac_addresses",
4133
- Priority: prioHypervVswitchLearnedMACAddresses,
4134
- Dims: module.Dims{
4135
- {ID: "hyperv_vswitch_%s_learned_mac_addresses_total", Name: "learned", Algo: module.Incremental},
4136
- },
4137
- }
4138
- hypervVswitchPurgedMACAddressChartTmpl = module.Chart{
4139
- OverModule: "hyperv",
4140
- ID: "vswitch_%s_purged_mac_addresses",
4141
- Title: "Virtual switch purged MAC addresses",
4142
- Units: "mac addresses/s",
4143
- Fam: "vswitch mac addresses",
4144
- Ctx: "hyperv.vswitch_purged_mac_addresses",
4145
- Priority: prioHypervVswitchPurgeMACAddress,
4146
- Dims: module.Dims{
4147
- {ID: "hyperv_vswitch_%s_purged_mac_addresses_total", Name: "purged", Algo: module.Incremental},
4148
- },
4149
- }
4150
-)
4151
-
4152
-// Collectors
4153
-var (
4154
- collectorChartsTmpl = module.Charts{
4155
- collectorDurationChartTmpl.Copy(),
4156
- collectorStatusChartTmpl.Copy(),
4157
- }
4158
- collectorDurationChartTmpl = module.Chart{
4159
- ID: "collector_%s_duration",
4160
- Title: "Duration of a data collection",
4161
- Units: "seconds",
4162
- Fam: "collection",
4163
- Ctx: "windows.collector_duration",
4164
- Priority: prioCollectorDuration,
4165
- Dims: module.Dims{
4166
- {ID: "collector_%s_duration", Name: "duration", Div: precision},
4167
- },
4168
- }
4169
- collectorStatusChartTmpl = module.Chart{
4170
- ID: "collector_%s_status",
4171
- Title: "Status of a data collection",
4172
- Units: "status",
4173
- Fam: "collection",
4174
- Ctx: "windows.collector_status",
4175
- Priority: prioCollectorStatus,
4176
- Dims: module.Dims{
4177
- {ID: "collector_%s_status_success", Name: "success"},
4178
- {ID: "collector_%s_status_fail", Name: "fail"},
4179
- },
4180
- }
4181
-)
4182
-
4183
-func (c *Collector) addCPUCharts() {
4184
- charts := cpuCharts.Copy()
4185
-
4186
- if err := c.Charts().Add(*charts...); err != nil {
4187
- c.Warning(err)
4188
- }
4189
-}
4190
-
4191
-func (c *Collector) addCPUCoreCharts(core string) {
4192
- charts := cpuCoreChartsTmpl.Copy()
4193
-
4194
- for _, chart := range *charts {
4195
- chart.ID = fmt.Sprintf(chart.ID, core)
4196
- chart.Labels = []module.Label{
4197
- {Key: "core", Value: core},
4198
- }
4199
- for _, dim := range chart.Dims {
4200
- dim.ID = fmt.Sprintf(dim.ID, core)
4201
- }
4202
- }
4203
-
4204
- if err := c.Charts().Add(*charts...); err != nil {
4205
- c.Warning(err)
4206
- }
4207
-}
4208
-
4209
-func (c *Collector) removeCPUCoreCharts(core string) {
4210
- px := fmt.Sprintf("cpu_core_%s", core)
4211
- c.removeCharts(px)
4212
-}
4213
-
4214
-func (c *Collector) addMemoryCharts() {
4215
- charts := memCharts.Copy()
4216
-
4217
- if err := c.Charts().Add(*charts...); err != nil {
4218
- c.Warning(err)
4219
- }
4220
-}
4221
-
4222
-func (c *Collector) addDiskCharts(disk string) {
4223
- charts := diskChartsTmpl.Copy()
4224
-
4225
- for _, chart := range *charts {
4226
- chart.ID = fmt.Sprintf(chart.ID, disk)
4227
- chart.Labels = []module.Label{
4228
- {Key: "disk", Value: disk},
4229
- }
4230
- for _, dim := range chart.Dims {
4231
- dim.ID = fmt.Sprintf(dim.ID, disk)
4232
- }
4233
- }
4234
-
4235
- if err := c.Charts().Add(*charts...); err != nil {
4236
- c.Warning(err)
4237
- }
4238
-}
4239
-
4240
-func (c *Collector) removeDiskCharts(disk string) {
4241
- px := fmt.Sprintf("logical_disk_%s", disk)
4242
- c.removeCharts(px)
4243
-}
4244
-
4245
-func (c *Collector) addNICCharts(nic string) {
4246
- charts := nicChartsTmpl.Copy()
4247
-
4248
- for _, chart := range *charts {
4249
- chart.ID = fmt.Sprintf(chart.ID, nic)
4250
- chart.Labels = []module.Label{
4251
- {Key: "nic", Value: nic},
4252
- }
4253
- for _, dim := range chart.Dims {
4254
- dim.ID = fmt.Sprintf(dim.ID, nic)
4255
- }
4256
- }
4257
-
4258
- if err := c.Charts().Add(*charts...); err != nil {
4259
- c.Warning(err)
4260
- }
4261
-}
4262
-
4263
-func (c *Collector) removeNICCharts(nic string) {
4264
- px := fmt.Sprintf("nic_%s", nic)
4265
- c.removeCharts(px)
4266
-}
4267
-
4268
-func (c *Collector) addTCPCharts() {
4269
- charts := tcpCharts.Copy()
4270
-
4271
- if err := c.Charts().Add(*charts...); err != nil {
4272
- c.Warning(err)
4273
- }
4274
-}
4275
-
4276
-func (c *Collector) addOSCharts() {
4277
- charts := osCharts.Copy()
4278
-
4279
- if err := c.Charts().Add(*charts...); err != nil {
4280
- c.Warning(err)
4281
- }
4282
-}
4283
-
4284
-func (c *Collector) addSystemCharts() {
4285
- charts := systemCharts.Copy()
4286
-
4287
- if err := c.Charts().Add(*charts...); err != nil {
4288
- c.Warning(err)
4289
- }
4290
-}
4291
-
4292
-func (c *Collector) addLogonCharts() {
4293
- charts := logonCharts.Copy()
4294
-
4295
- if err := c.Charts().Add(*charts...); err != nil {
4296
- c.Warning(err)
4297
- }
4298
-}
4299
-
4300
-func (c *Collector) addADFSCharts() {
4301
- charts := adfsCharts.Copy()
4302
-
4303
- if err := c.Charts().Add(*charts...); err != nil {
4304
- c.Warning(err)
4305
- }
4306
-}
4307
-
4308
-func (c *Collector) addExchangeCharts() {
4309
- charts := exchangeCharts.Copy()
4310
-
4311
- if err := c.Charts().Add(*charts...); err != nil {
4312
- c.Warning(err)
4313
- }
4314
-}
4315
-
4316
-func (c *Collector) addExchangeWorkloadCharts(name string) {
4317
- charts := exchangeWorkloadChartsTmpl.Copy()
4318
-
4319
- for _, chart := range *charts {
4320
- chart.ID = fmt.Sprintf(chart.ID, name)
4321
- chart.Labels = []module.Label{
4322
- {Key: "workload", Value: name},
4323
- }
4324
- for _, dim := range chart.Dims {
4325
- dim.ID = fmt.Sprintf(dim.ID, name)
4326
- }
4327
- }
4328
-
4329
- if err := c.Charts().Add(*charts...); err != nil {
4330
- c.Warning(err)
4331
- }
4332
-}
4333
-
4334
-func (c *Collector) removeExchangeWorkloadCharts(name string) {
4335
- px := fmt.Sprintf("exchange_workload_%s", name)
4336
- c.removeCharts(px)
4337
-}
4338
-
4339
-func (c *Collector) addExchangeLDAPCharts(name string) {
4340
- charts := exchangeLDAPChartsTmpl.Copy()
4341
-
4342
- for _, chart := range *charts {
4343
- chart.ID = fmt.Sprintf(chart.ID, name)
4344
- chart.Labels = []module.Label{
4345
- {Key: "ldap_process", Value: name},
4346
- }
4347
- for _, dim := range chart.Dims {
4348
- dim.ID = fmt.Sprintf(dim.ID, name)
4349
- }
4350
- }
4351
-
4352
- if err := c.Charts().Add(*charts...); err != nil {
4353
- c.Warning(err)
4354
- }
4355
-}
4356
-
4357
-func (c *Collector) removeExchangeLDAPCharts(name string) {
4358
- px := fmt.Sprintf("exchange_ldap_%s", name)
4359
- c.removeCharts(px)
4360
-}
4361
-
4362
-func (c *Collector) addExchangeHTTPProxyCharts(name string) {
4363
- charts := exchangeHTTPProxyChartsTmpl.Copy()
4364
-
4365
- for _, chart := range *charts {
4366
- chart.ID = fmt.Sprintf(chart.ID, name)
4367
- chart.Labels = []module.Label{
4368
- {Key: "http_proxy", Value: name},
4369
- }
4370
- for _, dim := range chart.Dims {
4371
- dim.ID = fmt.Sprintf(dim.ID, name)
4372
- }
4373
- }
4374
-
4375
- if err := c.Charts().Add(*charts...); err != nil {
4376
- c.Warning(err)
4377
- }
4378
-}
4379
-
4380
-func (c *Collector) removeExchangeHTTPProxyCharts(name string) {
4381
- px := fmt.Sprintf("exchange_http_proxy_%s", name)
4382
- c.removeCharts(px)
4383
-}
4384
-
4385
-func (c *Collector) addThermalZoneCharts(zone string) {
4386
- charts := thermalzoneChartsTmpl.Copy()
4387
-
4388
- for _, chart := range *charts {
4389
- chart.ID = fmt.Sprintf(chart.ID, zone)
4390
- chart.Labels = []module.Label{
4391
- {Key: "thermalzone", Value: zone},
4392
- }
4393
- for _, dim := range chart.Dims {
4394
- dim.ID = fmt.Sprintf(dim.ID, zone)
4395
- }
4396
- }
4397
-
4398
- if err := c.Charts().Add(*charts...); err != nil {
4399
- c.Warning(err)
4400
- }
4401
-}
4402
-
4403
-func (c *Collector) removeThermalZoneCharts(zone string) {
4404
- px := fmt.Sprintf("thermalzone_%s", zone)
4405
- c.removeCharts(px)
4406
-}
4407
-
4408
-func (c *Collector) addIISWebsiteCharts(website string) {
4409
- charts := iisWebsiteChartsTmpl.Copy()
4410
-
4411
- for _, chart := range *charts {
4412
- chart.ID = fmt.Sprintf(chart.ID, website)
4413
- chart.Labels = []module.Label{
4414
- {Key: "website", Value: website},
4415
- }
4416
- for _, dim := range chart.Dims {
4417
- dim.ID = fmt.Sprintf(dim.ID, website)
4418
- }
4419
- }
4420
-
4421
- if err := c.Charts().Add(*charts...); err != nil {
4422
- c.Warning(err)
4423
- }
4424
-}
4425
-
4426
-func (c *Collector) removeIIWebsiteSCharts(website string) {
4427
- px := fmt.Sprintf("iis_website_%s", website)
4428
- c.removeCharts(px)
4429
-}
4430
-
4431
-func (c *Collector) addMSSQLDBCharts(instance string, dbname string) {
4432
- charts := mssqlDatabaseChartsTmpl.Copy()
4433
-
4434
- for _, chart := range *charts {
4435
- chart.ID = fmt.Sprintf(chart.ID, dbname, instance)
4436
- chart.Labels = []module.Label{
4437
- {Key: "mssql_instance", Value: instance},
4438
- {Key: "database", Value: dbname},
4439
- }
4440
- for _, dim := range chart.Dims {
4441
- dim.ID = fmt.Sprintf(dim.ID, dbname, instance)
4442
- }
4443
- }
4444
-
4445
- if err := c.Charts().Add(*charts...); err != nil {
4446
- c.Warning(err)
4447
- }
4448
-}
4449
-
4450
-func (c *Collector) removeMSSQLDBCharts(instance string, dbname string) {
4451
- px := fmt.Sprintf("mssql_db_%s_instance_%s", dbname, instance)
4452
- c.removeCharts(px)
4453
-}
4454
-
4455
-func (c *Collector) addMSSQLInstanceCharts(instance string) {
4456
- charts := mssqlInstanceChartsTmpl.Copy()
4457
-
4458
- for _, chart := range *charts {
4459
- chart.ID = fmt.Sprintf(chart.ID, instance)
4460
- chart.Labels = []module.Label{
4461
- {Key: "mssql_instance", Value: instance},
4462
- }
4463
- for _, dim := range chart.Dims {
4464
- dim.ID = fmt.Sprintf(dim.ID, instance)
4465
- }
4466
- }
4467
-
4468
- if err := c.Charts().Add(*charts...); err != nil {
4469
- c.Warning(err)
4470
- }
4471
-}
4472
-
4473
-func (c *Collector) removeMSSQLInstanceCharts(instance string) {
4474
- px := fmt.Sprintf("mssql_instance_%s", instance)
4475
- c.removeCharts(px)
4476
-}
4477
-
4478
-func (c *Collector) addProcessesCharts() {
4479
- charts := processesCharts.Copy()
4480
-
4481
- if err := c.Charts().Add(*charts...); err != nil {
4482
- c.Warning(err)
4483
- }
4484
-}
4485
-
4486
-func (c *Collector) addADCharts() {
4487
- charts := adCharts.Copy()
4488
-
4489
- if err := c.Charts().Add(*charts...); err != nil {
4490
- c.Warning(err)
4491
- }
4492
-}
4493
-
4494
-func (c *Collector) addCertificateTemplateCharts(template string) {
4495
- charts := adcsCertTemplateChartsTmpl.Copy()
4496
-
4497
- for _, chart := range *charts {
4498
- chart.ID = fmt.Sprintf(chart.ID, template)
4499
- chart.Labels = []module.Label{
4500
- {Key: "cert_template", Value: template},
4501
- }
4502
- for _, dim := range chart.Dims {
4503
- dim.ID = fmt.Sprintf(dim.ID, template)
4504
- }
4505
- }
4506
-
4507
- if err := c.Charts().Add(*charts...); err != nil {
4508
- c.Warning(err)
4509
- }
4510
-}
4511
-
4512
-func (c *Collector) removeCertificateTemplateCharts(template string) {
4513
- px := fmt.Sprintf("adcs_cert_template_%s", template)
4514
- c.removeCharts(px)
4515
-}
4516
-
4517
-func (c *Collector) addProcessToCharts(procID string) {
4518
- for _, chart := range *c.Charts() {
4519
- var dim *module.Dim
4520
- switch chart.ID {
4521
- case processesCPUUtilizationTotalChart.ID:
4522
- id := fmt.Sprintf("process_%s_cpu_time", procID)
4523
- dim = &module.Dim{ID: id, Name: procID, Algo: module.Incremental, Div: 1000, Mul: 100}
4524
- if procID == "Idle" {
4525
- dim.Hidden = true
4526
- }
4527
- case processesMemoryUsageChart.ID:
4528
- id := fmt.Sprintf("process_%s_working_set_private_bytes", procID)
4529
- dim = &module.Dim{ID: id, Name: procID}
4530
- case processesIOBytesChart.ID:
4531
- id := fmt.Sprintf("process_%s_io_bytes", procID)
4532
- dim = &module.Dim{ID: id, Name: procID, Algo: module.Incremental}
4533
- case processesIOOperationsChart.ID:
4534
- id := fmt.Sprintf("process_%s_io_operations", procID)
4535
- dim = &module.Dim{ID: id, Name: procID, Algo: module.Incremental}
4536
- case processesPageFaultsChart.ID:
4537
- id := fmt.Sprintf("process_%s_page_faults", procID)
4538
- dim = &module.Dim{ID: id, Name: procID, Algo: module.Incremental}
4539
- case processesPageFileBytes.ID:
4540
- id := fmt.Sprintf("process_%s_page_file_bytes", procID)
4541
- dim = &module.Dim{ID: id, Name: procID}
4542
- case processesThreads.ID:
4543
- id := fmt.Sprintf("process_%s_threads", procID)
4544
- dim = &module.Dim{ID: id, Name: procID}
4545
- case processesHandlesChart.ID:
4546
- id := fmt.Sprintf("process_%s_handles", procID)
4547
- dim = &module.Dim{ID: id, Name: procID}
4548
- default:
4549
- continue
4550
- }
4551
-
4552
- if err := chart.AddDim(dim); err != nil {
4553
- c.Warning(err)
4554
- continue
4555
- }
4556
- chart.MarkNotCreated()
4557
- }
4558
-}
4559
-
4560
-func (c *Collector) removeProcessFromCharts(procID string) {
4561
- for _, chart := range *c.Charts() {
4562
- var id string
4563
- switch chart.ID {
4564
- case processesCPUUtilizationTotalChart.ID:
4565
- id = fmt.Sprintf("process_%s_cpu_time", procID)
4566
- case processesMemoryUsageChart.ID:
4567
- id = fmt.Sprintf("process_%s_working_set_private_bytes", procID)
4568
- case processesIOBytesChart.ID:
4569
- id = fmt.Sprintf("process_%s_io_bytes", procID)
4570
- case processesIOOperationsChart.ID:
4571
- id = fmt.Sprintf("process_%s_io_operations", procID)
4572
- case processesPageFaultsChart.ID:
4573
- id = fmt.Sprintf("process_%s_page_faults", procID)
4574
- case processesPageFileBytes.ID:
4575
- id = fmt.Sprintf("process_%s_page_file_bytes", procID)
4576
- case processesThreads.ID:
4577
- id = fmt.Sprintf("process_%s_threads", procID)
4578
- case processesHandlesChart.ID:
4579
- id = fmt.Sprintf("process_%s_handles", procID)
4580
- default:
4581
- continue
4582
- }
4583
-
4584
- if err := chart.MarkDimRemove(id, false); err != nil {
4585
- c.Warning(err)
4586
- continue
4587
- }
4588
- chart.MarkNotCreated()
4589
- }
4590
-}
4591
-
4592
-func (c *Collector) addProcessNetFrameworkExceptionsCharts(procName string) {
4593
- charts := netFrameworkCLRExceptionsChartsTmpl.Copy()
4594
-
4595
- for _, chart := range *charts {
4596
- chart.ID = fmt.Sprintf(chart.ID, strings.ToLower(procName))
4597
- chart.Labels = []module.Label{
4598
- {Key: "process", Value: procName},
4599
- }
4600
- for _, dim := range chart.Dims {
4601
- dim.ID = fmt.Sprintf(dim.ID, procName)
4602
- }
4603
- }
4604
-
4605
- if err := c.Charts().Add(*charts...); err != nil {
4606
- c.Warning(err)
4607
- }
4608
-}
4609
-
4610
-func (c *Collector) removeProcessFromNetFrameworkExceptionsCharts(procName string) {
4611
- px := fmt.Sprintf("netframework_%s_clrexception", strings.ToLower(procName))
4612
- c.removeCharts(px)
4613
-}
4614
-
4615
-func (c *Collector) addProcessNetFrameworkInteropCharts(procName string) {
4616
- charts := netFrameworkCLRInteropChartsTmpl.Copy()
4617
-
4618
- for _, chart := range *charts {
4619
- chart.ID = fmt.Sprintf(chart.ID, strings.ToLower(procName))
4620
- chart.Labels = []module.Label{
4621
- {Key: "process", Value: procName},
4622
- }
4623
- for _, dim := range chart.Dims {
4624
- dim.ID = fmt.Sprintf(dim.ID, procName)
4625
- }
4626
- }
4627
-
4628
- if err := c.Charts().Add(*charts...); err != nil {
4629
- c.Warning(err)
4630
- }
4631
-}
4632
-
4633
-func (c *Collector) removeProcessNetFrameworkInteropCharts(procName string) {
4634
- px := fmt.Sprintf("netframework_%s_clrinterop", strings.ToLower(procName))
4635
- c.removeCharts(px)
4636
-}
4637
-
4638
-func (c *Collector) addProcessNetFrameworkJITCharts(procName string) {
4639
- charts := netFrameworkCLRJITChartsTmpl.Copy()
4640
-
4641
- for _, chart := range *charts {
4642
- chart.ID = fmt.Sprintf(chart.ID, strings.ToLower(procName))
4643
- chart.Labels = []module.Label{
4644
- {Key: "process", Value: procName},
4645
- }
4646
- for _, dim := range chart.Dims {
4647
- dim.ID = fmt.Sprintf(dim.ID, procName)
4648
- }
4649
- }
4650
-
4651
- if err := c.Charts().Add(*charts...); err != nil {
4652
- c.Warning(err)
4653
- }
4654
-}
4655
-
4656
-func (c *Collector) removeProcessNetFrameworkJITCharts(procName string) {
4657
- px := fmt.Sprintf("netframework_%s_clrjit", strings.ToLower(procName))
4658
- c.removeCharts(px)
4659
-}
4660
-
4661
-func (c *Collector) addProcessNetFrameworkLoadingCharts(procName string) {
4662
- charts := netFrameworkCLRLoadingChartsTmpl.Copy()
4663
-
4664
- for _, chart := range *charts {
4665
- chart.ID = fmt.Sprintf(chart.ID, strings.ToLower(procName))
4666
- chart.Labels = []module.Label{
4667
- {Key: "process", Value: procName},
4668
- }
4669
- for _, dim := range chart.Dims {
4670
- dim.ID = fmt.Sprintf(dim.ID, procName)
4671
- }
4672
- }
4673
-
4674
- if err := c.Charts().Add(*charts...); err != nil {
4675
- c.Warning(err)
4676
- }
4677
-}
4678
-
4679
-func (c *Collector) removeProcessNetFrameworkLoadingCharts(procName string) {
4680
- px := fmt.Sprintf("netframework_%s_clrloading", strings.ToLower(procName))
4681
- c.removeCharts(px)
4682
-}
4683
-
4684
-func (c *Collector) addProcessNetFrameworkLocksAndThreadsCharts(procName string) {
4685
- charts := netFrameworkCLRLocksAndThreadsChartsTmpl.Copy()
4686
-
4687
- for _, chart := range *charts {
4688
- chart.ID = fmt.Sprintf(chart.ID, strings.ToLower(procName))
4689
- chart.Labels = []module.Label{
4690
- {Key: "process", Value: procName},
4691
- }
4692
- for _, dim := range chart.Dims {
4693
- dim.ID = fmt.Sprintf(dim.ID, procName)
4694
- }
4695
- }
4696
-
4697
- if err := c.Charts().Add(*charts...); err != nil {
4698
- c.Warning(err)
4699
- }
4700
-}
4701
-
4702
-func (c *Collector) removeProcessNetFrameworkLocksAndThreadsCharts(procName string) {
4703
- px := fmt.Sprintf("netframework_%s_clrlocksandthreads", strings.ToLower(procName))
4704
- c.removeCharts(px)
4705
-}
4706
-
4707
-func (c *Collector) addProcessNetFrameworkMemoryCharts(procName string) {
4708
- charts := netFrameworkCLRMemoryChartsTmpl.Copy()
4709
-
4710
- for _, chart := range *charts {
4711
- chart.ID = fmt.Sprintf(chart.ID, strings.ToLower(procName))
4712
- chart.Labels = []module.Label{
4713
- {Key: "process", Value: procName},
4714
- }
4715
- for _, dim := range chart.Dims {
4716
- dim.ID = fmt.Sprintf(dim.ID, procName)
4717
- }
4718
- }
4719
-
4720
- if err := c.Charts().Add(*charts...); err != nil {
4721
- c.Warning(err)
4722
- }
4723
-}
4724
-
4725
-func (c *Collector) removeProcessNetFrameworkMemoryCharts(procName string) {
4726
- px := fmt.Sprintf("netframework_%s_clrmemory", strings.ToLower(procName))
4727
- c.removeCharts(px)
4728
-}
4729
-
4730
-func (c *Collector) addProcessNetFrameworkRemotingCharts(procName string) {
4731
- charts := netFrameworkCLRRemotingChartsTmpl.Copy()
4732
-
4733
- for _, chart := range *charts {
4734
- chart.ID = fmt.Sprintf(chart.ID, strings.ToLower(procName))
4735
- chart.Labels = []module.Label{
4736
- {Key: "process", Value: procName},
4737
- }
4738
- for _, dim := range chart.Dims {
4739
- dim.ID = fmt.Sprintf(dim.ID, procName)
4740
- }
4741
- }
4742
-
4743
- if err := c.Charts().Add(*charts...); err != nil {
4744
- c.Warning(err)
4745
- }
4746
-}
4747
-
4748
-func (c *Collector) removeProcessNetFrameworkRemotingCharts(procName string) {
4749
- px := fmt.Sprintf("netframework_%s_clrremoting", strings.ToLower(procName))
4750
- c.removeCharts(px)
4751
-}
4752
-
4753
-func (c *Collector) addProcessNetFrameworkSecurityCharts(procName string) {
4754
- charts := netFrameworkCLRSecurityChartsTmpl.Copy()
4755
-
4756
- for _, chart := range *charts {
4757
- chart.ID = fmt.Sprintf(chart.ID, strings.ToLower(procName))
4758
- chart.Labels = []module.Label{
4759
- {Key: "process", Value: procName},
4760
- }
4761
- for _, dim := range chart.Dims {
4762
- dim.ID = fmt.Sprintf(dim.ID, procName)
4763
- }
4764
- }
4765
-
4766
- if err := c.Charts().Add(*charts...); err != nil {
4767
- c.Warning(err)
4768
- }
4769
-}
4770
-
4771
-func (c *Collector) removeProcessNetFrameworkSecurityCharts(procName string) {
4772
- px := fmt.Sprintf("netframework_%s_clrsecurity", strings.ToLower(procName))
4773
- c.removeCharts(px)
4774
-}
4775
-
4776
-func (c *Collector) addServiceCharts(svc string) {
4777
- charts := serviceChartsTmpl.Copy()
4778
-
4779
- for _, chart := range *charts {
4780
- chart.ID = fmt.Sprintf(chart.ID, svc)
4781
- chart.Labels = []module.Label{
4782
- {Key: "service", Value: svc},
4783
- }
4784
- for _, dim := range chart.Dims {
4785
- dim.ID = fmt.Sprintf(dim.ID, svc)
4786
- }
4787
- }
4788
-
4789
- if err := c.Charts().Add(*charts...); err != nil {
4790
- c.Warning(err)
4791
- }
4792
-}
4793
-
4794
-func (c *Collector) removeServiceCharts(svc string) {
4795
- px := fmt.Sprintf("service_%s", svc)
4796
- c.removeCharts(px)
4797
-}
4798
-
4799
-func (c *Collector) addCollectorCharts(name string) {
4800
- charts := collectorChartsTmpl.Copy()
4801
-
4802
- for _, chart := range *charts {
4803
- chart.ID = fmt.Sprintf(chart.ID, name)
4804
- chart.Labels = []module.Label{
4805
- {Key: "collector", Value: name},
4806
- }
4807
- for _, dim := range chart.Dims {
4808
- dim.ID = fmt.Sprintf(dim.ID, name)
4809
- }
4810
- }
4811
-
4812
- if err := c.Charts().Add(*charts...); err != nil {
4813
- c.Warning(err)
4814
- }
4815
-}
4816
-
4817
-func (c *Collector) addHypervCharts() {
4818
- charts := hypervChartsTmpl.Copy()
4819
-
4820
- if err := c.Charts().Add(*charts...); err != nil {
4821
- c.Warning(err)
4822
- }
4823
-}
4824
-
4825
-func (c *Collector) addHypervVMCharts(vm string) {
4826
- charts := hypervVMChartsTemplate.Copy()
4827
- n := hypervCleanName(vm)
4828
-
4829
- for _, chart := range *charts {
4830
- chart.ID = fmt.Sprintf(chart.ID, n)
4831
- chart.Labels = []module.Label{
4832
- {Key: "vm_name", Value: vm},
4833
- }
4834
- for _, dim := range chart.Dims {
4835
- dim.ID = fmt.Sprintf(dim.ID, n)
4836
- }
4837
- }
4838
-
4839
- if err := c.Charts().Add(*charts...); err != nil {
4840
- c.Warning(err)
4841
- }
4842
-}
4843
-
4844
-func (c *Collector) removeHypervVMCharts(vm string) {
4845
- px := fmt.Sprintf("vm_%s", hypervCleanName(vm))
4846
- c.removeCharts(px)
4847
-}
4848
-
4849
-func (c *Collector) addHypervVMDeviceCharts(device string) {
4850
- charts := hypervVMDeviceChartsTemplate.Copy()
4851
- n := hypervCleanName(device)
4852
-
4853
- for _, chart := range *charts {
4854
- chart.ID = fmt.Sprintf(chart.ID, n)
4855
- chart.Labels = []module.Label{
4856
- {Key: "vm_device", Value: device},
4857
- }
4858
- for _, dim := range chart.Dims {
4859
- dim.ID = fmt.Sprintf(dim.ID, n)
4860
- }
4861
- }
4862
-
4863
- if err := c.Charts().Add(*charts...); err != nil {
4864
- c.Warning(err)
4865
- }
4866
-}
4867
-
4868
-func (c *Collector) removeHypervVMDeviceCharts(device string) {
4869
- px := fmt.Sprintf("vm_device_%s", hypervCleanName(device))
4870
- c.removeCharts(px)
4871
-}
4872
-
4873
-func (c *Collector) addHypervVMInterfaceCharts(iface string) {
4874
- charts := hypervVMInterfaceChartsTemplate.Copy()
4875
- n := hypervCleanName(iface)
4876
-
4877
- for _, chart := range *charts {
4878
- chart.ID = fmt.Sprintf(chart.ID, n)
4879
- chart.Labels = []module.Label{
4880
- {Key: "vm_interface", Value: iface},
4881
- }
4882
- for _, dim := range chart.Dims {
4883
- dim.ID = fmt.Sprintf(dim.ID, n)
4884
- }
4885
- }
4886
-
4887
- if err := c.Charts().Add(*charts...); err != nil {
4888
- c.Warning(err)
4889
- }
4890
-}
4891
-
4892
-func (c *Collector) removeHypervVMInterfaceCharts(iface string) {
4893
- px := fmt.Sprintf("vm_interface_%s", hypervCleanName(iface))
4894
- c.removeCharts(px)
4895
-}
4896
-
4897
-func (c *Collector) addHypervVSwitchCharts(vswitch string) {
4898
- charts := hypervVswitchChartsTemplate.Copy()
4899
- n := hypervCleanName(vswitch)
4900
-
4901
- for _, chart := range *charts {
4902
- chart.ID = fmt.Sprintf(chart.ID, n)
4903
- chart.Labels = []module.Label{
4904
- {Key: "vswitch", Value: vswitch},
4905
- }
4906
- for _, dim := range chart.Dims {
4907
- dim.ID = fmt.Sprintf(dim.ID, n)
4908
- }
4909
- }
4910
-
4911
- if err := c.Charts().Add(*charts...); err != nil {
4912
- c.Warning(err)
4913
- }
4914
-}
4915
-
4916
-func (c *Collector) removeHypervVSwitchCharts(vswitch string) {
4917
- px := fmt.Sprintf("vswitch_%s", hypervCleanName(vswitch))
4918
- c.removeCharts(px)
4919
-}
4920
-
4921
-func (c *Collector) removeCollectorCharts(name string) {
4922
- px := fmt.Sprintf("collector_%s", name)
4923
- c.removeCharts(px)
4924
-}
4925
-
4926
-func (c *Collector) removeCharts(prefix string) {
4927
- for _, chart := range *c.Charts() {
4928
- if strings.HasPrefix(chart.ID, prefix) {
4929
- chart.MarkRemove()
4930
- chart.MarkNotCreated()
4931
- }
4932
- }
4933
-}
src/go/plugin/go.d/collector/windows/collect.go
deleted
-156
@@ -1,156 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
7
-)
8
-
9
-const precision = 1000
10
-
11
-const (
12
- collectorAD = "ad"
13
- collectorADCS = "adcs"
14
- collectorADFS = "adfs"
15
- collectorCPU = "cpu"
16
- collectorMemory = "memory"
17
- collectorNet = "net"
18
- collectorLogicalDisk = "logical_disk"
19
- collectorOS = "os"
20
- collectorSystem = "system"
21
- collectorLogon = "logon"
22
- collectorThermalZone = "thermalzone"
23
- collectorTCP = "tcp"
24
- collectorIIS = "iis"
25
- collectorMSSQL = "mssql"
26
- collectorProcess = "process"
27
- collectorService = "service"
28
- collectorNetFrameworkCLRExceptions = "netframework_clrexceptions"
29
- collectorNetFrameworkCLRInterop = "netframework_clrinterop"
30
- collectorNetFrameworkCLRJIT = "netframework_clrjit"
31
- collectorNetFrameworkCLRLoading = "netframework_clrloading"
32
- collectorNetFrameworkCLRLocksAndThreads = "netframework_clrlocksandthreads"
33
- collectorNetFrameworkCLRMemory = "netframework_clrmemory"
34
- collectorNetFrameworkCLRRemoting = "netframework_clrremoting"
35
- collectorNetFrameworkCLRSecurity = "netframework_clrsecurity"
36
- collectorExchange = "exchange"
37
- collectorHyperv = "hyperv"
38
-)
39
-
40
-func (c *Collector) collect() (map[string]int64, error) {
41
- pms, err := c.prom.ScrapeSeries()
42
- if err != nil {
43
- return nil, err
44
- }
45
-
46
- mx := make(map[string]int64)
47
- c.collectMetrics(mx, pms)
48
-
49
- if hasKey(mx, "os_visible_memory_bytes", "memory_available_bytes") {
50
- mx["memory_used_bytes"] = 0 +
51
- mx["os_visible_memory_bytes"] -
52
- mx["memory_available_bytes"]
53
- }
54
- if hasKey(mx, "os_paging_limit_bytes", "os_paging_free_bytes") {
55
- mx["os_paging_used_bytes"] = 0 +
56
- mx["os_paging_limit_bytes"] -
57
- mx["os_paging_free_bytes"]
58
- }
59
- if hasKey(mx, "os_visible_memory_bytes", "os_physical_memory_free_bytes") {
60
- mx["os_visible_memory_used_bytes"] = 0 +
61
- mx["os_visible_memory_bytes"] -
62
- mx["os_physical_memory_free_bytes"]
63
- }
64
- if hasKey(mx, "memory_commit_limit", "memory_committed_bytes") {
65
- mx["memory_not_committed_bytes"] = 0 +
66
- mx["memory_commit_limit"] -
67
- mx["memory_committed_bytes"]
68
- }
69
- if hasKey(mx, "memory_standby_cache_reserve_bytes", "memory_standby_cache_normal_priority_bytes", "memory_standby_cache_core_bytes") {
70
- mx["memory_standby_cache_total"] = 0 +
71
- mx["memory_standby_cache_reserve_bytes"] +
72
- mx["memory_standby_cache_normal_priority_bytes"] +
73
- mx["memory_standby_cache_core_bytes"]
74
- }
75
- if hasKey(mx, "memory_standby_cache_total", "memory_modified_page_list_bytes") {
76
- mx["memory_cache_total"] = 0 +
77
- mx["memory_standby_cache_total"] +
78
- mx["memory_modified_page_list_bytes"]
79
- }
80
-
81
- return mx, nil
82
-}
83
-
84
-func (c *Collector) collectMetrics(mx map[string]int64, pms prometheus.Series) {
85
- c.collectCollector(mx, pms)
86
- for _, pm := range pms.FindByName(metricCollectorSuccess) {
87
- if pm.Value == 0 {
88
- continue
89
- }
90
-
91
- switch pm.Labels.Get("collector") {
92
- case collectorCPU:
93
- c.collectCPU(mx, pms)
94
- case collectorMemory:
95
- c.collectMemory(mx, pms)
96
- case collectorNet:
97
- c.collectNet(mx, pms)
98
- case collectorLogicalDisk:
99
- c.collectLogicalDisk(mx, pms)
100
- case collectorOS:
101
- c.collectOS(mx, pms)
102
- case collectorSystem:
103
- c.collectSystem(mx, pms)
104
- case collectorLogon:
105
- c.collectLogon(mx, pms)
106
- case collectorThermalZone:
107
- c.collectThermalzone(mx, pms)
108
- case collectorTCP:
109
- c.collectTCP(mx, pms)
110
- case collectorProcess:
111
- c.collectProcess(mx, pms)
112
- case collectorService:
113
- c.collectService(mx, pms)
114
- case collectorIIS:
115
- c.collectIIS(mx, pms)
116
- case collectorMSSQL:
117
- c.collectMSSQL(mx, pms)
118
- case collectorAD:
119
- c.collectAD(mx, pms)
120
- case collectorADCS:
121
- c.collectADCS(mx, pms)
122
- case collectorADFS:
123
- c.collectADFS(mx, pms)
124
- case collectorNetFrameworkCLRExceptions:
125
- c.collectNetFrameworkCLRExceptions(mx, pms)
126
- case collectorNetFrameworkCLRInterop:
127
- c.collectNetFrameworkCLRInterop(mx, pms)
128
- case collectorNetFrameworkCLRJIT:
129
- c.collectNetFrameworkCLRJIT(mx, pms)
130
- case collectorNetFrameworkCLRLoading:
131
- c.collectNetFrameworkCLRLoading(mx, pms)
132
- case collectorNetFrameworkCLRLocksAndThreads:
133
- c.collectNetFrameworkCLRLocksAndThreads(mx, pms)
134
- case collectorNetFrameworkCLRMemory:
135
- c.collectNetFrameworkCLRMemory(mx, pms)
136
- case collectorNetFrameworkCLRRemoting:
137
- c.collectNetFrameworkCLRRemoting(mx, pms)
138
- case collectorNetFrameworkCLRSecurity:
139
- c.collectNetFrameworkCLRSecurity(mx, pms)
140
- case collectorExchange:
141
- c.collectExchange(mx, pms)
142
- case collectorHyperv:
143
- c.collectHyperv(mx, pms)
144
- }
145
- }
146
-}
147
-
148
-func hasKey(mx map[string]int64, key string, keys ...string) bool {
149
- _, ok := mx[key]
150
- switch len(keys) {
151
- case 0:
152
- return ok
153
- default:
154
- return ok && hasKey(mx, keys[0], keys[1:]...)
155
- }
156
-}
src/go/plugin/go.d/collector/windows/collect_ad.go
deleted
-100
@@ -1,100 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
6
-
7
-// Windows exporter:
8
-// https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.ad.md
9
-// Microsoft:
10
-// https://learn.microsoft.com/en-us/previous-versions/ms803980(v=msdn.10)
11
-const (
12
- metricADATQAverageRequestLatency = "windows_ad_atq_average_request_latency"
13
- metricADATQOutstandingRequests = "windows_ad_atq_outstanding_requests"
14
- metricADDatabaseOperationsTotal = "windows_ad_database_operations_total"
15
- metricADDirectoryOperationsTotal = "windows_ad_directory_operations_total"
16
- metricADReplicationInboundObjectsFilteringTotal = "windows_ad_replication_inbound_objects_filtered_total"
17
- metricADReplicationInboundPropertiesFilteredTotal = "windows_ad_replication_inbound_properties_filtered_total"
18
- metricADReplicationInboundPropertiesUpdatedTotal = "windows_ad_replication_inbound_properties_updated_total"
19
- metricADReplicationInboundSyncObjectsRemaining = "windows_ad_replication_inbound_sync_objects_remaining"
20
- metricADReplicationDataInterSiteBytesTotal = "windows_ad_replication_data_intersite_bytes_total"
21
- metricADReplicationDataIntraSiteBytesTotal = "windows_ad_replication_data_intrasite_bytes_total"
22
- metricADReplicationPendingSyncs = "windows_ad_replication_pending_synchronizations"
23
- metricADReplicationSyncRequestsTotal = "windows_ad_replication_sync_requests_total"
24
- metricADDirectoryServiceThreads = "windows_ad_directory_service_threads"
25
- metricADLDAPLastBindTimeSecondsTotal = "windows_ad_ldap_last_bind_time_seconds"
26
- metricADBindsTotal = "windows_ad_binds_total"
27
- metricADLDAPSearchesTotal = "windows_ad_ldap_searches_total"
28
- metricADNameCacheLookupsTotal = "windows_ad_name_cache_lookups_total"
29
- metricADNameCacheHitsTotal = "windows_ad_name_cache_hits_total"
30
-)
31
-
32
-func (c *Collector) collectAD(mx map[string]int64, pms prometheus.Series) {
33
- if !c.cache.collection[collectorAD] {
34
- c.cache.collection[collectorAD] = true
35
- c.addADCharts()
36
- }
37
-
38
- if pm := pms.FindByName(metricADATQAverageRequestLatency); pm.Len() > 0 {
39
- mx["ad_atq_average_request_latency"] = int64(pm.Max() * precision)
40
- }
41
- if pm := pms.FindByName(metricADATQOutstandingRequests); pm.Len() > 0 {
42
- mx["ad_atq_outstanding_requests"] = int64(pm.Max())
43
- }
44
- for _, pm := range pms.FindByName(metricADDatabaseOperationsTotal) {
45
- if op := pm.Labels.Get("operation"); op != "" {
46
- mx["ad_database_operations_total_"+op] = int64(pm.Value)
47
- }
48
- }
49
- for _, pm := range pms.FindByName(metricADDirectoryOperationsTotal) {
50
- if op := pm.Labels.Get("operation"); op != "" {
51
- mx["ad_directory_operations_total_"+op] += int64(pm.Value) // sum "origin"
52
- }
53
- }
54
- if pm := pms.FindByName(metricADReplicationInboundObjectsFilteringTotal); pm.Len() > 0 {
55
- mx["ad_replication_inbound_objects_filtered_total"] = int64(pm.Max())
56
- }
57
- if pm := pms.FindByName(metricADReplicationInboundPropertiesFilteredTotal); pm.Len() > 0 {
58
- mx["ad_replication_inbound_properties_filtered_total"] = int64(pm.Max())
59
- }
60
- if pm := pms.FindByName(metricADReplicationInboundPropertiesUpdatedTotal); pm.Len() > 0 {
61
- mx["ad_replication_inbound_properties_updated_total"] = int64(pm.Max())
62
- }
63
- if pm := pms.FindByName(metricADReplicationInboundSyncObjectsRemaining); pm.Len() > 0 {
64
- mx["ad_replication_inbound_sync_objects_remaining"] = int64(pm.Max())
65
- }
66
- for _, pm := range pms.FindByName(metricADReplicationDataInterSiteBytesTotal) {
67
- if name := pm.Labels.Get("direction"); name != "" {
68
- mx["ad_replication_data_intersite_bytes_total_"+name] = int64(pm.Value)
69
- }
70
- }
71
- for _, pm := range pms.FindByName(metricADReplicationDataIntraSiteBytesTotal) {
72
- if name := pm.Labels.Get("direction"); name != "" {
73
- mx["ad_replication_data_intrasite_bytes_total_"+name] = int64(pm.Value)
74
- }
75
- }
76
- if pm := pms.FindByName(metricADReplicationPendingSyncs); pm.Len() > 0 {
77
- mx["ad_replication_pending_synchronizations"] = int64(pm.Max())
78
- }
79
- if pm := pms.FindByName(metricADReplicationSyncRequestsTotal); pm.Len() > 0 {
80
- mx["ad_replication_sync_requests_total"] = int64(pm.Max())
81
- }
82
- if pm := pms.FindByName(metricADDirectoryServiceThreads); pm.Len() > 0 {
83
- mx["ad_directory_service_threads"] = int64(pm.Max())
84
- }
85
- if pm := pms.FindByName(metricADLDAPLastBindTimeSecondsTotal); pm.Len() > 0 {
86
- mx["ad_ldap_last_bind_time_seconds"] = int64(pm.Max())
87
- }
88
- for _, pm := range pms.FindByName(metricADBindsTotal) {
89
- mx["ad_binds_total"] += int64(pm.Value) // sum "bind_method"'s
90
- }
91
- if pm := pms.FindByName(metricADLDAPSearchesTotal); pm.Len() > 0 {
92
- mx["ad_ldap_searches_total"] = int64(pm.Max())
93
- }
94
- if pm := pms.FindByName(metricADNameCacheLookupsTotal); pm.Len() > 0 {
95
- mx["ad_name_cache_lookups_total"] = int64(pm.Max())
96
- }
97
- if pm := pms.FindByName(metricADNameCacheHitsTotal); pm.Len() > 0 {
98
- mx["ad_name_cache_hits_total"] = int64(pm.Max())
99
- }
100
-}
src/go/plugin/go.d/collector/windows/collect_adcs.go
deleted
-70
@@ -1,70 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "strings"
7
-
8
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
9
-)
10
-
11
-const (
12
- metricADCSRequestsTotal = "windows_adcs_requests_total"
13
- metricADCSFailedRequestsTotal = "windows_adcs_failed_requests_total"
14
- metricADCSIssuedRequestsTotal = "windows_adcs_issued_requests_total"
15
- metricADCSPendingRequestsTotal = "windows_adcs_pending_requests_total"
16
- metricADCSRequestProcessingTime = "windows_adcs_request_processing_time_seconds"
17
- metricADCSRetrievalsTotal = "windows_adcs_retrievals_total"
18
- metricADCSRetrievalsProcessingTime = "windows_adcs_retrievals_processing_time_seconds"
19
- metricADCSRequestCryptoSigningTime = "windows_adcs_request_cryptographic_signing_time_seconds"
20
- metricADCSRequestPolicyModuleProcessingTime = "windows_adcs_request_policy_module_processing_time_seconds"
21
- metricADCSChallengeResponseResponsesTotal = "windows_adcs_challenge_responses_total"
22
- metricADCSChallengeResponseProcessingTime = "windows_adcs_challenge_response_processing_time_seconds"
23
- metricADCSSignedCertTimestampListsTotal = "windows_adcs_signed_certificate_timestamp_lists_total"
24
- metricADCSSignedCertTimestampListProcessingTime = "windows_adcs_signed_certificate_timestamp_list_processing_time_seconds"
25
-)
26
-
27
-func (c *Collector) collectADCS(mx map[string]int64, pms prometheus.Series) {
28
- pms = pms.FindByNames(
29
- metricADCSRequestsTotal,
30
- metricADCSFailedRequestsTotal,
31
- metricADCSIssuedRequestsTotal,
32
- metricADCSPendingRequestsTotal,
33
- metricADCSRequestProcessingTime,
34
- metricADCSRetrievalsTotal,
35
- metricADCSRetrievalsProcessingTime,
36
- metricADCSRequestCryptoSigningTime,
37
- metricADCSRequestPolicyModuleProcessingTime,
38
- metricADCSChallengeResponseResponsesTotal,
39
- metricADCSChallengeResponseProcessingTime,
40
- metricADCSSignedCertTimestampListsTotal,
41
- metricADCSSignedCertTimestampListProcessingTime,
42
- )
43
-
44
- seen := make(map[string]bool)
45
-
46
- for _, pm := range pms {
47
- if tmpl := pm.Labels.Get("cert_template"); tmpl != "" && tmpl != "_Total" {
48
- seen[tmpl] = true
49
- name := strings.TrimPrefix(pm.Name(), "windows_adcs_")
50
- v := pm.Value
51
- if strings.HasSuffix(pm.Name(), "_seconds") {
52
- v *= precision
53
- }
54
- mx["adcs_cert_template_"+tmpl+"_"+name] += int64(v)
55
- }
56
- }
57
-
58
- for template := range seen {
59
- if !c.cache.adcs[template] {
60
- c.cache.adcs[template] = true
61
- c.addCertificateTemplateCharts(template)
62
- }
63
- }
64
- for template := range c.cache.adcs {
65
- if !seen[template] {
66
- delete(c.cache.adcs, template)
67
- c.removeCertificateTemplateCharts(template)
68
- }
69
- }
70
-}
src/go/plugin/go.d/collector/windows/collect_adfs.go
deleted
-119
@@ -1,119 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "strings"
7
-
8
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
9
-)
10
-
11
-const (
12
- metricADFSADLoginConnectionFailuresTotal = "windows_adfs_ad_login_connection_failures_total"
13
- metricADFSCertificateAuthenticationsTotal = "windows_adfs_certificate_authentications_total"
14
- metricADFSDBArtifactFailureTotal = "windows_adfs_db_artifact_failure_total"
15
- metricADFSDBArtifactQueryTimeSeconds = "windows_adfs_db_artifact_query_time_seconds_total"
16
- metricADFSDBConfigFailureTotal = "windows_adfs_db_config_failure_total"
17
- metricADFSDBQueryTimeSecondsTotal = "windows_adfs_db_config_query_time_seconds_total"
18
- metricADFSDeviceAuthenticationsTotal = "windows_adfs_device_authentications_total"
19
- metricADFSExternalAuthenticationsFailureTotal = "windows_adfs_external_authentications_failure_total"
20
- metricADFSExternalAuthenticationsSuccessTotal = "windows_adfs_external_authentications_success_total"
21
- metricADFSExtranetAccountLockoutsTotal = "windows_adfs_extranet_account_lockouts_total"
22
- metricADFSFederatedAuthenticationsTotal = "windows_adfs_federated_authentications_total"
23
- metricADFSFederationMetadataRequestsTotal = "windows_adfs_federation_metadata_requests_total"
24
-
25
- metricADFSOauthAuthorizationRequestsTotal = "windows_adfs_oauth_authorization_requests_total"
26
- metricADFSOauthClientAuthenticationFailureTotal = "windows_adfs_oauth_client_authentication_failure_total"
27
- metricADFSOauthClientAuthenticationSuccessTotal = "windows_adfs_oauth_client_authentication_success_total"
28
- metricADFSOauthClientCredentialsFailureTotal = "windows_adfs_oauth_client_credentials_failure_total"
29
- metricADFSOauthClientCredentialsSuccessTotal = "windows_adfs_oauth_client_credentials_success_total"
30
- metricADFSOauthClientPrivKeyJTWAuthenticationFailureTotal = "windows_adfs_oauth_client_privkey_jtw_authentication_failure_total"
31
- metricADFSOauthClientPrivKeyJWTAuthenticationSuccessTotal = "windows_adfs_oauth_client_privkey_jwt_authentications_success_total"
32
- metricADFSOauthClientSecretBasicAuthenticationsFailureTotal = "windows_adfs_oauth_client_secret_basic_authentications_failure_total"
33
- metricADFSADFSOauthClientSecretBasicAuthenticationsSuccessTotal = "windows_adfs_oauth_client_secret_basic_authentications_success_total"
34
- metricADFSOauthClientSecretPostAuthenticationsFailureTotal = "windows_adfs_oauth_client_secret_post_authentications_failure_total"
35
- metricADFSOauthClientSecretPostAuthenticationsSuccessTotal = "windows_adfs_oauth_client_secret_post_authentications_success_total"
36
- metricADFSOauthClientWindowsAuthenticationsFailureTotal = "windows_adfs_oauth_client_windows_authentications_failure_total"
37
- metricADFSOauthClientWindowsAuthenticationsSuccessTotal = "windows_adfs_oauth_client_windows_authentications_success_total"
38
- metricADFSOauthLogonCertificateRequestsFailureTotal = "windows_adfs_oauth_logon_certificate_requests_failure_total"
39
- metricADFSOauthLogonCertificateTokenRequestsSuccessTotal = "windows_adfs_oauth_logon_certificate_token_requests_success_total"
40
- metricADFSOauthPasswordGrantRequestsFailureTotal = "windows_adfs_oauth_password_grant_requests_failure_total"
41
- metricADFSOauthPasswordGrantRequestsSuccessTotal = "windows_adfs_oauth_password_grant_requests_success_total"
42
- metricADFSOauthTokenRequestsSuccessTotal = "windows_adfs_oauth_token_requests_success_total"
43
-
44
- metricADFSPassiveRequestsTotal = "windows_adfs_passive_requests_total"
45
- metricADFSPasswortAuthenticationsTotal = "windows_adfs_passport_authentications_total"
46
- metricADFSPasswordChangeFailedTotal = "windows_adfs_password_change_failed_total"
47
- metricADFSWPasswordChangeSucceededTotal = "windows_adfs_password_change_succeeded_total"
48
- metricADFSSamlpTokenRequestsSuccessTotal = "windows_adfs_samlp_token_requests_success_total"
49
- metricADFSSSOAuthenticationsFailureTotal = "windows_adfs_sso_authentications_failure_total"
50
- metricADFSSSOAuthenticationsSuccessTotal = "windows_adfs_sso_authentications_success_total"
51
- metricADFSTokenRequestsTotal = "windows_adfs_token_requests_total"
52
- metricADFSUserPasswordAuthenticationsFailureTotal = "windows_adfs_userpassword_authentications_failure_total"
53
- metricADFSUserPasswordAuthenticationsSuccessTotal = "windows_adfs_userpassword_authentications_success_total"
54
- metricADFSWindowsIntegratedAuthenticationsTotal = "windows_adfs_windows_integrated_authentications_total"
55
- metricADFSWSFedTokenRequestsSuccessTotal = "windows_adfs_wsfed_token_requests_success_total"
56
- metricADFSWSTrustTokenRequestsSuccessTotal = "windows_adfs_wstrust_token_requests_success_total"
57
-)
58
-
59
-var adfsMetrics = []string{
60
- metricADFSADLoginConnectionFailuresTotal,
61
- metricADFSCertificateAuthenticationsTotal,
62
- metricADFSDBArtifactFailureTotal,
63
- metricADFSDBArtifactQueryTimeSeconds,
64
- metricADFSDBConfigFailureTotal,
65
- metricADFSDBQueryTimeSecondsTotal,
66
- metricADFSDeviceAuthenticationsTotal,
67
- metricADFSExternalAuthenticationsFailureTotal,
68
- metricADFSExternalAuthenticationsSuccessTotal,
69
- metricADFSExtranetAccountLockoutsTotal,
70
- metricADFSFederatedAuthenticationsTotal,
71
- metricADFSFederationMetadataRequestsTotal,
72
- metricADFSOauthAuthorizationRequestsTotal,
73
- metricADFSOauthClientAuthenticationFailureTotal,
74
- metricADFSOauthClientAuthenticationSuccessTotal,
75
- metricADFSOauthClientCredentialsFailureTotal,
76
- metricADFSOauthClientCredentialsSuccessTotal,
77
- metricADFSOauthClientPrivKeyJTWAuthenticationFailureTotal,
78
- metricADFSOauthClientPrivKeyJWTAuthenticationSuccessTotal,
79
- metricADFSOauthClientSecretBasicAuthenticationsFailureTotal,
80
- metricADFSADFSOauthClientSecretBasicAuthenticationsSuccessTotal,
81
- metricADFSOauthClientSecretPostAuthenticationsFailureTotal,
82
- metricADFSOauthClientSecretPostAuthenticationsSuccessTotal,
83
- metricADFSOauthClientWindowsAuthenticationsFailureTotal,
84
- metricADFSOauthClientWindowsAuthenticationsSuccessTotal,
85
- metricADFSOauthLogonCertificateRequestsFailureTotal,
86
- metricADFSOauthLogonCertificateTokenRequestsSuccessTotal,
87
- metricADFSOauthPasswordGrantRequestsFailureTotal,
88
- metricADFSOauthPasswordGrantRequestsSuccessTotal,
89
- metricADFSOauthTokenRequestsSuccessTotal,
90
- metricADFSPassiveRequestsTotal,
91
- metricADFSPasswortAuthenticationsTotal,
92
- metricADFSPasswordChangeFailedTotal,
93
- metricADFSWPasswordChangeSucceededTotal,
94
- metricADFSSamlpTokenRequestsSuccessTotal,
95
- metricADFSSSOAuthenticationsFailureTotal,
96
- metricADFSSSOAuthenticationsSuccessTotal,
97
- metricADFSTokenRequestsTotal,
98
- metricADFSUserPasswordAuthenticationsFailureTotal,
99
- metricADFSUserPasswordAuthenticationsSuccessTotal,
100
- metricADFSWindowsIntegratedAuthenticationsTotal,
101
- metricADFSWSFedTokenRequestsSuccessTotal,
102
- metricADFSWSTrustTokenRequestsSuccessTotal,
103
-}
104
-
105
-func (c *Collector) collectADFS(mx map[string]int64, pms prometheus.Series) {
106
- if !c.cache.collection[collectorADFS] {
107
- c.cache.collection[collectorADFS] = true
108
- c.addADFSCharts()
109
- }
110
-
111
- for _, pm := range pms.FindByNames(adfsMetrics...) {
112
- name := strings.TrimPrefix(pm.Name(), "windows_")
113
- v := pm.Value
114
- if strings.HasSuffix(name, "_seconds_total") {
115
- v *= precision
116
- }
117
- mx[name] = int64(v)
118
- }
119
-}
src/go/plugin/go.d/collector/windows/collect_collector.go
deleted
-46
@@ -1,46 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
7
-)
8
-
9
-const (
10
- metricCollectorDuration = "windows_exporter_collector_duration_seconds"
11
- metricCollectorSuccess = "windows_exporter_collector_success"
12
-)
13
-
14
-func (c *Collector) collectCollector(mx map[string]int64, pms prometheus.Series) {
15
- seen := make(map[string]bool)
16
- px := "collector_"
17
- for _, pm := range pms.FindByName(metricCollectorDuration) {
18
- if name := pm.Labels.Get("collector"); name != "" {
19
- seen[name] = true
20
- mx[px+name+"_duration"] = int64(pm.Value * precision)
21
- }
22
- }
23
- for _, pm := range pms.FindByName(metricCollectorSuccess) {
24
- if name := pm.Labels.Get("collector"); name != "" {
25
- seen[name] = true
26
- if pm.Value == 1 {
27
- mx[px+name+"_status_success"], mx[px+name+"_status_fail"] = 1, 0
28
- } else {
29
- mx[px+name+"_status_success"], mx[px+name+"_status_fail"] = 0, 1
30
- }
31
- }
32
- }
33
-
34
- for name := range seen {
35
- if !c.cache.collectors[name] {
36
- c.cache.collectors[name] = true
37
- c.addCollectorCharts(name)
38
- }
39
- }
40
- for name := range c.cache.collectors {
41
- if !seen[name] {
42
- delete(c.cache.collectors, name)
43
- c.removeCollectorCharts(name)
44
- }
45
- }
46
-}
src/go/plugin/go.d/collector/windows/collect_cpu.go
deleted
-78
@@ -1,78 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
7
-)
8
-
9
-const (
10
- metricCPUTimeTotal = "windows_cpu_time_total"
11
- metricCPUInterruptsTotal = "windows_cpu_interrupts_total"
12
- metricCPUDPCsTotal = "windows_cpu_dpcs_total"
13
- metricCPUCStateTotal = "windows_cpu_cstate_seconds_total"
14
-)
15
-
16
-func (c *Collector) collectCPU(mx map[string]int64, pms prometheus.Series) {
17
- if !c.cache.collection[collectorCPU] {
18
- c.cache.collection[collectorCPU] = true
19
- c.addCPUCharts()
20
- }
21
-
22
- seen := make(map[string]bool)
23
- for _, pm := range pms.FindByName(metricCPUTimeTotal) {
24
- core := pm.Labels.Get("core")
25
- mode := pm.Labels.Get("mode")
26
- if core == "" || mode == "" {
27
- continue
28
- }
29
-
30
- seen[core] = true
31
- mx["cpu_"+mode+"_time"] += int64(pm.Value * precision)
32
- mx["cpu_core_"+core+"_"+mode+"_time"] += int64(pm.Value * precision)
33
- }
34
-
35
- for _, pm := range pms.FindByName(metricCPUInterruptsTotal) {
36
- core := pm.Labels.Get("core")
37
- if core == "" {
38
- continue
39
- }
40
-
41
- seen[core] = true
42
- mx["cpu_core_"+core+"_interrupts"] += int64(pm.Value)
43
- }
44
-
45
- for _, pm := range pms.FindByName(metricCPUDPCsTotal) {
46
- core := pm.Labels.Get("core")
47
- if core == "" {
48
- continue
49
- }
50
-
51
- seen[core] = true
52
- mx["cpu_core_"+core+"_dpcs"] += int64(pm.Value)
53
- }
54
-
55
- for _, pm := range pms.FindByName(metricCPUCStateTotal) {
56
- core := pm.Labels.Get("core")
57
- state := pm.Labels.Get("state")
58
- if core == "" || state == "" {
59
- continue
60
- }
61
-
62
- seen[core] = true
63
- mx["cpu_core_"+core+"_cstate_"+state] += int64(pm.Value * precision)
64
- }
65
-
66
- for core := range seen {
67
- if !c.cache.cores[core] {
68
- c.cache.cores[core] = true
69
- c.addCPUCoreCharts(core)
70
- }
71
- }
72
- for core := range c.cache.cores {
73
- if !seen[core] {
74
- delete(c.cache.cores, core)
75
- c.removeCPUCoreCharts(core)
76
- }
77
- }
78
-}
src/go/plugin/go.d/collector/windows/collect_exchange.go
deleted
-245
@@ -1,245 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "strings"
7
-
8
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/metrix"
9
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
10
-)
11
-
12
-const (
13
- metricExchangeActiveSyncPingCmdsPending = "windows_exchange_activesync_ping_cmds_pending"
14
- metricExchangeActiveSyncRequestsTotal = "windows_exchange_activesync_requests_total"
15
- metricExchangeActiveSyncCMDsTotal = "windows_exchange_activesync_sync_cmds_total"
16
- metricExchangeAutoDiscoverRequestsTotal = "windows_exchange_autodiscover_requests_total"
17
- metricExchangeAvailServiceRequestsPerSec = "windows_exchange_avail_service_requests_per_sec"
18
- metricExchangeOWACurrentUniqueUsers = "windows_exchange_owa_current_unique_users"
19
- metricExchangeOWARequestsTotal = "windows_exchange_owa_requests_total"
20
- metricExchangeRPCActiveUserCount = "windows_exchange_rpc_active_user_count"
21
- metricExchangeRPCAvgLatencySec = "windows_exchange_rpc_avg_latency_sec"
22
- metricExchangeRPCConnectionCount = "windows_exchange_rpc_connection_count"
23
- metricExchangeRPCOperationsTotal = "windows_exchange_rpc_operations_total"
24
- metricExchangeRPCRequests = "windows_exchange_rpc_requests"
25
- metricExchangeRPCUserCount = "windows_exchange_rpc_user_count"
26
-
27
- metricExchangeTransportQueuesActiveMailboxDelivery = "windows_exchange_transport_queues_active_mailbox_delivery"
28
- metricExchangeTransportQueuesExternalActiveRemoteDelivery = "windows_exchange_transport_queues_external_active_remote_delivery"
29
- metricExchangeTransportQueuesExternalLargestDelivery = "windows_exchange_transport_queues_external_largest_delivery"
30
- metricExchangeTransportQueuesInternalActiveRemoteDelivery = "windows_exchange_transport_queues_internal_active_remote_delivery"
31
- metricExchangeTransportQueuesInternalLargestDelivery = "windows_exchange_transport_queues_internal_largest_delivery"
32
- metricExchangeTransportQueuesPoison = "windows_exchange_transport_queues_poison"
33
- metricExchangeTransportQueuesRetryMailboxDelivery = "windows_exchange_transport_queues_retry_mailbox_delivery"
34
- metricExchangeTransportQueuesUnreachable = "windows_exchange_transport_queues_unreachable"
35
-
36
- metricExchangeWorkloadActiveTasks = "windows_exchange_workload_active_tasks"
37
- metricExchangeWorkloadCompletedTasks = "windows_exchange_workload_completed_tasks"
38
- metricExchangeWorkloadQueuedTasks = "windows_exchange_workload_queued_tasks"
39
- metricExchangeWorkloadYieldedTasks = "windows_exchange_workload_yielded_tasks"
40
- metricExchangeWorkloadIsActive = "windows_exchange_workload_is_active"
41
-
42
- metricExchangeLDAPLongRunningOPSPerSec = "windows_exchange_ldap_long_running_ops_per_sec"
43
- metricExchangeLDAPReadTimeSec = "windows_exchange_ldap_read_time_sec"
44
- metricExchangeLDAPSearchTmeSec = "windows_exchange_ldap_search_time_sec"
45
- metricExchangeLDAPWriteTimeSec = "windows_exchange_ldap_write_time_sec"
46
- metricExchangeLDAPTimeoutErrorsTotal = "windows_exchange_ldap_timeout_errors_total"
47
-
48
- metricExchangeHTTPProxyAvgAuthLatency = "windows_exchange_http_proxy_avg_auth_latency"
49
- metricExchangeHTTPProxyAvgCASProcessingLatencySec = "windows_exchange_http_proxy_avg_cas_proccessing_latency_sec"
50
- metricExchangeHTTPProxyMailboxProxyFailureRate = "windows_exchange_http_proxy_mailbox_proxy_failure_rate"
51
- metricExchangeHTTPProxyMailboxServerLocatorAvgLatencySec = "windows_exchange_http_proxy_mailbox_server_locator_avg_latency_sec"
52
- metricExchangeHTTPProxyOutstandingProxyRequests = "windows_exchange_http_proxy_outstanding_proxy_requests"
53
- metricExchangeHTTPProxyRequestsTotal = "windows_exchange_http_proxy_requests_total"
54
-)
55
-
56
-func (c *Collector) collectExchange(mx map[string]int64, pms prometheus.Series) {
57
- if !c.cache.collection[collectorExchange] {
58
- c.cache.collection[collectorExchange] = true
59
- c.addExchangeCharts()
60
- }
61
-
62
- if pm := pms.FindByName(metricExchangeActiveSyncPingCmdsPending); pm.Len() > 0 {
63
- mx["exchange_activesync_ping_cmds_pending"] = int64(pm.Max())
64
- }
65
- if pm := pms.FindByName(metricExchangeActiveSyncRequestsTotal); pm.Len() > 0 {
66
- mx["exchange_activesync_requests_total"] = int64(pm.Max())
67
- }
68
- if pm := pms.FindByName(metricExchangeActiveSyncCMDsTotal); pm.Len() > 0 {
69
- mx["exchange_activesync_sync_cmds_total"] = int64(pm.Max())
70
- }
71
- if pm := pms.FindByName(metricExchangeAutoDiscoverRequestsTotal); pm.Len() > 0 {
72
- mx["exchange_autodiscover_requests_total"] = int64(pm.Max())
73
- }
74
- if pm := pms.FindByName(metricExchangeAvailServiceRequestsPerSec); pm.Len() > 0 {
75
- mx["exchange_avail_service_requests_per_sec"] = int64(pm.Max())
76
- }
77
- if pm := pms.FindByName(metricExchangeOWACurrentUniqueUsers); pm.Len() > 0 {
78
- mx["exchange_owa_current_unique_users"] = int64(pm.Max())
79
- }
80
- if pm := pms.FindByName(metricExchangeOWARequestsTotal); pm.Len() > 0 {
81
- mx["exchange_owa_requests_total"] = int64(pm.Max())
82
- }
83
- if pm := pms.FindByName(metricExchangeRPCActiveUserCount); pm.Len() > 0 {
84
- mx["exchange_rpc_active_user_count"] = int64(pm.Max())
85
- }
86
- if pm := pms.FindByName(metricExchangeRPCAvgLatencySec); pm.Len() > 0 {
87
- mx["exchange_rpc_avg_latency_sec"] = int64(pm.Max() * precision)
88
- }
89
- if pm := pms.FindByName(metricExchangeRPCConnectionCount); pm.Len() > 0 {
90
- mx["exchange_rpc_connection_count"] = int64(pm.Max())
91
- }
92
- if pm := pms.FindByName(metricExchangeRPCOperationsTotal); pm.Len() > 0 {
93
- mx["exchange_rpc_operations_total"] = int64(pm.Max())
94
- }
95
- if pm := pms.FindByName(metricExchangeRPCRequests); pm.Len() > 0 {
96
- mx["exchange_rpc_requests"] = int64(pm.Max())
97
- }
98
- if pm := pms.FindByName(metricExchangeRPCUserCount); pm.Len() > 0 {
99
- mx["exchange_rpc_user_count"] = int64(pm.Max())
100
- }
101
-
102
- c.collectExchangeAddTransportQueueMetric(mx, pms)
103
- c.collectExchangeAddWorkloadMetric(mx, pms)
104
- c.collectExchangeAddLDAPMetric(mx, pms)
105
- c.collectExchangeAddHTTPProxyMetric(mx, pms)
106
-}
107
-
108
-func (c *Collector) collectExchangeAddTransportQueueMetric(mx map[string]int64, pms prometheus.Series) {
109
- pms = pms.FindByNames(
110
- metricExchangeTransportQueuesActiveMailboxDelivery,
111
- metricExchangeTransportQueuesExternalActiveRemoteDelivery,
112
- metricExchangeTransportQueuesExternalLargestDelivery,
113
- metricExchangeTransportQueuesInternalActiveRemoteDelivery,
114
- metricExchangeTransportQueuesInternalLargestDelivery,
115
- metricExchangeTransportQueuesPoison,
116
- metricExchangeTransportQueuesRetryMailboxDelivery,
117
- metricExchangeTransportQueuesUnreachable,
118
- )
119
-
120
- for _, pm := range pms {
121
- if name := pm.Labels.Get("name"); name != "" && name != "total_excluding_priority_none" {
122
- metric := strings.TrimPrefix(pm.Name(), "windows_")
123
- mx[metric+"_"+name] += int64(pm.Value)
124
- }
125
- }
126
-}
127
-
128
-func (c *Collector) collectExchangeAddWorkloadMetric(mx map[string]int64, pms prometheus.Series) {
129
- seen := make(map[string]bool)
130
-
131
- for _, pm := range pms.FindByNames(
132
- metricExchangeWorkloadActiveTasks,
133
- metricExchangeWorkloadCompletedTasks,
134
- metricExchangeWorkloadQueuedTasks,
135
- metricExchangeWorkloadYieldedTasks,
136
- ) {
137
- if name := pm.Labels.Get("name"); name != "" {
138
- seen[name] = true
139
- metric := strings.TrimPrefix(pm.Name(), "windows_exchange_workload_")
140
- mx["exchange_workload_"+name+"_"+metric] += int64(pm.Value)
141
- }
142
- }
143
-
144
- for _, pm := range pms.FindByName(metricExchangeWorkloadIsActive) {
145
- if name := pm.Labels.Get("name"); name != "" {
146
- seen[name] = true
147
- mx["exchange_workload_"+name+"_is_active"] += metrix.Bool(pm.Value == 1)
148
- mx["exchange_workload_"+name+"_is_paused"] += metrix.Bool(pm.Value == 0)
149
- }
150
- }
151
-
152
- for name := range seen {
153
- if !c.cache.exchangeWorkload[name] {
154
- c.cache.exchangeWorkload[name] = true
155
- c.addExchangeWorkloadCharts(name)
156
- }
157
- }
158
- for name := range c.cache.exchangeWorkload {
159
- if !seen[name] {
160
- delete(c.cache.exchangeWorkload, name)
161
- c.removeExchangeWorkloadCharts(name)
162
- }
163
- }
164
-}
165
-
166
-func (c *Collector) collectExchangeAddLDAPMetric(mx map[string]int64, pms prometheus.Series) {
167
- seen := make(map[string]bool)
168
-
169
- for _, pm := range pms.FindByNames(
170
- metricExchangeLDAPLongRunningOPSPerSec,
171
- metricExchangeLDAPTimeoutErrorsTotal,
172
- ) {
173
- if name := pm.Labels.Get("name"); name != "" {
174
- seen[name] = true
175
- metric := strings.TrimPrefix(pm.Name(), "windows_exchange_ldap_")
176
- mx["exchange_ldap_"+name+"_"+metric] += int64(pm.Value)
177
- }
178
- }
179
-
180
- for _, pm := range pms.FindByNames(
181
- metricExchangeLDAPReadTimeSec,
182
- metricExchangeLDAPSearchTmeSec,
183
- metricExchangeLDAPWriteTimeSec,
184
- ) {
185
- if name := pm.Labels.Get("name"); name != "" {
186
- seen[name] = true
187
- metric := strings.TrimPrefix(pm.Name(), "windows_exchange_ldap_")
188
- mx["exchange_ldap_"+name+"_"+metric] += int64(pm.Value * precision)
189
- }
190
- }
191
-
192
- for name := range seen {
193
- if !c.cache.exchangeLDAP[name] {
194
- c.cache.exchangeLDAP[name] = true
195
- c.addExchangeLDAPCharts(name)
196
- }
197
- }
198
- for name := range c.cache.exchangeLDAP {
199
- if !seen[name] {
200
- delete(c.cache.exchangeLDAP, name)
201
- c.removeExchangeLDAPCharts(name)
202
- }
203
- }
204
-}
205
-
206
-func (c *Collector) collectExchangeAddHTTPProxyMetric(mx map[string]int64, pms prometheus.Series) {
207
- seen := make(map[string]bool)
208
-
209
- for _, pm := range pms.FindByNames(
210
- metricExchangeHTTPProxyAvgAuthLatency,
211
- metricExchangeHTTPProxyOutstandingProxyRequests,
212
- metricExchangeHTTPProxyRequestsTotal,
213
- ) {
214
- if name := pm.Labels.Get("name"); name != "" {
215
- seen[name] = true
216
- metric := strings.TrimPrefix(pm.Name(), "windows_exchange_http_proxy_")
217
- mx["exchange_http_proxy_"+name+"_"+metric] += int64(pm.Value)
218
- }
219
- }
220
-
221
- for _, pm := range pms.FindByNames(
222
- metricExchangeHTTPProxyAvgCASProcessingLatencySec,
223
- metricExchangeHTTPProxyMailboxProxyFailureRate,
224
- metricExchangeHTTPProxyMailboxServerLocatorAvgLatencySec,
225
- ) {
226
- if name := pm.Labels.Get("name"); name != "" {
227
- seen[name] = true
228
- metric := strings.TrimPrefix(pm.Name(), "windows_exchange_http_proxy_")
229
- mx["exchange_http_proxy_"+name+"_"+metric] += int64(pm.Value * precision)
230
- }
231
- }
232
-
233
- for name := range seen {
234
- if !c.cache.exchangeHTTPProxy[name] {
235
- c.cache.exchangeHTTPProxy[name] = true
236
- c.addExchangeHTTPProxyCharts(name)
237
- }
238
- }
239
- for name := range c.cache.exchangeHTTPProxy {
240
- if !seen[name] {
241
- delete(c.cache.exchangeHTTPProxy, name)
242
- c.removeExchangeHTTPProxyCharts(name)
243
- }
244
- }
245
-}
src/go/plugin/go.d/collector/windows/collect_hyperv.go
deleted
-288
@@ -1,288 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "strings"
7
-
8
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
9
-)
10
-
11
-const (
12
- metricHypervHealthCritical = "windows_hyperv_health_critical"
13
- metricHypervHealthOK = "windows_hyperv_health_ok"
14
-
15
- metricHypervRootPartition4KGPAPages = "windows_hyperv_root_partition_4K_gpa_pages"
16
- metricHypervRootPartition2MGPAPages = "windows_hyperv_root_partition_2M_gpa_pages"
17
- metricHypervRootPartition1GGPAPages = "windows_hyperv_root_partition_1G_gpa_pages"
18
- metricHypervRootPartition4KDevicePages = "windows_hyperv_root_partition_4K_device_pages"
19
- metricHypervRootPartition2MDevicePages = "windows_hyperv_root_partition_2M_device_pages"
20
- metricHypervRootPartition1GDevicePages = "windows_hyperv_root_partition_1G_device_pages"
21
- metricHypervRootPartitionGPASpaceModifications = "windows_hyperv_root_partition_gpa_space_modifications"
22
- metricHypervRootPartitionAttachedDevices = "windows_hyperv_root_partition_attached_devices"
23
- metricHypervRootPartitionDepositedPages = "windows_hyperv_root_partition_deposited_pages"
24
- metricHypervRootPartitionPhysicalPagesAllocated = "windows_hyperv_root_partition_physical_pages_allocated" // SkippedTimerTicks
25
- metricHypervRootPartitionDeviceDMAErrors = "windows_hyperv_root_partition_device_dma_errors"
26
- metricHypervRootPartitionDeviceInterruptErrors = "windows_hyperv_root_partition_device_interrupt_errors"
27
- metricHypervRootPartitionDeviceInterruptThrottleEvents = "windows_hyperv_root_partition_device_interrupt_throttle_events"
28
- metricHypervRootPartitionIOTLBFlush = "windows_hyperv_root_partition_io_tlb_flush"
29
- metricHypervRootPartitionAddressSpace = "windows_hyperv_root_partition_address_spaces"
30
- metricHypervRootPartitionVirtualTLBPages = "windows_hyperv_root_partition_virtual_tlb_pages"
31
- metricHypervRootPartitionVirtualTLBFlushEntries = "windows_hyperv_root_partition_virtual_tlb_flush_entires"
32
-
33
- metricsHypervVMCPUGuestRunTime = "windows_hyperv_vm_cpu_guest_run_time"
34
- metricsHypervVMCPUHypervisorRunTime = "windows_hyperv_vm_cpu_hypervisor_run_time"
35
- metricsHypervVMCPURemoteRunTime = "windows_hyperv_vm_cpu_remote_run_time"
36
- metricsHypervVMCPUTotalRunTime = "windows_hyperv_vm_cpu_total_run_time"
37
-
38
- metricHypervVMMemoryPhysical = "windows_hyperv_vm_memory_physical"
39
- metricHypervVMMemoryPhysicalGuestVisible = "windows_hyperv_vm_memory_physical_guest_visible"
40
- metricHypervVMMemoryPressureCurrent = "windows_hyperv_vm_memory_pressure_current"
41
- metricHyperVVIDPhysicalPagesAllocated = "windows_hyperv_vid_physical_pages_allocated"
42
- metricHyperVVIDRemotePhysicalPages = "windows_hyperv_vid_remote_physical_pages"
43
-
44
- metricHypervVMDeviceBytesRead = "windows_hyperv_vm_device_bytes_read"
45
- metricHypervVMDeviceBytesWritten = "windows_hyperv_vm_device_bytes_written"
46
- metricHypervVMDeviceOperationsRead = "windows_hyperv_vm_device_operations_read"
47
- metricHypervVMDeviceOperationsWritten = "windows_hyperv_vm_device_operations_written"
48
- metricHypervVMDeviceErrorCount = "windows_hyperv_vm_device_error_count"
49
-
50
- metricHypervVMInterfaceBytesReceived = "windows_hyperv_vm_interface_bytes_received"
51
- metricHypervVMInterfaceBytesSent = "windows_hyperv_vm_interface_bytes_sent"
52
- metricHypervVMInterfacePacketsIncomingDropped = "windows_hyperv_vm_interface_packets_incoming_dropped"
53
- metricHypervVMInterfacePacketsOutgoingDropped = "windows_hyperv_vm_interface_packets_outgoing_dropped"
54
- metricHypervVMInterfacePacketsReceived = "windows_hyperv_vm_interface_packets_received"
55
- metricHypervVMInterfacePacketsSent = "windows_hyperv_vm_interface_packets_sent"
56
-
57
- metricHypervVSwitchBroadcastPacketsReceivedTotal = "windows_hyperv_vswitch_broadcast_packets_received_total"
58
- metricHypervVSwitchBroadcastPacketsSentTotal = "windows_hyperv_vswitch_broadcast_packets_sent_total"
59
- metricHypervVSwitchBytesReceivedTotal = "windows_hyperv_vswitch_bytes_received_total"
60
- metricHypervVSwitchBytesSentTotal = "windows_hyperv_vswitch_bytes_sent_total"
61
- metricHypervVSwitchPacketsReceivedTotal = "windows_hyperv_vswitch_packets_received_total"
62
- metricHypervVSwitchPacketsSentTotal = "windows_hyperv_vswitch_packets_sent_total"
63
- metricHypervVSwitchDirectedPacketsReceivedTotal = "windows_hyperv_vswitch_directed_packets_received_total"
64
- metricHypervVSwitchDirectedPacketsSendTotal = "windows_hyperv_vswitch_directed_packets_send_total"
65
- metricHypervVSwitchDroppedPacketsIncomingTotal = "windows_hyperv_vswitch_dropped_packets_incoming_total"
66
- metricHypervVSwitchDroppedPacketsOutcomingTotal = "windows_hyperv_vswitch_dropped_packets_outcoming_total"
67
- metricHypervVSwitchExtensionDroppedAttacksIncomingTotal = "windows_hyperv_vswitch_extensions_dropped_packets_incoming_total"
68
- metricHypervVSwitchExtensionDroppedPacketsOutcomingTotal = "windows_hyperv_vswitch_extensions_dropped_packets_outcoming_total"
69
- metricHypervVSwitchLearnedMACAddressTotal = "windows_hyperv_vswitch_learned_mac_addresses_total"
70
- metricHypervVSwitchMulticastPacketsReceivedTotal = "windows_hyperv_vswitch_multicast_packets_received_total"
71
- metricHypervVSwitchMulticastPacketsSentTotal = "windows_hyperv_vswitch_multicast_packets_sent_total"
72
- metricHypervVSwitchNumberOfSendChannelMovesTotal = "windows_hyperv_vswitch_number_of_send_channel_moves_total"
73
- metricHypervVSwitchNumberOfVMQMovesTotal = "windows_hyperv_vswitch_number_of_vmq_moves_total"
74
- metricHypervVSwitchPacketsFloodedTotal = "windows_hyperv_vswitch_packets_flooded_total"
75
- metricHypervVSwitchPurgedMACAddresses = "windows_hyperv_vswitch_purged_mac_addresses_total"
76
-)
77
-
78
-func (c *Collector) collectHyperv(mx map[string]int64, pms prometheus.Series) {
79
- if !c.cache.collection[collectorHyperv] {
80
- c.cache.collection[collectorHyperv] = true
81
- c.addHypervCharts()
82
- }
83
-
84
- for _, v := range []string{
85
- metricHypervHealthOK,
86
- metricHypervHealthCritical,
87
- metricHypervRootPartition4KGPAPages,
88
- metricHypervRootPartition2MGPAPages,
89
- metricHypervRootPartition1GGPAPages,
90
- metricHypervRootPartition4KDevicePages,
91
- metricHypervRootPartition2MDevicePages,
92
- metricHypervRootPartition1GDevicePages,
93
- metricHypervRootPartitionGPASpaceModifications,
94
- metricHypervRootPartitionAddressSpace,
95
- metricHypervRootPartitionAttachedDevices,
96
- metricHypervRootPartitionDepositedPages,
97
- metricHypervRootPartitionPhysicalPagesAllocated,
98
- metricHypervRootPartitionDeviceDMAErrors,
99
- metricHypervRootPartitionDeviceInterruptErrors,
100
- metricHypervRootPartitionDeviceInterruptThrottleEvents,
101
- metricHypervRootPartitionIOTLBFlush,
102
- metricHypervRootPartitionVirtualTLBPages,
103
- metricHypervRootPartitionVirtualTLBFlushEntries,
104
- } {
105
- for _, pm := range pms.FindByName(v) {
106
- name := strings.TrimPrefix(pm.Name(), "windows_")
107
- mx[name] = int64(pm.Value)
108
- }
109
- }
110
-
111
- c.collectHypervVM(mx, pms)
112
- c.collectHypervVMDevices(mx, pms)
113
- c.collectHypervVMInterface(mx, pms)
114
- c.collectHypervVSwitch(mx, pms)
115
-}
116
-
117
-func (c *Collector) collectHypervVM(mx map[string]int64, pms prometheus.Series) {
118
- seen := make(map[string]bool)
119
- px := "hyperv_vm_"
120
-
121
- for _, v := range []string{
122
- metricHypervVMMemoryPhysical,
123
- metricHypervVMMemoryPhysicalGuestVisible,
124
- metricHypervVMMemoryPressureCurrent,
125
- metricsHypervVMCPUGuestRunTime,
126
- metricsHypervVMCPUHypervisorRunTime,
127
- metricsHypervVMCPURemoteRunTime,
128
- } {
129
- for _, pm := range pms.FindByName(v) {
130
- if vm := pm.Labels.Get("vm"); vm != "" {
131
- name := strings.TrimPrefix(pm.Name(), "windows_hyperv_vm")
132
- seen[vm] = true
133
- mx[px+hypervCleanName(vm)+name] += int64(pm.Value)
134
- }
135
- }
136
- }
137
-
138
- px = "hyperv_vid_"
139
- for _, v := range []string{
140
- metricHyperVVIDPhysicalPagesAllocated,
141
- metricHyperVVIDRemotePhysicalPages,
142
- } {
143
- for _, pm := range pms.FindByName(v) {
144
- if vm := pm.Labels.Get("vm"); vm != "" {
145
- name := strings.TrimPrefix(pm.Name(), "windows_hyperv_vid")
146
- seen[vm] = true
147
- mx[px+hypervCleanName(vm)+name] = int64(pm.Value)
148
- }
149
- }
150
- }
151
-
152
- for v := range seen {
153
- if !c.cache.hypervVMMem[v] {
154
- c.cache.hypervVMMem[v] = true
155
- c.addHypervVMCharts(v)
156
- }
157
- }
158
- for v := range c.cache.hypervVMMem {
159
- if !seen[v] {
160
- delete(c.cache.hypervVMMem, v)
161
- c.removeHypervVMCharts(v)
162
- }
163
- }
164
-}
165
-
166
-func (c *Collector) collectHypervVMDevices(mx map[string]int64, pms prometheus.Series) {
167
- seen := make(map[string]bool)
168
- px := "hyperv_vm_device_"
169
-
170
- for _, v := range []string{
171
- metricHypervVMDeviceBytesRead,
172
- metricHypervVMDeviceBytesWritten,
173
- metricHypervVMDeviceOperationsRead,
174
- metricHypervVMDeviceOperationsWritten,
175
- metricHypervVMDeviceErrorCount,
176
- } {
177
- for _, pm := range pms.FindByName(v) {
178
- if device := pm.Labels.Get("vm_device"); device != "" {
179
- name := strings.TrimPrefix(pm.Name(), "windows_hyperv_vm_device")
180
- seen[device] = true
181
- mx[px+hypervCleanName(device)+name] = int64(pm.Value)
182
- }
183
- }
184
- }
185
-
186
- for v := range seen {
187
- if !c.cache.hypervVMDevices[v] {
188
- c.cache.hypervVMDevices[v] = true
189
- c.addHypervVMDeviceCharts(v)
190
- }
191
- }
192
- for v := range c.cache.hypervVMDevices {
193
- if !seen[v] {
194
- delete(c.cache.hypervVMDevices, v)
195
- c.removeHypervVMDeviceCharts(v)
196
- }
197
- }
198
-}
199
-
200
-func (c *Collector) collectHypervVMInterface(mx map[string]int64, pms prometheus.Series) {
201
- seen := make(map[string]bool)
202
- px := "hyperv_vm_interface_"
203
-
204
- for _, v := range []string{
205
- metricHypervVMInterfaceBytesReceived,
206
- metricHypervVMInterfaceBytesSent,
207
- metricHypervVMInterfacePacketsIncomingDropped,
208
- metricHypervVMInterfacePacketsOutgoingDropped,
209
- metricHypervVMInterfacePacketsReceived,
210
- metricHypervVMInterfacePacketsSent,
211
- } {
212
- for _, pm := range pms.FindByName(v) {
213
- if iface := pm.Labels.Get("vm_interface"); iface != "" {
214
- name := strings.TrimPrefix(pm.Name(), "windows_hyperv_vm_interface")
215
- seen[iface] = true
216
- mx[px+hypervCleanName(iface)+name] = int64(pm.Value)
217
- }
218
- }
219
- }
220
-
221
- for v := range seen {
222
- if !c.cache.hypervVMInterfaces[v] {
223
- c.cache.hypervVMInterfaces[v] = true
224
- c.addHypervVMInterfaceCharts(v)
225
- }
226
- }
227
- for v := range c.cache.hypervVMInterfaces {
228
- if !seen[v] {
229
- delete(c.cache.hypervVMInterfaces, v)
230
- c.removeHypervVMInterfaceCharts(v)
231
- }
232
- }
233
-}
234
-
235
-func (c *Collector) collectHypervVSwitch(mx map[string]int64, pms prometheus.Series) {
236
- seen := make(map[string]bool)
237
- px := "hyperv_vswitch_"
238
-
239
- for _, v := range []string{
240
- metricHypervVSwitchBytesReceivedTotal,
241
- metricHypervVSwitchBytesSentTotal,
242
- metricHypervVSwitchPacketsReceivedTotal,
243
- metricHypervVSwitchPacketsSentTotal,
244
- metricHypervVSwitchDirectedPacketsReceivedTotal,
245
- metricHypervVSwitchDirectedPacketsSendTotal,
246
- metricHypervVSwitchBroadcastPacketsReceivedTotal,
247
- metricHypervVSwitchBroadcastPacketsSentTotal,
248
- metricHypervVSwitchMulticastPacketsReceivedTotal,
249
- metricHypervVSwitchMulticastPacketsSentTotal,
250
- metricHypervVSwitchDroppedPacketsIncomingTotal,
251
- metricHypervVSwitchDroppedPacketsOutcomingTotal,
252
- metricHypervVSwitchExtensionDroppedAttacksIncomingTotal,
253
- metricHypervVSwitchExtensionDroppedPacketsOutcomingTotal,
254
- metricHypervVSwitchPacketsFloodedTotal,
255
- metricHypervVSwitchLearnedMACAddressTotal,
256
- metricHypervVSwitchPurgedMACAddresses,
257
- metricHypervVSwitchNumberOfSendChannelMovesTotal,
258
- metricHypervVSwitchNumberOfVMQMovesTotal,
259
- } {
260
- for _, pm := range pms.FindByName(v) {
261
- if vswitch := pm.Labels.Get("vswitch"); vswitch != "" {
262
- name := strings.TrimPrefix(pm.Name(), "windows_hyperv_vswitch")
263
- seen[vswitch] = true
264
- mx[px+hypervCleanName(vswitch)+name] = int64(pm.Value)
265
- }
266
- }
267
- }
268
-
269
- for v := range seen {
270
- if !c.cache.hypervVswitch[v] {
271
- c.cache.hypervVswitch[v] = true
272
- c.addHypervVSwitchCharts(v)
273
- }
274
- }
275
- for v := range c.cache.hypervVswitch {
276
- if !seen[v] {
277
- delete(c.cache.hypervVswitch, v)
278
- c.removeHypervVSwitchCharts(v)
279
- }
280
- }
281
-}
282
-
283
-var hypervNameReplacer = strings.NewReplacer(" ", "_", "?", "_", ":", "_", ".", "_")
284
-
285
-func hypervCleanName(name string) string {
286
- name = hypervNameReplacer.Replace(name)
287
- return strings.ToLower(name)
288
-}
src/go/plugin/go.d/collector/windows/collect_iis.go
deleted
-140
@@ -1,140 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "strings"
7
-
8
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
9
-)
10
-
11
-const (
12
- metricIISCurrentAnonymousUsers = "windows_iis_current_anonymous_users"
13
- metricIISCurrentNonAnonymousUsers = "windows_iis_current_non_anonymous_users"
14
- metricIISCurrentConnections = "windows_iis_current_connections"
15
- metricIICurrentISAPIExtRequests = "windows_iis_current_isapi_extension_requests"
16
- metricIISUptime = "windows_iis_service_uptime"
17
-
18
- metricIISReceivedBytesTotal = "windows_iis_received_bytes_total"
19
- metricIISSentBytesTotal = "windows_iis_sent_bytes_total"
20
- metricIISRequestsTotal = "windows_iis_requests_total"
21
- metricIISIPAPIExtRequestsTotal = "windows_iis_ipapi_extension_requests_total"
22
- metricIISConnAttemptsAllInstancesTotal = "windows_iis_connection_attempts_all_instances_total"
23
- metricIISFilesReceivedTotal = "windows_iis_files_received_total"
24
- metricIISFilesSentTotal = "windows_iis_files_sent_total"
25
- metricIISLogonAttemptsTotal = "windows_iis_logon_attempts_total"
26
- metricIISLockedErrorsTotal = "windows_iis_locked_errors_total"
27
- metricIISNotFoundErrorsTotal = "windows_iis_not_found_errors_total"
28
-)
29
-
30
-func (c *Collector) collectIIS(mx map[string]int64, pms prometheus.Series) {
31
- seen := make(map[string]bool)
32
- px := "iis_website_"
33
- for _, pm := range pms.FindByName(metricIISCurrentAnonymousUsers) {
34
- if name := cleanWebsiteName(pm.Labels.Get("site")); name != "" {
35
- seen[name] = true
36
- mx[px+name+"_current_anonymous_users"] += int64(pm.Value)
37
- }
38
- }
39
- for _, pm := range pms.FindByName(metricIISCurrentNonAnonymousUsers) {
40
- if name := cleanWebsiteName(pm.Labels.Get("site")); name != "" {
41
- seen[name] = true
42
- mx[px+name+"_current_non_anonymous_users"] += int64(pm.Value)
43
- }
44
- }
45
- for _, pm := range pms.FindByName(metricIISCurrentConnections) {
46
- if name := cleanWebsiteName(pm.Labels.Get("site")); name != "" {
47
- seen[name] = true
48
- mx[px+name+"_current_connections"] += int64(pm.Value)
49
- }
50
- }
51
- for _, pm := range pms.FindByName(metricIICurrentISAPIExtRequests) {
52
- if name := cleanWebsiteName(pm.Labels.Get("site")); name != "" {
53
- seen[name] = true
54
- mx[px+name+"_current_isapi_extension_requests"] += int64(pm.Value)
55
- }
56
- }
57
- for _, pm := range pms.FindByName(metricIISUptime) {
58
- if name := cleanWebsiteName(pm.Labels.Get("site")); name != "" {
59
- seen[name] = true
60
- mx[px+name+"_service_uptime"] += int64(pm.Value)
61
- }
62
- }
63
- for _, pm := range pms.FindByName(metricIISReceivedBytesTotal) {
64
- if name := cleanWebsiteName(pm.Labels.Get("site")); name != "" {
65
- seen[name] = true
66
- mx[px+name+"_received_bytes_total"] += int64(pm.Value)
67
- }
68
- }
69
- for _, pm := range pms.FindByName(metricIISSentBytesTotal) {
70
- if name := cleanWebsiteName(pm.Labels.Get("site")); name != "" {
71
- seen[name] = true
72
- mx[px+name+"_sent_bytes_total"] += int64(pm.Value)
73
- }
74
- }
75
- for _, pm := range pms.FindByName(metricIISRequestsTotal) {
76
- if name := cleanWebsiteName(pm.Labels.Get("site")); name != "" {
77
- seen[name] = true
78
- mx[px+name+"_requests_total"] += int64(pm.Value)
79
- }
80
- }
81
- for _, pm := range pms.FindByName(metricIISConnAttemptsAllInstancesTotal) {
82
- if name := cleanWebsiteName(pm.Labels.Get("site")); name != "" {
83
- seen[name] = true
84
- mx[px+name+"_connection_attempts_all_instances_total"] += int64(pm.Value)
85
- }
86
- }
87
- for _, pm := range pms.FindByName(metricIISFilesReceivedTotal) {
88
- if name := cleanWebsiteName(pm.Labels.Get("site")); name != "" {
89
- seen[name] = true
90
- mx[px+name+"_files_received_total"] += int64(pm.Value)
91
- }
92
- }
93
- for _, pm := range pms.FindByName(metricIISFilesSentTotal) {
94
- if name := cleanWebsiteName(pm.Labels.Get("site")); name != "" {
95
- seen[name] = true
96
- mx[px+name+"_files_sent_total"] += int64(pm.Value)
97
- }
98
- }
99
- for _, pm := range pms.FindByName(metricIISIPAPIExtRequestsTotal) {
100
- if name := cleanWebsiteName(pm.Labels.Get("site")); name != "" {
101
- seen[name] = true
102
- mx[px+name+"_isapi_extension_requests_total"] += int64(pm.Value)
103
- }
104
- }
105
- for _, pm := range pms.FindByName(metricIISLogonAttemptsTotal) {
106
- if name := cleanWebsiteName(pm.Labels.Get("site")); name != "" {
107
- seen[name] = true
108
- mx[px+name+"_logon_attempts_total"] += int64(pm.Value)
109
- }
110
- }
111
- for _, pm := range pms.FindByName(metricIISLockedErrorsTotal) {
112
- if name := cleanWebsiteName(pm.Labels.Get("site")); name != "" {
113
- seen[name] = true
114
- mx[px+name+"_locked_errors_total"] += int64(pm.Value)
115
- }
116
- }
117
- for _, pm := range pms.FindByName(metricIISNotFoundErrorsTotal) {
118
- if name := cleanWebsiteName(pm.Labels.Get("site")); name != "" {
119
- seen[name] = true
120
- mx[px+name+"_not_found_errors_total"] += int64(pm.Value)
121
- }
122
- }
123
-
124
- for site := range seen {
125
- if !c.cache.iis[site] {
126
- c.cache.iis[site] = true
127
- c.addIISWebsiteCharts(site)
128
- }
129
- }
130
- for site := range c.cache.iis {
131
- if !seen[site] {
132
- delete(c.cache.iis, site)
133
- c.removeIIWebsiteSCharts(site)
134
- }
135
- }
136
-}
137
-
138
-func cleanWebsiteName(name string) string {
139
- return strings.ReplaceAll(name, " ", "_")
140
-}
src/go/plugin/go.d/collector/windows/collect_logical_disk.go
deleted
-95
@@ -1,95 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "strings"
7
-
8
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
9
-)
10
-
11
-const (
12
- metricLDReadBytesTotal = "windows_logical_disk_read_bytes_total"
13
- metricLDWriteBytesTotal = "windows_logical_disk_write_bytes_total"
14
- metricLDReadsTotal = "windows_logical_disk_reads_total"
15
- metricLDWritesTotal = "windows_logical_disk_writes_total"
16
- metricLDSizeBytes = "windows_logical_disk_size_bytes"
17
- metricLDFreeBytes = "windows_logical_disk_free_bytes"
18
- metricLDReadLatencyTotal = "windows_logical_disk_read_latency_seconds_total"
19
- metricLDWriteLatencyTotal = "windows_logical_disk_write_latency_seconds_total"
20
-)
21
-
22
-func (c *Collector) collectLogicalDisk(mx map[string]int64, pms prometheus.Series) {
23
- seen := make(map[string]bool)
24
- px := "logical_disk_"
25
- for _, pm := range pms.FindByName(metricLDReadBytesTotal) {
26
- vol := pm.Labels.Get("volume")
27
- if vol != "" && !strings.HasPrefix(vol, "HarddiskVolume") {
28
- seen[vol] = true
29
- mx[px+vol+"_read_bytes_total"] = int64(pm.Value)
30
- }
31
- }
32
- for _, pm := range pms.FindByName(metricLDWriteBytesTotal) {
33
- vol := pm.Labels.Get("volume")
34
- if vol != "" && !strings.HasPrefix(vol, "HarddiskVolume") {
35
- seen[vol] = true
36
- mx[px+vol+"_write_bytes_total"] = int64(pm.Value)
37
- }
38
- }
39
- for _, pm := range pms.FindByName(metricLDReadsTotal) {
40
- vol := pm.Labels.Get("volume")
41
- if vol != "" && !strings.HasPrefix(vol, "HarddiskVolume") {
42
- seen[vol] = true
43
- mx[px+vol+"_reads_total"] = int64(pm.Value)
44
- }
45
- }
46
- for _, pm := range pms.FindByName(metricLDWritesTotal) {
47
- vol := pm.Labels.Get("volume")
48
- if vol != "" && !strings.HasPrefix(vol, "HarddiskVolume") {
49
- seen[vol] = true
50
- mx[px+vol+"_writes_total"] = int64(pm.Value)
51
- }
52
- }
53
- for _, pm := range pms.FindByName(metricLDSizeBytes) {
54
- vol := pm.Labels.Get("volume")
55
- if vol != "" && !strings.HasPrefix(vol, "HarddiskVolume") {
56
- seen[vol] = true
57
- mx[px+vol+"_total_space"] = int64(pm.Value)
58
- }
59
- }
60
- for _, pm := range pms.FindByName(metricLDFreeBytes) {
61
- vol := pm.Labels.Get("volume")
62
- if vol != "" && !strings.HasPrefix(vol, "HarddiskVolume") {
63
- seen[vol] = true
64
- mx[px+vol+"_free_space"] = int64(pm.Value)
65
- }
66
- }
67
- for _, pm := range pms.FindByName(metricLDReadLatencyTotal) {
68
- vol := pm.Labels.Get("volume")
69
- if vol != "" && !strings.HasPrefix(vol, "HarddiskVolume") {
70
- seen[vol] = true
71
- mx[px+vol+"_read_latency"] = int64(pm.Value * precision)
72
- }
73
- }
74
- for _, pm := range pms.FindByName(metricLDWriteLatencyTotal) {
75
- vol := pm.Labels.Get("volume")
76
- if vol != "" && !strings.HasPrefix(vol, "HarddiskVolume") {
77
- seen[vol] = true
78
- mx[px+vol+"_write_latency"] = int64(pm.Value * precision)
79
- }
80
- }
81
-
82
- for disk := range seen {
83
- if !c.cache.volumes[disk] {
84
- c.cache.volumes[disk] = true
85
- c.addDiskCharts(disk)
86
- }
87
- mx[px+disk+"_used_space"] = mx[px+disk+"_total_space"] - mx[px+disk+"_free_space"]
88
- }
89
- for disk := range c.cache.volumes {
90
- if !seen[disk] {
91
- delete(c.cache.volumes, disk)
92
- c.removeDiskCharts(disk)
93
- }
94
- }
95
-}
src/go/plugin/go.d/collector/windows/collect_logon.go
deleted
-24
@@ -1,24 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
7
-)
8
-
9
-const (
10
- metricLogonType = "windows_logon_logon_type"
11
-)
12
-
13
-func (c *Collector) collectLogon(mx map[string]int64, pms prometheus.Series) {
14
- if !c.cache.collection[collectorLogon] {
15
- c.cache.collection[collectorLogon] = true
16
- c.addLogonCharts()
17
- }
18
-
19
- for _, pm := range pms.FindByName(metricLogonType) {
20
- if v := pm.Labels.Get("status"); v != "" {
21
- mx["logon_type_"+v+"_sessions"] = int64(pm.Value)
22
- }
23
- }
24
-}
src/go/plugin/go.d/collector/windows/collect_memory.go
deleted
-78
@@ -1,78 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
7
-)
8
-
9
-const (
10
- metricMemAvailBytes = "windows_memory_available_bytes"
11
- metricMemCacheFaultsTotal = "windows_memory_cache_faults_total"
12
- metricMemCommitLimit = "windows_memory_commit_limit"
13
- metricMemCommittedBytes = "windows_memory_committed_bytes"
14
- metricMemModifiedPageListBytes = "windows_memory_modified_page_list_bytes"
15
- metricMemPageFaultsTotal = "windows_memory_page_faults_total"
16
- metricMemSwapPageReadsTotal = "windows_memory_swap_page_reads_total"
17
- metricMemSwapPagesReadTotal = "windows_memory_swap_pages_read_total"
18
- metricMemSwapPagesWrittenTotal = "windows_memory_swap_pages_written_total"
19
- metricMemSwapPageWritesTotal = "windows_memory_swap_page_writes_total"
20
- metricMemPoolNonPagedBytesTotal = "windows_memory_pool_nonpaged_bytes"
21
- metricMemPoolPagedBytes = "windows_memory_pool_paged_bytes"
22
- metricMemStandbyCacheCoreBytes = "windows_memory_standby_cache_core_bytes"
23
- metricMemStandbyCacheNormalPriorityBytes = "windows_memory_standby_cache_normal_priority_bytes"
24
- metricMemStandbyCacheReserveBytes = "windows_memory_standby_cache_reserve_bytes"
25
-)
26
-
27
-func (c *Collector) collectMemory(mx map[string]int64, pms prometheus.Series) {
28
- if !c.cache.collection[collectorMemory] {
29
- c.cache.collection[collectorMemory] = true
30
- c.addMemoryCharts()
31
- }
32
-
33
- if pm := pms.FindByName(metricMemAvailBytes); pm.Len() > 0 {
34
- mx["memory_available_bytes"] = int64(pm.Max())
35
- }
36
- if pm := pms.FindByName(metricMemCacheFaultsTotal); pm.Len() > 0 {
37
- mx["memory_cache_faults_total"] = int64(pm.Max())
38
- }
39
- if pm := pms.FindByName(metricMemCommitLimit); pm.Len() > 0 {
40
- mx["memory_commit_limit"] = int64(pm.Max())
41
- }
42
- if pm := pms.FindByName(metricMemCommittedBytes); pm.Len() > 0 {
43
- mx["memory_committed_bytes"] = int64(pm.Max())
44
- }
45
- if pm := pms.FindByName(metricMemModifiedPageListBytes); pm.Len() > 0 {
46
- mx["memory_modified_page_list_bytes"] = int64(pm.Max())
47
- }
48
- if pm := pms.FindByName(metricMemPageFaultsTotal); pm.Len() > 0 {
49
- mx["memory_page_faults_total"] = int64(pm.Max())
50
- }
51
- if pm := pms.FindByName(metricMemSwapPageReadsTotal); pm.Len() > 0 {
52
- mx["memory_swap_page_reads_total"] = int64(pm.Max())
53
- }
54
- if pm := pms.FindByName(metricMemSwapPagesReadTotal); pm.Len() > 0 {
55
- mx["memory_swap_pages_read_total"] = int64(pm.Max())
56
- }
57
- if pm := pms.FindByName(metricMemSwapPagesWrittenTotal); pm.Len() > 0 {
58
- mx["memory_swap_pages_written_total"] = int64(pm.Max())
59
- }
60
- if pm := pms.FindByName(metricMemSwapPageWritesTotal); pm.Len() > 0 {
61
- mx["memory_swap_page_writes_total"] = int64(pm.Max())
62
- }
63
- if pm := pms.FindByName(metricMemPoolNonPagedBytesTotal); pm.Len() > 0 {
64
- mx["memory_pool_nonpaged_bytes_total"] = int64(pm.Max())
65
- }
66
- if pm := pms.FindByName(metricMemPoolPagedBytes); pm.Len() > 0 {
67
- mx["memory_pool_paged_bytes"] = int64(pm.Max())
68
- }
69
- if pm := pms.FindByName(metricMemStandbyCacheCoreBytes); pm.Len() > 0 {
70
- mx["memory_standby_cache_core_bytes"] = int64(pm.Max())
71
- }
72
- if pm := pms.FindByName(metricMemStandbyCacheNormalPriorityBytes); pm.Len() > 0 {
73
- mx["memory_standby_cache_normal_priority_bytes"] = int64(pm.Max())
74
- }
75
- if pm := pms.FindByName(metricMemStandbyCacheReserveBytes); pm.Len() > 0 {
76
- mx["memory_standby_cache_reserve_bytes"] = int64(pm.Max())
77
- }
78
-}
src/go/plugin/go.d/collector/windows/collect_mssql.go
deleted
-259
@@ -1,259 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "strings"
7
-
8
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
9
-)
10
-
11
-const (
12
- metricMSSQLAccessMethodPageSplits = "windows_mssql_accessmethods_page_splits"
13
- metricMSSQLBufferCacheHits = "windows_mssql_bufman_buffer_cache_hits"
14
- metricMSSQLBufferCacheLookups = "windows_mssql_bufman_buffer_cache_lookups"
15
- metricMSSQLBufferCheckpointPages = "windows_mssql_bufman_checkpoint_pages"
16
- metricMSSQLBufferPageLifeExpectancy = "windows_mssql_bufman_page_life_expectancy_seconds"
17
- metricMSSQLBufferPageReads = "windows_mssql_bufman_page_reads"
18
- metricMSSQLBufferPageWrites = "windows_mssql_bufman_page_writes"
19
- metricMSSQLBlockedProcesses = "windows_mssql_genstats_blocked_processes"
20
- metricMSSQLUserConnections = "windows_mssql_genstats_user_connections"
21
- metricMSSQLLockWait = "windows_mssql_locks_lock_wait_seconds"
22
- metricMSSQLDeadlocks = "windows_mssql_locks_deadlocks"
23
- metricMSSQLConnectionMemoryBytes = "windows_mssql_memmgr_connection_memory_bytes"
24
- metricMSSQLExternalBenefitOfMemory = "windows_mssql_memmgr_external_benefit_of_memory"
25
- metricMSSQLPendingMemoryGrants = "windows_mssql_memmgr_pending_memory_grants"
26
- metricMSSQLSQLErrorsTotal = "windows_mssql_sql_errors_total"
27
- metricMSSQLTotalServerMemory = "windows_mssql_memmgr_total_server_memory_bytes"
28
- metricMSSQLStatsAutoParameterization = "windows_mssql_sqlstats_auto_parameterization_attempts"
29
- metricMSSQLStatsBatchRequests = "windows_mssql_sqlstats_batch_requests"
30
- metricMSSQLStatSafeAutoParameterization = "windows_mssql_sqlstats_safe_auto_parameterization_attempts"
31
- metricMSSQLCompilations = "windows_mssql_sqlstats_sql_compilations"
32
- metricMSSQLRecompilations = "windows_mssql_sqlstats_sql_recompilations"
33
-
34
- metricMSSQLDatabaseActiveTransactions = "windows_mssql_databases_active_transactions"
35
- metricMSSQLDatabaseBackupRestoreOperations = "windows_mssql_databases_backup_restore_operations"
36
- metricMSSQLDatabaseDataFileSize = "windows_mssql_databases_data_files_size_bytes"
37
- metricMSSQLDatabaseLogFlushed = "windows_mssql_databases_log_flushed_bytes"
38
- metricMSSQLDatabaseLogFlushes = "windows_mssql_databases_log_flushes"
39
- metricMSSQLDatabaseTransactions = "windows_mssql_databases_transactions"
40
- metricMSSQLDatabaseWriteTransactions = "windows_mssql_databases_write_transactions"
41
-)
42
-
43
-func (c *Collector) collectMSSQL(mx map[string]int64, pms prometheus.Series) {
44
- instances := make(map[string]bool)
45
- dbs := make(map[string]bool)
46
- px := "mssql_instance_"
47
- for _, pm := range pms.FindByName(metricMSSQLAccessMethodPageSplits) {
48
- if name := pm.Labels.Get("mssql_instance"); name != "" {
49
- instances[name] = true
50
- mx[px+name+"_accessmethods_page_splits"] = int64(pm.Value)
51
- }
52
- }
53
- for _, pm := range pms.FindByName(metricMSSQLBufferCacheHits) {
54
- if name := pm.Labels.Get("mssql_instance"); name != "" {
55
- instances[name] = true
56
- mx[px+name+"_bufman_buffer_cache_hits"] = int64(pm.Value)
57
- }
58
- }
59
- for _, pm := range pms.FindByName(metricMSSQLBufferCacheLookups) {
60
- if name := pm.Labels.Get("mssql_instance"); name != "" && pm.Value > 0 {
61
- instances[name] = true
62
- mx[px+name+"_cache_hit_ratio"] = int64(float64(mx[px+name+"_bufman_buffer_cache_hits"]) / pm.Value * 100)
63
- }
64
- }
65
- for _, pm := range pms.FindByName(metricMSSQLBufferCheckpointPages) {
66
- if name := pm.Labels.Get("mssql_instance"); name != "" {
67
- instances[name] = true
68
- mx[px+name+"_bufman_checkpoint_pages"] = int64(pm.Value)
69
- }
70
- }
71
- for _, pm := range pms.FindByName(metricMSSQLBufferPageLifeExpectancy) {
72
- if name := pm.Labels.Get("mssql_instance"); name != "" {
73
- instances[name] = true
74
- mx[px+name+"_bufman_page_life_expectancy_seconds"] = int64(pm.Value)
75
- }
76
- }
77
- for _, pm := range pms.FindByName(metricMSSQLBufferPageReads) {
78
- if name := pm.Labels.Get("mssql_instance"); name != "" {
79
- instances[name] = true
80
- mx[px+name+"_bufman_page_reads"] = int64(pm.Value)
81
- }
82
- }
83
- for _, pm := range pms.FindByName(metricMSSQLBufferPageWrites) {
84
- if name := pm.Labels.Get("mssql_instance"); name != "" {
85
- instances[name] = true
86
- mx[px+name+"_bufman_page_writes"] = int64(pm.Value)
87
- }
88
- }
89
- for _, pm := range pms.FindByName(metricMSSQLBlockedProcesses) {
90
- if name := pm.Labels.Get("mssql_instance"); name != "" {
91
- instances[name] = true
92
- mx[px+name+"_genstats_blocked_processes"] = int64(pm.Value)
93
- }
94
- }
95
- for _, pm := range pms.FindByName(metricMSSQLUserConnections) {
96
- if name := pm.Labels.Get("mssql_instance"); name != "" {
97
- instances[name] = true
98
- mx[px+name+"_genstats_user_connections"] = int64(pm.Value)
99
- }
100
- }
101
- for _, pm := range pms.FindByName(metricMSSQLLockWait) {
102
- if name := pm.Labels.Get("mssql_instance"); name != "" {
103
- instances[name] = true
104
- if res := pm.Labels.Get("resource"); res != "" {
105
- mx[px+name+"_resource_"+res+"_locks_lock_wait_seconds"] = int64(pm.Value)
106
- }
107
- }
108
- }
109
- for _, pm := range pms.FindByName(metricMSSQLDeadlocks) {
110
- if name := pm.Labels.Get("mssql_instance"); name != "" {
111
- instances[name] = true
112
- if res := pm.Labels.Get("resource"); res != "" {
113
- mx[px+name+"_resource_"+res+"_locks_deadlocks"] = int64(pm.Value)
114
- }
115
- }
116
- }
117
- for _, pm := range pms.FindByName(metricMSSQLConnectionMemoryBytes) {
118
- if name := pm.Labels.Get("mssql_instance"); name != "" {
119
- instances[name] = true
120
- mx[px+name+"_memmgr_connection_memory_bytes"] = int64(pm.Value)
121
- }
122
- }
123
- for _, pm := range pms.FindByName(metricMSSQLExternalBenefitOfMemory) {
124
- if name := pm.Labels.Get("mssql_instance"); name != "" {
125
- instances[name] = true
126
- mx[px+name+"_memmgr_external_benefit_of_memory"] = int64(pm.Value)
127
- }
128
- }
129
- for _, pm := range pms.FindByName(metricMSSQLPendingMemoryGrants) {
130
- if name := pm.Labels.Get("mssql_instance"); name != "" {
131
- instances[name] = true
132
- mx[px+name+"_memmgr_pending_memory_grants"] = int64(pm.Value)
133
- }
134
- }
135
- for _, pm := range pms.FindByName(metricMSSQLSQLErrorsTotal) {
136
- if name := pm.Labels.Get("mssql_instance"); name != "" {
137
- instances[name] = true
138
- if res := pm.Labels.Get("resource"); res != "" && res != "_Total" {
139
- dim := mssqlParseResource(res)
140
- mx[px+name+"_sql_errors_total_"+dim] = int64(pm.Value)
141
- }
142
- }
143
- }
144
- for _, pm := range pms.FindByName(metricMSSQLTotalServerMemory) {
145
- if name := pm.Labels.Get("mssql_instance"); name != "" {
146
- instances[name] = true
147
- mx[px+name+"_memmgr_total_server_memory_bytes"] = int64(pm.Value)
148
- }
149
- }
150
- for _, pm := range pms.FindByName(metricMSSQLStatsAutoParameterization) {
151
- if name := pm.Labels.Get("mssql_instance"); name != "" {
152
- instances[name] = true
153
- mx[px+name+"_sqlstats_auto_parameterization_attempts"] = int64(pm.Value)
154
- }
155
- }
156
- for _, pm := range pms.FindByName(metricMSSQLStatsBatchRequests) {
157
- if name := pm.Labels.Get("mssql_instance"); name != "" {
158
- instances[name] = true
159
- mx[px+name+"_sqlstats_batch_requests"] = int64(pm.Value)
160
- }
161
- }
162
- for _, pm := range pms.FindByName(metricMSSQLStatSafeAutoParameterization) {
163
- if name := pm.Labels.Get("mssql_instance"); name != "" {
164
- instances[name] = true
165
- mx[px+name+"_sqlstats_safe_auto_parameterization_attempts"] = int64(pm.Value)
166
- }
167
- }
168
- for _, pm := range pms.FindByName(metricMSSQLCompilations) {
169
- if name := pm.Labels.Get("mssql_instance"); name != "" {
170
- instances[name] = true
171
- mx[px+name+"_sqlstats_sql_compilations"] = int64(pm.Value)
172
- }
173
- }
174
- for _, pm := range pms.FindByName(metricMSSQLRecompilations) {
175
- if name := pm.Labels.Get("mssql_instance"); name != "" {
176
- instances[name] = true
177
- mx[px+name+"_sqlstats_sql_recompilations"] = int64(pm.Value)
178
- }
179
- }
180
-
181
- px = "mssql_db_"
182
- for _, pm := range pms.FindByName(metricMSSQLDatabaseActiveTransactions) {
183
- if name, db := pm.Labels.Get("mssql_instance"), pm.Labels.Get("database"); name != "" && db != "" {
184
- instances[name], dbs[name+":"+db] = true, true
185
- mx[px+db+"_instance_"+name+"_active_transactions"] = int64(pm.Value)
186
- }
187
- }
188
- for _, pm := range pms.FindByName(metricMSSQLDatabaseBackupRestoreOperations) {
189
- if name, db := pm.Labels.Get("mssql_instance"), pm.Labels.Get("database"); name != "" && db != "" {
190
- instances[name], dbs[name+":"+db] = true, true
191
- mx[px+db+"_instance_"+name+"_backup_restore_operations"] = int64(pm.Value)
192
- }
193
- }
194
- for _, pm := range pms.FindByName(metricMSSQLDatabaseDataFileSize) {
195
- if name, db := pm.Labels.Get("mssql_instance"), pm.Labels.Get("database"); name != "" && db != "" {
196
- instances[name], dbs[name+":"+db] = true, true
197
- mx[px+db+"_instance_"+name+"_data_files_size_bytes"] = int64(pm.Value)
198
- }
199
- }
200
- for _, pm := range pms.FindByName(metricMSSQLDatabaseLogFlushed) {
201
- if name, db := pm.Labels.Get("mssql_instance"), pm.Labels.Get("database"); name != "" && db != "" {
202
- instances[name], dbs[name+":"+db] = true, true
203
- mx[px+db+"_instance_"+name+"_log_flushed_bytes"] = int64(pm.Value)
204
- }
205
- }
206
- for _, pm := range pms.FindByName(metricMSSQLDatabaseLogFlushes) {
207
- if name, db := pm.Labels.Get("mssql_instance"), pm.Labels.Get("database"); name != "" && db != "" {
208
- instances[name], dbs[name+":"+db] = true, true
209
- mx[px+db+"_instance_"+name+"_log_flushes"] = int64(pm.Value)
210
- }
211
- }
212
- for _, pm := range pms.FindByName(metricMSSQLDatabaseTransactions) {
213
- if name, db := pm.Labels.Get("mssql_instance"), pm.Labels.Get("database"); name != "" && db != "" {
214
- instances[name], dbs[name+":"+db] = true, true
215
- mx[px+db+"_instance_"+name+"_transactions"] = int64(pm.Value)
216
- }
217
- }
218
- for _, pm := range pms.FindByName(metricMSSQLDatabaseWriteTransactions) {
219
- if name, db := pm.Labels.Get("mssql_instance"), pm.Labels.Get("database"); name != "" && db != "" {
220
- instances[name], dbs[name+":"+db] = true, true
221
- mx[px+db+"_instance_"+name+"_write_transactions"] = int64(pm.Value)
222
- }
223
- }
224
-
225
- for v := range instances {
226
- if !c.cache.mssqlInstances[v] {
227
- c.cache.mssqlInstances[v] = true
228
- c.addMSSQLInstanceCharts(v)
229
- }
230
- }
231
- for v := range c.cache.mssqlInstances {
232
- if !instances[v] {
233
- delete(c.cache.mssqlInstances, v)
234
- c.removeMSSQLInstanceCharts(v)
235
- }
236
- }
237
-
238
- for v := range dbs {
239
- if !c.cache.mssqlDBs[v] {
240
- c.cache.mssqlDBs[v] = true
241
- if s := strings.Split(v, ":"); len(s) == 2 {
242
- c.addMSSQLDBCharts(s[0], s[1])
243
- }
244
- }
245
- }
246
- for v := range c.cache.mssqlDBs {
247
- if !dbs[v] {
248
- delete(c.cache.mssqlDBs, v)
249
- if s := strings.Split(v, ":"); len(s) == 2 {
250
- c.removeMSSQLDBCharts(s[0], s[1])
251
- }
252
- }
253
- }
254
-}
255
-
256
-func mssqlParseResource(name string) string {
257
- name = strings.ReplaceAll(name, " ", "_")
258
- return strings.ToLower(name)
259
-}
src/go/plugin/go.d/collector/windows/collect_net.go
deleted
-90
@@ -1,90 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "strings"
7
-
8
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
9
-)
10
-
11
-const (
12
- metricNetBytesReceivedTotal = "windows_net_bytes_received_total"
13
- metricNetBytesSentTotal = "windows_net_bytes_sent_total"
14
- metricNetPacketsReceivedTotal = "windows_net_packets_received_total"
15
- metricNetPacketsSentTotal = "windows_net_packets_sent_total"
16
- metricNetPacketsReceivedDiscardedTotal = "windows_net_packets_received_discarded_total"
17
- metricNetPacketsOutboundDiscardedTotal = "windows_net_packets_outbound_discarded_total"
18
- metricNetPacketsReceivedErrorsTotal = "windows_net_packets_received_errors_total"
19
- metricNetPacketsOutboundErrorsTotal = "windows_net_packets_outbound_errors_total"
20
-)
21
-
22
-func (c *Collector) collectNet(mx map[string]int64, pms prometheus.Series) {
23
- seen := make(map[string]bool)
24
- px := "net_nic_"
25
- for _, pm := range pms.FindByName(metricNetBytesReceivedTotal) {
26
- if nic := cleanNICID(pm.Labels.Get("nic")); nic != "" {
27
- seen[nic] = true
28
- mx[px+nic+"_bytes_received"] += int64(pm.Value * 8)
29
- }
30
- }
31
- for _, pm := range pms.FindByName(metricNetBytesSentTotal) {
32
- if nic := cleanNICID(pm.Labels.Get("nic")); nic != "" {
33
- seen[nic] = true
34
- mx[px+nic+"_bytes_sent"] += int64(pm.Value * 8)
35
- }
36
- }
37
- for _, pm := range pms.FindByName(metricNetPacketsReceivedTotal) {
38
- if nic := cleanNICID(pm.Labels.Get("nic")); nic != "" {
39
- seen[nic] = true
40
- mx[px+nic+"_packets_received_total"] += int64(pm.Value)
41
- }
42
- }
43
- for _, pm := range pms.FindByName(metricNetPacketsSentTotal) {
44
- if nic := cleanNICID(pm.Labels.Get("nic")); nic != "" {
45
- seen[nic] = true
46
- mx[px+nic+"_packets_sent_total"] += int64(pm.Value)
47
- }
48
- }
49
- for _, pm := range pms.FindByName(metricNetPacketsReceivedDiscardedTotal) {
50
- if nic := cleanNICID(pm.Labels.Get("nic")); nic != "" {
51
- seen[nic] = true
52
- mx[px+nic+"_packets_received_discarded"] += int64(pm.Value)
53
- }
54
- }
55
- for _, pm := range pms.FindByName(metricNetPacketsOutboundDiscardedTotal) {
56
- if nic := cleanNICID(pm.Labels.Get("nic")); nic != "" {
57
- seen[nic] = true
58
- mx[px+nic+"_packets_outbound_discarded"] += int64(pm.Value)
59
- }
60
- }
61
- for _, pm := range pms.FindByName(metricNetPacketsReceivedErrorsTotal) {
62
- if nic := cleanNICID(pm.Labels.Get("nic")); nic != "" {
63
- seen[nic] = true
64
- mx[px+nic+"_packets_received_errors"] += int64(pm.Value)
65
- }
66
- }
67
- for _, pm := range pms.FindByName(metricNetPacketsOutboundErrorsTotal) {
68
- if nic := cleanNICID(pm.Labels.Get("nic")); nic != "" {
69
- seen[nic] = true
70
- mx[px+nic+"_packets_outbound_errors"] += int64(pm.Value)
71
- }
72
- }
73
-
74
- for nic := range seen {
75
- if !c.cache.nics[nic] {
76
- c.cache.nics[nic] = true
77
- c.addNICCharts(nic)
78
- }
79
- }
80
- for nic := range c.cache.nics {
81
- if !seen[nic] {
82
- delete(c.cache.nics, nic)
83
- c.removeNICCharts(nic)
84
- }
85
- }
86
-}
87
-
88
-func cleanNICID(id string) string {
89
- return strings.Replace(id, "__", "_", -1)
90
-}
src/go/plugin/go.d/collector/windows/collect_netframework.go
deleted
-531
@@ -1,531 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
7
-)
8
-
9
-const (
10
- netframeworkPrefix = "netframework_"
11
-)
12
-
13
-const (
14
- metricNetFrameworkCLRExceptionsThrownTotal = "windows_netframework_clrexceptions_exceptions_thrown_total"
15
- metricNetFrameworkCLRExceptionsFiltersTotal = "windows_netframework_clrexceptions_exceptions_filters_total"
16
- metricNetFrameworkCLRExceptionsFinallysTotal = "windows_netframework_clrexceptions_exceptions_finallys_total"
17
- metricNetFrameworkCLRExceptionsThrowCatchDepthTotal = "windows_netframework_clrexceptions_throw_to_catch_depth_total"
18
-)
19
-
20
-func (c *Collector) collectNetFrameworkCLRExceptions(mx map[string]int64, pms prometheus.Series) {
21
- seen := make(map[string]bool)
22
-
23
- for _, pm := range pms.FindByName(metricNetFrameworkCLRExceptionsThrownTotal) {
24
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
25
- seen[name] = true
26
- mx[netframeworkPrefix+name+"_clrexception_thrown_total"] += int64(pm.Value)
27
- }
28
- }
29
-
30
- for _, pm := range pms.FindByName(metricNetFrameworkCLRExceptionsFiltersTotal) {
31
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
32
- seen[name] = true
33
- mx[netframeworkPrefix+name+"_clrexception_filters_total"] += int64(pm.Value)
34
- }
35
- }
36
-
37
- for _, pm := range pms.FindByName(metricNetFrameworkCLRExceptionsFinallysTotal) {
38
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
39
- seen[name] = true
40
- mx[netframeworkPrefix+name+"_clrexception_finallys_total"] += int64(pm.Value)
41
- }
42
- }
43
-
44
- for _, pm := range pms.FindByName(metricNetFrameworkCLRExceptionsThrowCatchDepthTotal) {
45
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
46
- seen[name] = true
47
- mx[netframeworkPrefix+name+"_clrexception_throw_to_catch_depth_total"] += int64(pm.Value)
48
- }
49
- }
50
-
51
- for proc := range seen {
52
- if !c.cache.netFrameworkCLRExceptions[proc] {
53
- c.cache.netFrameworkCLRExceptions[proc] = true
54
- c.addProcessNetFrameworkExceptionsCharts(proc)
55
- }
56
- }
57
-
58
- for proc := range c.cache.netFrameworkCLRExceptions {
59
- if !seen[proc] {
60
- delete(c.cache.netFrameworkCLRExceptions, proc)
61
- c.removeProcessFromNetFrameworkExceptionsCharts(proc)
62
- }
63
- }
64
-}
65
-
66
-const (
67
- metricNetFrameworkCLRInteropComCallableWrappersTotal = "windows_netframework_clrinterop_com_callable_wrappers_total"
68
- metricNetFrameworkCLRInteropMarshallingTotal = "windows_netframework_clrinterop_interop_marshalling_total"
69
- metricNetFrameworkCLRInteropStubsCreatedTotal = "windows_netframework_clrinterop_interop_stubs_created_total"
70
-)
71
-
72
-func (c *Collector) collectNetFrameworkCLRInterop(mx map[string]int64, pms prometheus.Series) {
73
- seen := make(map[string]bool)
74
-
75
- for _, pm := range pms.FindByName(metricNetFrameworkCLRInteropComCallableWrappersTotal) {
76
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
77
- seen[name] = true
78
- mx[netframeworkPrefix+name+"_clrinterop_com_callable_wrappers_total"] += int64(pm.Value)
79
- }
80
- }
81
-
82
- for _, pm := range pms.FindByName(metricNetFrameworkCLRInteropMarshallingTotal) {
83
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
84
- seen[name] = true
85
- mx[netframeworkPrefix+name+"_clrinterop_interop_marshalling_total"] += int64(pm.Value)
86
- }
87
- }
88
-
89
- for _, pm := range pms.FindByName(metricNetFrameworkCLRInteropStubsCreatedTotal) {
90
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
91
- seen[name] = true
92
- mx[netframeworkPrefix+name+"_clrinterop_interop_stubs_created_total"] += int64(pm.Value)
93
- }
94
- }
95
-
96
- for proc := range seen {
97
- if !c.cache.netFrameworkCLRInterops[proc] {
98
- c.cache.netFrameworkCLRInterops[proc] = true
99
- c.addProcessNetFrameworkInteropCharts(proc)
100
- }
101
- }
102
-
103
- for proc := range c.cache.netFrameworkCLRInterops {
104
- if !seen[proc] {
105
- delete(c.cache.netFrameworkCLRInterops, proc)
106
- c.removeProcessNetFrameworkInteropCharts(proc)
107
- }
108
- }
109
-}
110
-
111
-const (
112
- metricNetFrameworkCLRJITMethodsTotal = "windows_netframework_clrjit_jit_methods_total"
113
- metricNetFrameworkCLRJITTimePercent = "windows_netframework_clrjit_jit_time_percent"
114
- metricNetFrameworkCLRJITStandardFailuresTotal = "windows_netframework_clrjit_jit_standard_failures_total"
115
- metricNetFrameworkCLRJITILBytesTotal = "windows_netframework_clrjit_jit_il_bytes_total"
116
-)
117
-
118
-func (c *Collector) collectNetFrameworkCLRJIT(mx map[string]int64, pms prometheus.Series) {
119
- seen := make(map[string]bool)
120
-
121
- for _, pm := range pms.FindByName(metricNetFrameworkCLRJITMethodsTotal) {
122
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
123
- seen[name] = true
124
- mx[netframeworkPrefix+name+"_clrjit_methods_total"] += int64(pm.Value)
125
- }
126
- }
127
-
128
- for _, pm := range pms.FindByName(metricNetFrameworkCLRJITStandardFailuresTotal) {
129
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
130
- seen[name] = true
131
- mx[netframeworkPrefix+name+"_clrjit_standard_failures_total"] += int64(pm.Value)
132
- }
133
- }
134
-
135
- for _, pm := range pms.FindByName(metricNetFrameworkCLRJITTimePercent) {
136
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
137
- seen[name] = true
138
- mx[netframeworkPrefix+name+"_clrjit_time_percent"] += int64(pm.Value)
139
- }
140
- }
141
-
142
- for _, pm := range pms.FindByName(metricNetFrameworkCLRJITILBytesTotal) {
143
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
144
- seen[name] = true
145
- mx[netframeworkPrefix+name+"_clrjit_il_bytes_total"] += int64(pm.Value)
146
- }
147
- }
148
-
149
- for proc := range seen {
150
- if !c.cache.netFrameworkCLRJIT[proc] {
151
- c.cache.netFrameworkCLRJIT[proc] = true
152
- c.addProcessNetFrameworkJITCharts(proc)
153
- }
154
- }
155
-
156
- for proc := range c.cache.netFrameworkCLRJIT {
157
- if !seen[proc] {
158
- delete(c.cache.netFrameworkCLRJIT, proc)
159
- c.removeProcessNetFrameworkJITCharts(proc)
160
- }
161
- }
162
-}
163
-
164
-const (
165
- metricNetFrameworkCLRLoadingLoaderHeapSizeBytes = "windows_netframework_clrloading_loader_heap_size_bytes"
166
- metricNetFrameworkCLRLoadingAppDomainLoadedTotal = "windows_netframework_clrloading_appdomains_loaded_total"
167
- metricNetFrameworkCLRLoadingAppDomainUnloadedTotal = "windows_netframework_clrloading_appdomains_unloaded_total"
168
- metricNetFrameworkCLRLoadingAssembliesLoadedTotal = "windows_netframework_clrloading_assemblies_loaded_total"
169
- metricNetFrameworkCLRLoadingClassesLoadedTotal = "windows_netframework_clrloading_classes_loaded_total"
170
- metricNetFrameworkCLRLoadingClassLoadFailuresTotal = "windows_netframework_clrloading_class_load_failures_total"
171
-)
172
-
173
-func (c *Collector) collectNetFrameworkCLRLoading(mx map[string]int64, pms prometheus.Series) {
174
- seen := make(map[string]bool)
175
-
176
- for _, pm := range pms.FindByName(metricNetFrameworkCLRLoadingLoaderHeapSizeBytes) {
177
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
178
- seen[name] = true
179
- mx[netframeworkPrefix+name+"_clrloading_loader_heap_size_bytes"] += int64(pm.Value)
180
- }
181
- }
182
-
183
- for _, pm := range pms.FindByName(metricNetFrameworkCLRLoadingAppDomainLoadedTotal) {
184
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
185
- seen[name] = true
186
- mx[netframeworkPrefix+name+"_clrloading_appdomains_loaded_total"] += int64(pm.Value)
187
- }
188
- }
189
-
190
- for _, pm := range pms.FindByName(metricNetFrameworkCLRLoadingAppDomainUnloadedTotal) {
191
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
192
- seen[name] = true
193
- mx[netframeworkPrefix+name+"_clrloading_appdomains_unloaded_total"] += int64(pm.Value)
194
- }
195
- }
196
-
197
- for _, pm := range pms.FindByName(metricNetFrameworkCLRLoadingAssembliesLoadedTotal) {
198
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
199
- seen[name] = true
200
- mx[netframeworkPrefix+name+"_clrloading_assemblies_loaded_total"] += int64(pm.Value)
201
- }
202
- }
203
-
204
- for _, pm := range pms.FindByName(metricNetFrameworkCLRLoadingClassesLoadedTotal) {
205
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
206
- seen[name] = true
207
- mx[netframeworkPrefix+name+"_clrloading_classes_loaded_total"] += int64(pm.Value)
208
- }
209
- }
210
-
211
- for _, pm := range pms.FindByName(metricNetFrameworkCLRLoadingClassLoadFailuresTotal) {
212
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
213
- seen[name] = true
214
- mx[netframeworkPrefix+name+"_clrloading_class_load_failures_total"] += int64(pm.Value)
215
- }
216
- }
217
-
218
- for proc := range seen {
219
- if !c.cache.netFrameworkCLRLoading[proc] {
220
- c.cache.netFrameworkCLRLoading[proc] = true
221
- c.addProcessNetFrameworkLoadingCharts(proc)
222
- }
223
- }
224
-
225
- for proc := range c.cache.netFrameworkCLRLoading {
226
- if !seen[proc] {
227
- delete(c.cache.netFrameworkCLRLoading, proc)
228
- c.removeProcessNetFrameworkLoadingCharts(proc)
229
- }
230
- }
231
-}
232
-
233
-const (
234
- metricNetFrameworkCLRLocksAndThreadsQueueLengthTotal = "windows_netframework_clrlocksandthreads_queue_length_total"
235
- metricNetFrameworkCLRLocksAndThreadsCurrentLogicalThreads = "windows_netframework_clrlocksandthreads_current_logical_threads"
236
- metricNetFrameworkCLRLocksAndThreadsPhysicalThreadsCurrent = "windows_netframework_clrlocksandthreads_physical_threads_current"
237
- metricNetFrameworkCLRLocksAndThreadsRecognizedThreadsTotal = "windows_netframework_clrlocksandthreads_recognized_threads_total"
238
- metricNetFrameworkCLRLocksAndThreadsContentionsTotal = "windows_netframework_clrlocksandthreads_contentions_total"
239
-)
240
-
241
-func (c *Collector) collectNetFrameworkCLRLocksAndThreads(mx map[string]int64, pms prometheus.Series) {
242
- seen := make(map[string]bool)
243
-
244
- for _, pm := range pms.FindByName(metricNetFrameworkCLRLocksAndThreadsQueueLengthTotal) {
245
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
246
- seen[name] = true
247
- mx[netframeworkPrefix+name+"_clrlocksandthreads_queue_length_total"] += int64(pm.Value)
248
- }
249
- }
250
-
251
- for _, pm := range pms.FindByName(metricNetFrameworkCLRLocksAndThreadsCurrentLogicalThreads) {
252
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
253
- seen[name] = true
254
- mx[netframeworkPrefix+name+"_clrlocksandthreads_current_logical_threads"] += int64(pm.Value)
255
- }
256
- }
257
-
258
- for _, pm := range pms.FindByName(metricNetFrameworkCLRLocksAndThreadsPhysicalThreadsCurrent) {
259
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
260
- seen[name] = true
261
- mx[netframeworkPrefix+name+"_clrlocksandthreads_physical_threads_current"] += int64(pm.Value)
262
- }
263
- }
264
-
265
- for _, pm := range pms.FindByName(metricNetFrameworkCLRLocksAndThreadsRecognizedThreadsTotal) {
266
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
267
- seen[name] = true
268
- mx[netframeworkPrefix+name+"_clrlocksandthreads_recognized_threads_total"] += int64(pm.Value)
269
- }
270
- }
271
-
272
- for _, pm := range pms.FindByName(metricNetFrameworkCLRLocksAndThreadsContentionsTotal) {
273
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
274
- seen[name] = true
275
- mx[netframeworkPrefix+name+"_clrlocksandthreads_contentions_total"] += int64(pm.Value)
276
- }
277
- }
278
-
279
- for proc := range seen {
280
- if !c.cache.netFrameworkCLRLocksThreads[proc] {
281
- c.cache.netFrameworkCLRLocksThreads[proc] = true
282
- c.addProcessNetFrameworkLocksAndThreadsCharts(proc)
283
- }
284
- }
285
-
286
- for proc := range c.cache.netFrameworkCLRLocksThreads {
287
- if !seen[proc] {
288
- delete(c.cache.netFrameworkCLRLocksThreads, proc)
289
- c.removeProcessNetFrameworkLocksAndThreadsCharts(proc)
290
- }
291
- }
292
-}
293
-
294
-const (
295
- metricNetFrameworkCLRMemoryAllocatedBytesTotal = "windows_netframework_clrmemory_allocated_bytes_total"
296
- metricNetFrameworkCLRMemoryFinalizationSurvivors = "windows_netframework_clrmemory_finalization_survivors"
297
- metricNetFrameworkCLRMemoryHeapSizeBytes = "windows_netframework_clrmemory_heap_size_bytes"
298
- metricNetFrameworkCLRMemoryPromotedBytes = "windows_netframework_clrmemory_promoted_bytes"
299
- metricNetFrameworkCLRMemoryNumberGCHandles = "windows_netframework_clrmemory_number_gc_handles"
300
- metricNetFrameworkCLRMemoryCollectionsTotal = "windows_netframework_clrmemory_collections_total"
301
- metricNetFrameworkCLRMemoryInducedGCTotal = "windows_netframework_clrmemory_induced_gc_total"
302
- metricNetFrameworkCLRMemoryNumberPinnedObjects = "windows_netframework_clrmemory_number_pinned_objects"
303
- metricNetFrameworkCLRMemoryNumberSinkBlockInUse = "windows_netframework_clrmemory_number_sink_blocksinuse"
304
- metricNetFrameworkCLRMemoryCommittedBytes = "windows_netframework_clrmemory_committed_bytes"
305
- metricNetFrameworkCLRMemoryReservedBytes = "windows_netframework_clrmemory_reserved_bytes"
306
- metricNetFrameworkCLRMemoryGCTimePercent = "windows_netframework_clrmemory_gc_time_percent"
307
-)
308
-
309
-func (c *Collector) collectNetFrameworkCLRMemory(mx map[string]int64, pms prometheus.Series) {
310
- seen := make(map[string]bool)
311
-
312
- for _, pm := range pms.FindByName(metricNetFrameworkCLRMemoryAllocatedBytesTotal) {
313
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
314
- seen[name] = true
315
- mx[netframeworkPrefix+name+"_clrmemory_allocated_bytes_total"] += int64(pm.Value)
316
- }
317
- }
318
-
319
- for _, pm := range pms.FindByName(metricNetFrameworkCLRMemoryFinalizationSurvivors) {
320
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
321
- seen[name] = true
322
- mx[netframeworkPrefix+name+"_clrmemory_finalization_survivors"] += int64(pm.Value)
323
- }
324
- }
325
-
326
- for _, pm := range pms.FindByName(metricNetFrameworkCLRMemoryHeapSizeBytes) {
327
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
328
- seen[name] = true
329
- mx[netframeworkPrefix+name+"_clrmemory_heap_size_bytes"] += int64(pm.Value)
330
- }
331
- }
332
-
333
- for _, pm := range pms.FindByName(metricNetFrameworkCLRMemoryPromotedBytes) {
334
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
335
- seen[name] = true
336
- mx[netframeworkPrefix+name+"_clrmemory_promoted_bytes"] += int64(pm.Value)
337
- }
338
- }
339
-
340
- for _, pm := range pms.FindByName(metricNetFrameworkCLRMemoryNumberGCHandles) {
341
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
342
- seen[name] = true
343
- mx[netframeworkPrefix+name+"_clrmemory_number_gc_handles"] += int64(pm.Value)
344
- }
345
- }
346
-
347
- for _, pm := range pms.FindByName(metricNetFrameworkCLRMemoryCollectionsTotal) {
348
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
349
- seen[name] = true
350
- mx[netframeworkPrefix+name+"_clrmemory_collections_total"] += int64(pm.Value)
351
- }
352
- }
353
-
354
- for _, pm := range pms.FindByName(metricNetFrameworkCLRMemoryInducedGCTotal) {
355
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
356
- seen[name] = true
357
- mx[netframeworkPrefix+name+"_clrmemory_induced_gc_total"] += int64(pm.Value)
358
- }
359
- }
360
-
361
- for _, pm := range pms.FindByName(metricNetFrameworkCLRMemoryNumberPinnedObjects) {
362
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
363
- seen[name] = true
364
- mx[netframeworkPrefix+name+"_clrmemory_number_pinned_objects"] += int64(pm.Value)
365
- }
366
- }
367
-
368
- for _, pm := range pms.FindByName(metricNetFrameworkCLRMemoryNumberSinkBlockInUse) {
369
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
370
- seen[name] = true
371
- mx[netframeworkPrefix+name+"_clrmemory_number_sink_blocksinuse"] += int64(pm.Value)
372
- }
373
- }
374
-
375
- for _, pm := range pms.FindByName(metricNetFrameworkCLRMemoryCommittedBytes) {
376
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
377
- seen[name] = true
378
- mx[netframeworkPrefix+name+"_clrmemory_committed_bytes"] += int64(pm.Value)
379
- }
380
- }
381
-
382
- for _, pm := range pms.FindByName(metricNetFrameworkCLRMemoryReservedBytes) {
383
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
384
- seen[name] = true
385
- mx[netframeworkPrefix+name+"_clrmemory_reserved_bytes"] += int64(pm.Value)
386
- }
387
- }
388
-
389
- for _, pm := range pms.FindByName(metricNetFrameworkCLRMemoryGCTimePercent) {
390
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
391
- seen[name] = true
392
- mx[netframeworkPrefix+name+"_clrmemory_gc_time_percent"] += int64(pm.Value)
393
- }
394
- }
395
-
396
- for proc := range seen {
397
- if !c.cache.netFrameworkCLRMemory[proc] {
398
- c.cache.netFrameworkCLRMemory[proc] = true
399
- c.addProcessNetFrameworkMemoryCharts(proc)
400
- }
401
- }
402
-
403
- for proc := range c.cache.netFrameworkCLRMemory {
404
- if !seen[proc] {
405
- delete(c.cache.netFrameworkCLRMemory, proc)
406
- c.removeProcessNetFrameworkMemoryCharts(proc)
407
- }
408
- }
409
-}
410
-
411
-const (
412
- metricNetFrameworkCLRRemotingChannelsTotal = "windows_netframework_clrremoting_channels_total"
413
- metricNetFrameworkCLRRemotingContextBoundClassesLoaded = "windows_netframework_clrremoting_context_bound_classes_loaded"
414
- metricNetFrameworkCLRRemotingContextBoundObjectsTotal = "windows_netframework_clrremoting_context_bound_objects_total"
415
- metricNetFrameworkCLRRemotingContextProxiesTotal = "windows_netframework_clrremoting_context_proxies_total"
416
- metricNetFrameworkCLRRemotingContexts = "windows_netframework_clrremoting_contexts"
417
- metricNetFrameworkCLRRemotingRemoteCallsTotal = "windows_netframework_clrremoting_remote_calls_total"
418
-)
419
-
420
-func (c *Collector) collectNetFrameworkCLRRemoting(mx map[string]int64, pms prometheus.Series) {
421
- seen := make(map[string]bool)
422
-
423
- for _, pm := range pms.FindByName(metricNetFrameworkCLRRemotingChannelsTotal) {
424
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
425
- seen[name] = true
426
- mx[netframeworkPrefix+name+"_clrremoting_channels_total"] += int64(pm.Value)
427
- }
428
- }
429
-
430
- for _, pm := range pms.FindByName(metricNetFrameworkCLRRemotingContextBoundClassesLoaded) {
431
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
432
- seen[name] = true
433
- mx[netframeworkPrefix+name+"_clrremoting_context_bound_classes_loaded"] += int64(pm.Value)
434
- }
435
- }
436
-
437
- for _, pm := range pms.FindByName(metricNetFrameworkCLRRemotingContextBoundObjectsTotal) {
438
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
439
- seen[name] = true
440
- mx[netframeworkPrefix+name+"_clrremoting_context_bound_objects_total"] += int64(pm.Value)
441
- }
442
- }
443
-
444
- for _, pm := range pms.FindByName(metricNetFrameworkCLRRemotingContextProxiesTotal) {
445
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
446
- seen[name] = true
447
- mx[netframeworkPrefix+name+"_clrremoting_context_proxies_total"] += int64(pm.Value)
448
- }
449
- }
450
-
451
- for _, pm := range pms.FindByName(metricNetFrameworkCLRRemotingContexts) {
452
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
453
- seen[name] = true
454
- mx[netframeworkPrefix+name+"_clrremoting_contexts"] += int64(pm.Value)
455
- }
456
- }
457
-
458
- for _, pm := range pms.FindByName(metricNetFrameworkCLRRemotingRemoteCallsTotal) {
459
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
460
- seen[name] = true
461
- mx[netframeworkPrefix+name+"_clrremoting_remote_calls_total"] += int64(pm.Value)
462
- }
463
- }
464
-
465
- for proc := range seen {
466
- if !c.cache.netFrameworkCLRRemoting[proc] {
467
- c.cache.netFrameworkCLRRemoting[proc] = true
468
- c.addProcessNetFrameworkRemotingCharts(proc)
469
- }
470
- }
471
-
472
- for proc := range c.cache.netFrameworkCLRRemoting {
473
- if !seen[proc] {
474
- delete(c.cache.netFrameworkCLRRemoting, proc)
475
- c.removeProcessNetFrameworkRemotingCharts(proc)
476
- }
477
- }
478
-}
479
-
480
-const (
481
- metricNetFrameworkCLRSecurityLinkTimeChecksTotal = "windows_netframework_clrsecurity_link_time_checks_total"
482
- metricNetFrameworkCLRSecurityRTChecksTimePercent = "windows_netframework_clrsecurity_rt_checks_time_percent"
483
- metricNetFrameworkCLRSecurityStackWalkDepth = "windows_netframework_clrsecurity_stack_walk_depth"
484
- metricNetFrameworkCLRSecurityRuntimeChecksTotal = "windows_netframework_clrsecurity_runtime_checks_total"
485
-)
486
-
487
-func (c *Collector) collectNetFrameworkCLRSecurity(mx map[string]int64, pms prometheus.Series) {
488
- seen := make(map[string]bool)
489
-
490
- for _, pm := range pms.FindByName(metricNetFrameworkCLRSecurityLinkTimeChecksTotal) {
491
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
492
- seen[name] = true
493
- mx[netframeworkPrefix+name+"_clrsecurity_link_time_checks_total"] += int64(pm.Value)
494
- }
495
- }
496
-
497
- for _, pm := range pms.FindByName(metricNetFrameworkCLRSecurityRTChecksTimePercent) {
498
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
499
- seen[name] = true
500
- mx[netframeworkPrefix+name+"_clrsecurity_checks_time_percent"] += int64(pm.Value)
501
- }
502
- }
503
-
504
- for _, pm := range pms.FindByName(metricNetFrameworkCLRSecurityStackWalkDepth) {
505
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
506
- seen[name] = true
507
- mx[netframeworkPrefix+name+"_clrsecurity_stack_walk_depth"] += int64(pm.Value)
508
- }
509
- }
510
-
511
- for _, pm := range pms.FindByName(metricNetFrameworkCLRSecurityRuntimeChecksTotal) {
512
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
513
- seen[name] = true
514
- mx[netframeworkPrefix+name+"_clrsecurity_runtime_checks_total"] += int64(pm.Value)
515
- }
516
- }
517
-
518
- for proc := range seen {
519
- if !c.cache.netFrameworkCLRSecurity[proc] {
520
- c.cache.netFrameworkCLRSecurity[proc] = true
521
- c.addProcessNetFrameworkSecurityCharts(proc)
522
- }
523
- }
524
-
525
- for proc := range c.cache.netFrameworkCLRSecurity {
526
- if !seen[proc] {
527
- delete(c.cache.netFrameworkCLRSecurity, proc)
528
- c.removeProcessNetFrameworkSecurityCharts(proc)
529
- }
530
- }
531
-}
src/go/plugin/go.d/collector/windows/collect_os.go
deleted
-47
@@ -1,47 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
7
-)
8
-
9
-const (
10
- metricOSPhysicalMemoryFreeBytes = "windows_os_physical_memory_free_bytes"
11
- metricOSPagingFreeBytes = "windows_os_paging_free_bytes"
12
- metricOSProcessesLimit = "windows_os_processes_limit"
13
- metricOSProcesses = "windows_os_processes"
14
- metricOSUsers = "windows_os_users"
15
- metricOSPagingLimitBytes = "windows_os_paging_limit_bytes"
16
- metricOSVisibleMemoryBytes = "windows_os_visible_memory_bytes"
17
-)
18
-
19
-func (c *Collector) collectOS(mx map[string]int64, pms prometheus.Series) {
20
- if !c.cache.collection[collectorOS] {
21
- c.cache.collection[collectorOS] = true
22
- c.addOSCharts()
23
- }
24
-
25
- px := "os_"
26
- if pm := pms.FindByName(metricOSPhysicalMemoryFreeBytes); pm.Len() > 0 {
27
- mx[px+"physical_memory_free_bytes"] = int64(pm.Max())
28
- }
29
- if pm := pms.FindByName(metricOSPagingFreeBytes); pm.Len() > 0 {
30
- mx[px+"paging_free_bytes"] = int64(pm.Max())
31
- }
32
- if pm := pms.FindByName(metricOSProcessesLimit); pm.Len() > 0 {
33
- mx[px+"processes_limit"] = int64(pm.Max())
34
- }
35
- if pm := pms.FindByName(metricOSProcesses); pm.Len() > 0 {
36
- mx[px+"processes"] = int64(pm.Max())
37
- }
38
- if pm := pms.FindByName(metricOSUsers); pm.Len() > 0 {
39
- mx[px+"users"] = int64(pm.Max())
40
- }
41
- if pm := pms.FindByName(metricOSPagingLimitBytes); pm.Len() > 0 {
42
- mx[px+"paging_limit_bytes"] = int64(pm.Max())
43
- }
44
- if pm := pms.FindByName(metricOSVisibleMemoryBytes); pm.Len() > 0 {
45
- mx[px+"visible_memory_bytes"] = int64(pm.Max())
46
- }
47
-}
src/go/plugin/go.d/collector/windows/collect_process.go
deleted
-95
@@ -1,95 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "strings"
7
-
8
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
9
-)
10
-
11
-const (
12
- metricProcessCPUTimeTotal = "windows_process_cpu_time_total"
13
- metricProcessWorkingSetBytes = "windows_process_working_set_private_bytes"
14
- metricProcessIOBytes = "windows_process_io_bytes_total"
15
- metricProcessIOOperations = "windows_process_io_operations_total"
16
- metricProcessPageFaults = "windows_process_page_faults_total"
17
- metricProcessPageFileBytes = "windows_process_page_file_bytes"
18
- metricProcessThreads = "windows_process_threads"
19
- metricProcessCPUHandles = "windows_process_handles"
20
-)
21
-
22
-func (c *Collector) collectProcess(mx map[string]int64, pms prometheus.Series) {
23
- if !c.cache.collection[collectorProcess] {
24
- c.cache.collection[collectorProcess] = true
25
- c.addProcessesCharts()
26
- }
27
-
28
- seen := make(map[string]bool)
29
- px := "process_"
30
- for _, pm := range pms.FindByName(metricProcessCPUTimeTotal) {
31
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
32
- seen[name] = true
33
- mx[px+name+"_cpu_time"] += int64(pm.Value * 1000)
34
- }
35
- }
36
- for _, pm := range pms.FindByName(metricProcessWorkingSetBytes) {
37
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
38
- seen[name] = true
39
- mx[px+name+"_working_set_private_bytes"] += int64(pm.Value)
40
- }
41
- }
42
- for _, pm := range pms.FindByName(metricProcessIOBytes) {
43
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
44
- seen[name] = true
45
- mx[px+name+"_io_bytes"] += int64(pm.Value)
46
- }
47
- }
48
- for _, pm := range pms.FindByName(metricProcessIOOperations) {
49
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
50
- seen[name] = true
51
- mx[px+name+"_io_operations"] += int64(pm.Value)
52
- }
53
- }
54
- for _, pm := range pms.FindByName(metricProcessPageFaults) {
55
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
56
- seen[name] = true
57
- mx[px+name+"_page_faults"] += int64(pm.Value)
58
- }
59
- }
60
- for _, pm := range pms.FindByName(metricProcessPageFileBytes) {
61
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
62
- seen[name] = true
63
- mx[px+name+"_page_file_bytes"] += int64(pm.Value)
64
- }
65
- }
66
- for _, pm := range pms.FindByName(metricProcessThreads) {
67
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
68
- seen[name] = true
69
- mx[px+name+"_threads"] += int64(pm.Value)
70
- }
71
- }
72
- for _, pm := range pms.FindByName(metricProcessCPUHandles) {
73
- if name := cleanProcessName(pm.Labels.Get("process")); name != "" {
74
- seen[name] = true
75
- mx[px+name+"_handles"] += int64(pm.Value)
76
- }
77
- }
78
-
79
- for proc := range seen {
80
- if !c.cache.processes[proc] {
81
- c.cache.processes[proc] = true
82
- c.addProcessToCharts(proc)
83
- }
84
- }
85
- for proc := range c.cache.processes {
86
- if !seen[proc] {
87
- delete(c.cache.processes, proc)
88
- c.removeProcessFromCharts(proc)
89
- }
90
- }
91
-}
92
-
93
-func cleanProcessName(name string) string {
94
- return strings.ReplaceAll(name, " ", "_")
95
-}
src/go/plugin/go.d/collector/windows/collect_service.go
deleted
-56
@@ -1,56 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "strings"
7
-
8
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
9
-)
10
-
11
-const (
12
- metricServiceState = "windows_service_state"
13
- metricServiceStatus = "windows_service_status"
14
-)
15
-
16
-func (c *Collector) collectService(mx map[string]int64, pms prometheus.Series) {
17
- seen := make(map[string]bool)
18
- px := "service_"
19
- for _, pm := range pms.FindByName(metricServiceState) {
20
- name := cleanService(pm.Labels.Get("name"))
21
- state := cleanService(pm.Labels.Get("state"))
22
- if name == "" || state == "" {
23
- continue
24
- }
25
-
26
- seen[name] = true
27
- mx[px+name+"_state_"+state] = int64(pm.Value)
28
- }
29
- for _, pm := range pms.FindByName(metricServiceStatus) {
30
- name := cleanService(pm.Labels.Get("name"))
31
- status := cleanService(pm.Labels.Get("status"))
32
- if name == "" || status == "" {
33
- continue
34
- }
35
-
36
- seen[name] = true
37
- mx[px+name+"_status_"+status] = int64(pm.Value)
38
- }
39
-
40
- for svc := range seen {
41
- if !c.cache.services[svc] {
42
- c.cache.services[svc] = true
43
- c.addServiceCharts(svc)
44
- }
45
- }
46
- for svc := range c.cache.services {
47
- if !seen[svc] {
48
- delete(c.cache.services, svc)
49
- c.removeServiceCharts(svc)
50
- }
51
- }
52
-}
53
-
54
-func cleanService(name string) string {
55
- return strings.ReplaceAll(name, " ", "_")
56
-}
src/go/plugin/go.d/collector/windows/collect_system.go
deleted
-29
@@ -1,29 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "time"
7
-
8
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
9
-)
10
-
11
-const (
12
- metricSysSystemUpTime = "windows_system_system_up_time"
13
- metricSysThreads = "windows_system_threads"
14
-)
15
-
16
-func (c *Collector) collectSystem(mx map[string]int64, pms prometheus.Series) {
17
- if !c.cache.collection[collectorSystem] {
18
- c.cache.collection[collectorSystem] = true
19
- c.addSystemCharts()
20
- }
21
-
22
- px := "system_"
23
- if pm := pms.FindByName(metricSysSystemUpTime); pm.Len() > 0 {
24
- mx[px+"up_time"] = time.Now().Unix() - int64(pm.Max())
25
- }
26
- if pm := pms.FindByName(metricSysThreads); pm.Len() > 0 {
27
- mx[px+"threads"] = int64(pm.Max())
28
- }
29
-}
src/go/plugin/go.d/collector/windows/collect_tcp.go
deleted
-65
@@ -1,65 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
6
-
7
-const (
8
- metricTCPConnectionFailure = "windows_tcp_connection_failures_total"
9
- metricTCPConnectionActive = "windows_tcp_connections_active_total"
10
- metricTCPConnectionEstablished = "windows_tcp_connections_established"
11
- metricTCPConnectionPassive = "windows_tcp_connections_passive_total"
12
- metricTCPConnectionReset = "windows_tcp_connections_reset_total"
13
- metricTCPConnectionSegmentsReceived = "windows_tcp_segments_received_total"
14
- metricTCPConnectionSegmentsRetransmitted = "windows_tcp_segments_retransmitted_total"
15
- metricTCPConnectionSegmentsSent = "windows_tcp_segments_sent_total"
16
-)
17
-
18
-func (c *Collector) collectTCP(mx map[string]int64, pms prometheus.Series) {
19
- if !c.cache.collection[collectorTCP] {
20
- c.cache.collection[collectorTCP] = true
21
- c.addTCPCharts()
22
- }
23
-
24
- px := "tcp_"
25
- for _, pm := range pms.FindByName(metricTCPConnectionFailure) {
26
- if af := pm.Labels.Get("af"); af != "" {
27
- mx[px+af+"_conns_failures"] = int64(pm.Value)
28
- }
29
- }
30
- for _, pm := range pms.FindByName(metricTCPConnectionActive) {
31
- if af := pm.Labels.Get("af"); af != "" {
32
- mx[px+af+"_conns_active"] = int64(pm.Value)
33
- }
34
- }
35
- for _, pm := range pms.FindByName(metricTCPConnectionEstablished) {
36
- if af := pm.Labels.Get("af"); af != "" {
37
- mx[px+af+"_conns_established"] = int64(pm.Value)
38
- }
39
- }
40
- for _, pm := range pms.FindByName(metricTCPConnectionPassive) {
41
- if af := pm.Labels.Get("af"); af != "" {
42
- mx[px+af+"_conns_passive"] = int64(pm.Value)
43
- }
44
- }
45
- for _, pm := range pms.FindByName(metricTCPConnectionReset) {
46
- if af := pm.Labels.Get("af"); af != "" {
47
- mx[px+af+"_conns_resets"] = int64(pm.Value)
48
- }
49
- }
50
- for _, pm := range pms.FindByName(metricTCPConnectionSegmentsReceived) {
51
- if af := pm.Labels.Get("af"); af != "" {
52
- mx[px+af+"_segments_received"] = int64(pm.Value)
53
- }
54
- }
55
- for _, pm := range pms.FindByName(metricTCPConnectionSegmentsRetransmitted) {
56
- if af := pm.Labels.Get("af"); af != "" {
57
- mx[px+af+"_segments_retransmitted"] = int64(pm.Value)
58
- }
59
- }
60
- for _, pm := range pms.FindByName(metricTCPConnectionSegmentsSent) {
61
- if af := pm.Labels.Get("af"); af != "" {
62
- mx[px+af+"_segments_sent"] = int64(pm.Value)
63
- }
64
- }
65
-}
src/go/plugin/go.d/collector/windows/collect_thermalzone.go
deleted
-45
@@ -1,45 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "strings"
7
-
8
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
9
-)
10
-
11
-const (
12
- metricThermalzoneTemperatureCelsius = "windows_thermalzone_temperature_celsius"
13
-)
14
-
15
-func (c *Collector) collectThermalzone(mx map[string]int64, pms prometheus.Series) {
16
- seen := make(map[string]bool)
17
- for _, pm := range pms.FindByName(metricThermalzoneTemperatureCelsius) {
18
- if name := cleanZoneName(pm.Labels.Get("name")); name != "" {
19
- seen[name] = true
20
- mx["thermalzone_"+name+"_temperature"] = int64(pm.Value)
21
- }
22
- }
23
-
24
- for zone := range seen {
25
- if !c.cache.thermalZones[zone] {
26
- c.cache.thermalZones[zone] = true
27
- c.addThermalZoneCharts(zone)
28
- }
29
- }
30
- for zone := range c.cache.thermalZones {
31
- if !seen[zone] {
32
- delete(c.cache.thermalZones, zone)
33
- c.removeThermalZoneCharts(zone)
34
- }
35
- }
36
-}
37
-
38
-func cleanZoneName(name string) string {
39
- // "\\_TZ.TZ10", "\\_TZ.X570" => TZ10, X570
40
- i := strings.Index(name, ".")
41
- if i == -1 || len(name) == i+1 {
42
- return ""
43
- }
44
- return name[i+1:]
45
-}
src/go/plugin/go.d/collector/windows/collector.go
deleted
-171
@@ -1,171 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "context"
7
- _ "embed"
8
- "errors"
9
- "fmt"
10
- "time"
11
-
12
- "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
13
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/confopt"
14
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
15
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/web"
16
-)
17
-
18
-//go:embed "config_schema.json"
19
-var configSchema string
20
-
21
-func init() {
22
- module.Register("windows", module.Creator{
23
- JobConfigSchema: configSchema,
24
- Defaults: module.Defaults{
25
- UpdateEvery: 5,
26
- },
27
- Create: func() module.Module { return New() },
28
- Config: func() any { return &Config{} },
29
- })
30
-}
31
-
32
-func New() *Collector {
33
- return &Collector{
34
- Config: Config{
35
- HTTPConfig: web.HTTPConfig{
36
- ClientConfig: web.ClientConfig{
37
- Timeout: confopt.Duration(time.Second * 5),
38
- },
39
- },
40
- },
41
- cache: cache{
42
- collection: make(map[string]bool),
43
- collectors: make(map[string]bool),
44
- cores: make(map[string]bool),
45
- nics: make(map[string]bool),
46
- volumes: make(map[string]bool),
47
- thermalZones: make(map[string]bool),
48
- processes: make(map[string]bool),
49
- iis: make(map[string]bool),
50
- adcs: make(map[string]bool),
51
- services: make(map[string]bool),
52
- netFrameworkCLRExceptions: make(map[string]bool),
53
- netFrameworkCLRInterops: make(map[string]bool),
54
- netFrameworkCLRJIT: make(map[string]bool),
55
- netFrameworkCLRLoading: make(map[string]bool),
56
- netFrameworkCLRLocksThreads: make(map[string]bool),
57
- netFrameworkCLRMemory: make(map[string]bool),
58
- netFrameworkCLRRemoting: make(map[string]bool),
59
- netFrameworkCLRSecurity: make(map[string]bool),
60
- mssqlInstances: make(map[string]bool),
61
- mssqlDBs: make(map[string]bool),
62
- exchangeWorkload: make(map[string]bool),
63
- exchangeLDAP: make(map[string]bool),
64
- exchangeHTTPProxy: make(map[string]bool),
65
- hypervVMMem: make(map[string]bool),
66
- hypervVMDevices: make(map[string]bool),
67
- hypervVMInterfaces: make(map[string]bool),
68
- hypervVswitch: make(map[string]bool),
69
- },
70
- charts: &module.Charts{},
71
- }
72
-}
73
-
74
-type Config struct {
75
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
76
- web.HTTPConfig `yaml:",inline" json:""`
77
- Vnode string `yaml:"vnode,omitempty" json:"vnode"`
78
-}
79
-
80
-type (
81
- Collector struct {
82
- module.Base
83
- Config `yaml:",inline" json:""`
84
-
85
- charts *module.Charts
86
-
87
- prom prometheus.Prometheus
88
-
89
- cache cache
90
- }
91
- cache struct {
92
- cores map[string]bool
93
- volumes map[string]bool
94
- nics map[string]bool
95
- thermalZones map[string]bool
96
- processes map[string]bool
97
- iis map[string]bool
98
- adcs map[string]bool
99
- mssqlInstances map[string]bool
100
- mssqlDBs map[string]bool
101
- services map[string]bool
102
- netFrameworkCLRExceptions map[string]bool
103
- netFrameworkCLRInterops map[string]bool
104
- netFrameworkCLRJIT map[string]bool
105
- netFrameworkCLRLoading map[string]bool
106
- netFrameworkCLRLocksThreads map[string]bool
107
- netFrameworkCLRMemory map[string]bool
108
- netFrameworkCLRRemoting map[string]bool
109
- netFrameworkCLRSecurity map[string]bool
110
- collectors map[string]bool
111
- collection map[string]bool
112
- exchangeWorkload map[string]bool
113
- exchangeLDAP map[string]bool
114
- exchangeHTTPProxy map[string]bool
115
- hypervVMMem map[string]bool
116
- hypervVMDevices map[string]bool
117
- hypervVMInterfaces map[string]bool
118
- hypervVswitch map[string]bool
119
- }
120
-)
121
-
122
-func (c *Collector) Configuration() any {
123
- return c.Config
124
-}
125
-
126
-func (c *Collector) Init(context.Context) error {
127
- if err := c.validateConfig(); err != nil {
128
- return fmt.Errorf("config validation: %v", err)
129
- }
130
-
131
- prom, err := c.initPrometheusClient()
132
- if err != nil {
133
- return fmt.Errorf("init prometheus clients: %v", err)
134
- }
135
- c.prom = prom
136
-
137
- return nil
138
-}
139
-
140
-func (c *Collector) Check(context.Context) error {
141
- mx, err := c.collect()
142
- if err != nil {
143
- return err
144
- }
145
- if len(mx) == 0 {
146
- return errors.New("no metrics collected")
147
- }
148
- return nil
149
-}
150
-
151
-func (c *Collector) Charts() *module.Charts {
152
- return c.charts
153
-}
154
-
155
-func (c *Collector) Collect(context.Context) map[string]int64 {
156
- ms, err := c.collect()
157
- if err != nil {
158
- c.Error(err)
159
- }
160
-
161
- if len(ms) == 0 {
162
- return nil
163
- }
164
- return ms
165
-}
166
-
167
-func (c *Collector) Cleanup(context.Context) {
168
- if c.prom != nil && c.prom.HTTPClient() != nil {
169
- c.prom.HTTPClient().CloseIdleConnections()
170
- }
171
-}
src/go/plugin/go.d/collector/windows/collector_test.go
deleted
-1088
@@ -1,1088 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "context"
7
- "fmt"
8
- "net/http"
9
- "net/http/httptest"
10
- "os"
11
- "strings"
12
- "testing"
13
-
14
- "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
15
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/web"
16
-
17
- "github.com/stretchr/testify/assert"
18
- "github.com/stretchr/testify/require"
19
-)
20
-
21
-var (
22
- dataConfigJSON, _ = os.ReadFile("testdata/config.json")
23
- dataConfigYAML, _ = os.ReadFile("testdata/config.yaml")
24
-
25
- dataVer0200Metrics, _ = os.ReadFile("testdata/v0.20.0/metrics.txt")
26
-)
27
-
28
-func Test_testDataIsValid(t *testing.T) {
29
- for name, data := range map[string][]byte{
30
- "dataConfigJSON": dataConfigJSON,
31
- "dataConfigYAML": dataConfigYAML,
32
- "dataVer0200Metrics": dataVer0200Metrics,
33
- } {
34
- assert.NotNil(t, data, name)
35
- }
36
-}
37
-
38
-func TestCollector_ConfigurationSerialize(t *testing.T) {
39
- module.TestConfigurationSerialize(t, &Collector{}, dataConfigJSON, dataConfigYAML)
40
-}
41
-
42
-func TestNew(t *testing.T) {
43
- assert.IsType(t, (*Collector)(nil), New())
44
-}
45
-
46
-func TestCollector_Init(t *testing.T) {
47
- tests := map[string]struct {
48
- config Config
49
- wantFail bool
50
- }{
51
- "success if 'url' is set": {
52
- config: Config{
53
- HTTPConfig: web.HTTPConfig{RequestConfig: web.RequestConfig{URL: "http://127.0.0.1:9182/metrics"}}},
54
- },
55
- "fails on default config": {
56
- wantFail: true,
57
- config: New().Config,
58
- },
59
- "fails if 'url' is unset": {
60
- wantFail: true,
61
- config: Config{HTTPConfig: web.HTTPConfig{RequestConfig: web.RequestConfig{URL: ""}}},
62
- },
63
- }
64
-
65
- for name, test := range tests {
66
- t.Run(name, func(t *testing.T) {
67
- collr := New()
68
- collr.Config = test.config
69
-
70
- if test.wantFail {
71
- assert.Error(t, collr.Init(context.Background()))
72
- } else {
73
- assert.NoError(t, collr.Init(context.Background()))
74
- }
75
- })
76
- }
77
-}
78
-
79
-func TestCollector_Check(t *testing.T) {
80
- tests := map[string]struct {
81
- prepare func() (collr *Collector, cleanup func())
82
- wantFail bool
83
- }{
84
- "success on valid response v0.20.0": {
85
- prepare: prepareWindowsV0200,
86
- },
87
- "fails if endpoint returns invalid data": {
88
- wantFail: true,
89
- prepare: prepareWindowsReturnsInvalidData,
90
- },
91
- "fails on connection refused": {
92
- wantFail: true,
93
- prepare: prepareWindowsConnectionRefused,
94
- },
95
- "fails on 404 response": {
96
- wantFail: true,
97
- prepare: prepareWindowsResponse404,
98
- },
99
- }
100
-
101
- for name, test := range tests {
102
- t.Run(name, func(t *testing.T) {
103
- collr, cleanup := test.prepare()
104
- defer cleanup()
105
-
106
- require.NoError(t, collr.Init(context.Background()))
107
-
108
- if test.wantFail {
109
- assert.Error(t, collr.Check(context.Background()))
110
- } else {
111
- assert.NoError(t, collr.Check(context.Background()))
112
- }
113
- })
114
- }
115
-}
116
-
117
-func TestCollector_Charts(t *testing.T) {
118
- assert.NotNil(t, New().Charts())
119
-}
120
-
121
-func TestCollector_Cleanup(t *testing.T) {
122
- assert.NotPanics(t, func() { New().Cleanup(context.Background()) })
123
-}
124
-
125
-func TestCollector_Collect(t *testing.T) {
126
- tests := map[string]struct {
127
- prepare func() (collr *Collector, cleanup func())
128
- wantCollected map[string]int64
129
- }{
130
- "success on valid response v0.20.0": {
131
- prepare: prepareWindowsV0200,
132
- wantCollected: map[string]int64{
133
- "ad_atq_average_request_latency": 0,
134
- "ad_atq_outstanding_requests": 0,
135
- "ad_binds_total": 184,
136
- "ad_database_operations_total_add": 1,
137
- "ad_database_operations_total_delete": 0,
138
- "ad_database_operations_total_modify": 30,
139
- "ad_database_operations_total_recycle": 0,
140
- "ad_directory_operations_total_read": 726,
141
- "ad_directory_operations_total_search": 831,
142
- "ad_directory_operations_total_write": 31,
143
- "ad_directory_service_threads": 0,
144
- "ad_ldap_last_bind_time_seconds": 0,
145
- "ad_ldap_searches_total": 1382,
146
- "ad_name_cache_hits_total": 41161,
147
- "ad_name_cache_lookups_total": 53046,
148
- "ad_replication_data_intersite_bytes_total_inbound": 0,
149
- "ad_replication_data_intersite_bytes_total_outbound": 0,
150
- "ad_replication_data_intrasite_bytes_total_inbound": 0,
151
- "ad_replication_data_intrasite_bytes_total_outbound": 0,
152
- "ad_replication_inbound_objects_filtered_total": 0,
153
- "ad_replication_inbound_properties_filtered_total": 0,
154
- "ad_replication_inbound_properties_updated_total": 0,
155
- "ad_replication_inbound_sync_objects_remaining": 0,
156
- "ad_replication_pending_synchronizations": 0,
157
- "ad_replication_sync_requests_total": 0,
158
- "adcs_cert_template_Administrator_challenge_response_processing_time_seconds": 0,
159
- "adcs_cert_template_Administrator_challenge_responses_total": 0,
160
- "adcs_cert_template_Administrator_failed_requests_total": 0,
161
- "adcs_cert_template_Administrator_issued_requests_total": 0,
162
- "adcs_cert_template_Administrator_pending_requests_total": 0,
163
- "adcs_cert_template_Administrator_request_cryptographic_signing_time_seconds": 0,
164
- "adcs_cert_template_Administrator_request_policy_module_processing_time_seconds": 0,
165
- "adcs_cert_template_Administrator_request_processing_time_seconds": 0,
166
- "adcs_cert_template_Administrator_requests_total": 0,
167
- "adcs_cert_template_Administrator_retrievals_processing_time_seconds": 0,
168
- "adcs_cert_template_Administrator_retrievals_total": 0,
169
- "adcs_cert_template_Administrator_signed_certificate_timestamp_list_processing_time_seconds": 0,
170
- "adcs_cert_template_Administrator_signed_certificate_timestamp_lists_total": 0,
171
- "adcs_cert_template_DomainController_challenge_response_processing_time_seconds": 0,
172
- "adcs_cert_template_DomainController_challenge_responses_total": 0,
173
- "adcs_cert_template_DomainController_failed_requests_total": 0,
174
- "adcs_cert_template_DomainController_issued_requests_total": 1,
175
- "adcs_cert_template_DomainController_pending_requests_total": 0,
176
- "adcs_cert_template_DomainController_request_cryptographic_signing_time_seconds": 0,
177
- "adcs_cert_template_DomainController_request_policy_module_processing_time_seconds": 16,
178
- "adcs_cert_template_DomainController_request_processing_time_seconds": 63,
179
- "adcs_cert_template_DomainController_requests_total": 1,
180
- "adcs_cert_template_DomainController_retrievals_processing_time_seconds": 0,
181
- "adcs_cert_template_DomainController_retrievals_total": 0,
182
- "adcs_cert_template_DomainController_signed_certificate_timestamp_list_processing_time_seconds": 0,
183
- "adcs_cert_template_DomainController_signed_certificate_timestamp_lists_total": 0,
184
- "adfs_ad_login_connection_failures_total": 0,
185
- "adfs_certificate_authentications_total": 0,
186
- "adfs_db_artifact_failure_total": 0,
187
- "adfs_db_artifact_query_time_seconds_total": 0,
188
- "adfs_db_config_failure_total": 0,
189
- "adfs_db_config_query_time_seconds_total": 101,
190
- "adfs_device_authentications_total": 0,
191
- "adfs_external_authentications_failure_total": 0,
192
- "adfs_external_authentications_success_total": 0,
193
- "adfs_extranet_account_lockouts_total": 0,
194
- "adfs_federated_authentications_total": 0,
195
- "adfs_federation_metadata_requests_total": 1,
196
- "adfs_oauth_authorization_requests_total": 0,
197
- "adfs_oauth_client_authentication_failure_total": 0,
198
- "adfs_oauth_client_authentication_success_total": 0,
199
- "adfs_oauth_client_credentials_failure_total": 0,
200
- "adfs_oauth_client_credentials_success_total": 0,
201
- "adfs_oauth_client_privkey_jtw_authentication_failure_total": 0,
202
- "adfs_oauth_client_privkey_jwt_authentications_success_total": 0,
203
- "adfs_oauth_client_secret_basic_authentications_failure_total": 0,
204
- "adfs_oauth_client_secret_basic_authentications_success_total": 0,
205
- "adfs_oauth_client_secret_post_authentications_failure_total": 0,
206
- "adfs_oauth_client_secret_post_authentications_success_total": 0,
207
- "adfs_oauth_client_windows_authentications_failure_total": 0,
208
- "adfs_oauth_client_windows_authentications_success_total": 0,
209
- "adfs_oauth_logon_certificate_requests_failure_total": 0,
210
- "adfs_oauth_logon_certificate_token_requests_success_total": 0,
211
- "adfs_oauth_password_grant_requests_failure_total": 0,
212
- "adfs_oauth_password_grant_requests_success_total": 0,
213
- "adfs_oauth_token_requests_success_total": 0,
214
- "adfs_passive_requests_total": 0,
215
- "adfs_passport_authentications_total": 0,
216
- "adfs_password_change_failed_total": 0,
217
- "adfs_password_change_succeeded_total": 0,
218
- "adfs_samlp_token_requests_success_total": 0,
219
- "adfs_sso_authentications_failure_total": 0,
220
- "adfs_sso_authentications_success_total": 0,
221
- "adfs_token_requests_total": 0,
222
- "adfs_userpassword_authentications_failure_total": 0,
223
- "adfs_userpassword_authentications_success_total": 0,
224
- "adfs_windows_integrated_authentications_total": 0,
225
- "adfs_wsfed_token_requests_success_total": 0,
226
- "adfs_wstrust_token_requests_success_total": 0,
227
- "collector_ad_duration": 769,
228
- "collector_ad_status_fail": 0,
229
- "collector_ad_status_success": 1,
230
- "collector_adcs_duration": 0,
231
- "collector_adcs_status_fail": 0,
232
- "collector_adcs_status_success": 1,
233
- "collector_adfs_duration": 3,
234
- "collector_adfs_status_fail": 0,
235
- "collector_adfs_status_success": 1,
236
- "collector_cpu_duration": 0,
237
- "collector_cpu_status_fail": 0,
238
- "collector_cpu_status_success": 1,
239
- "collector_exchange_duration": 33,
240
- "collector_exchange_status_fail": 0,
241
- "collector_exchange_status_success": 1,
242
- "collector_hyperv_duration": 900,
243
- "collector_hyperv_status_fail": 0,
244
- "collector_hyperv_status_success": 1,
245
- "collector_iis_duration": 0,
246
- "collector_iis_status_fail": 0,
247
- "collector_iis_status_success": 1,
248
- "collector_logical_disk_duration": 0,
249
- "collector_logical_disk_status_fail": 0,
250
- "collector_logical_disk_status_success": 1,
251
- "collector_logon_duration": 113,
252
- "collector_logon_status_fail": 0,
253
- "collector_logon_status_success": 1,
254
- "collector_memory_duration": 0,
255
- "collector_memory_status_fail": 0,
256
- "collector_memory_status_success": 1,
257
- "collector_mssql_duration": 3,
258
- "collector_mssql_status_fail": 0,
259
- "collector_mssql_status_success": 1,
260
- "collector_net_duration": 0,
261
- "collector_net_status_fail": 0,
262
- "collector_net_status_success": 1,
263
- "collector_netframework_clrexceptions_duration": 1437,
264
- "collector_netframework_clrexceptions_status_fail": 0,
265
- "collector_netframework_clrexceptions_status_success": 1,
266
- "collector_netframework_clrinterop_duration": 1491,
267
- "collector_netframework_clrinterop_status_fail": 0,
268
- "collector_netframework_clrinterop_status_success": 1,
269
- "collector_netframework_clrjit_duration": 1278,
270
- "collector_netframework_clrjit_status_fail": 0,
271
- "collector_netframework_clrjit_status_success": 1,
272
- "collector_netframework_clrloading_duration": 1323,
273
- "collector_netframework_clrloading_status_fail": 0,
274
- "collector_netframework_clrloading_status_success": 1,
275
- "collector_netframework_clrlocksandthreads_duration": 1357,
276
- "collector_netframework_clrlocksandthreads_status_fail": 0,
277
- "collector_netframework_clrlocksandthreads_status_success": 1,
278
- "collector_netframework_clrmemory_duration": 1406,
279
- "collector_netframework_clrmemory_status_fail": 0,
280
- "collector_netframework_clrmemory_status_success": 1,
281
- "collector_netframework_clrremoting_duration": 1519,
282
- "collector_netframework_clrremoting_status_fail": 0,
283
- "collector_netframework_clrremoting_status_success": 1,
284
- "collector_netframework_clrsecurity_duration": 1467,
285
- "collector_netframework_clrsecurity_status_fail": 0,
286
- "collector_netframework_clrsecurity_status_success": 1,
287
- "collector_os_duration": 2,
288
- "collector_os_status_fail": 0,
289
- "collector_os_status_success": 1,
290
- "collector_process_duration": 115,
291
- "collector_process_status_fail": 0,
292
- "collector_process_status_success": 1,
293
- "collector_service_duration": 101,
294
- "collector_service_status_fail": 0,
295
- "collector_service_status_success": 1,
296
- "collector_system_duration": 0,
297
- "collector_system_status_fail": 0,
298
- "collector_system_status_success": 1,
299
- "collector_tcp_duration": 0,
300
- "collector_tcp_status_fail": 0,
301
- "collector_tcp_status_success": 1,
302
- "cpu_core_0,0_cstate_c1": 160233427,
303
- "cpu_core_0,0_cstate_c2": 0,
304
- "cpu_core_0,0_cstate_c3": 0,
305
- "cpu_core_0,0_dpc_time": 67109,
306
- "cpu_core_0,0_dpcs": 4871900,
307
- "cpu_core_0,0_idle_time": 162455593,
308
- "cpu_core_0,0_interrupt_time": 77281,
309
- "cpu_core_0,0_interrupts": 155194331,
310
- "cpu_core_0,0_privileged_time": 1182109,
311
- "cpu_core_0,0_user_time": 1073671,
312
- "cpu_core_0,1_cstate_c1": 159528054,
313
- "cpu_core_0,1_cstate_c2": 0,
314
- "cpu_core_0,1_cstate_c3": 0,
315
- "cpu_core_0,1_dpc_time": 11093,
316
- "cpu_core_0,1_dpcs": 1650552,
317
- "cpu_core_0,1_idle_time": 159478125,
318
- "cpu_core_0,1_interrupt_time": 58093,
319
- "cpu_core_0,1_interrupts": 79325847,
320
- "cpu_core_0,1_privileged_time": 1801234,
321
- "cpu_core_0,1_user_time": 3432000,
322
- "cpu_core_0,2_cstate_c1": 159891723,
323
- "cpu_core_0,2_cstate_c2": 0,
324
- "cpu_core_0,2_cstate_c3": 0,
325
- "cpu_core_0,2_dpc_time": 16062,
326
- "cpu_core_0,2_dpcs": 2236469,
327
- "cpu_core_0,2_idle_time": 159848437,
328
- "cpu_core_0,2_interrupt_time": 53515,
329
- "cpu_core_0,2_interrupts": 67305419,
330
- "cpu_core_0,2_privileged_time": 1812546,
331
- "cpu_core_0,2_user_time": 3050250,
332
- "cpu_core_0,3_cstate_c1": 159544117,
333
- "cpu_core_0,3_cstate_c2": 0,
334
- "cpu_core_0,3_cstate_c3": 0,
335
- "cpu_core_0,3_dpc_time": 8140,
336
- "cpu_core_0,3_dpcs": 1185046,
337
- "cpu_core_0,3_idle_time": 159527546,
338
- "cpu_core_0,3_interrupt_time": 44484,
339
- "cpu_core_0,3_interrupts": 60766938,
340
- "cpu_core_0,3_privileged_time": 1760828,
341
- "cpu_core_0,3_user_time": 3422875,
342
- "cpu_dpc_time": 102404,
343
- "cpu_idle_time": 641309701,
344
- "cpu_interrupt_time": 233373,
345
- "cpu_privileged_time": 6556717,
346
- "cpu_user_time": 10978796,
347
- "exchange_activesync_ping_cmds_pending": 0,
348
- "exchange_activesync_requests_total": 14,
349
- "exchange_activesync_sync_cmds_total": 0,
350
- "exchange_autodiscover_requests_total": 1,
351
- "exchange_avail_service_requests_per_sec": 0,
352
- "exchange_http_proxy_autodiscover_avg_auth_latency": 1,
353
- "exchange_http_proxy_autodiscover_avg_cas_proccessing_latency_sec": 3,
354
- "exchange_http_proxy_autodiscover_mailbox_proxy_failure_rate": 0,
355
- "exchange_http_proxy_autodiscover_mailbox_server_locator_avg_latency_sec": 8,
356
- "exchange_http_proxy_autodiscover_outstanding_proxy_requests": 0,
357
- "exchange_http_proxy_autodiscover_requests_total": 27122,
358
- "exchange_http_proxy_eas_avg_auth_latency": 0,
359
- "exchange_http_proxy_eas_avg_cas_proccessing_latency_sec": 3,
360
- "exchange_http_proxy_eas_mailbox_proxy_failure_rate": 0,
361
- "exchange_http_proxy_eas_mailbox_server_locator_avg_latency_sec": 8,
362
- "exchange_http_proxy_eas_outstanding_proxy_requests": 0,
363
- "exchange_http_proxy_eas_requests_total": 32519,
364
- "exchange_ldap_complianceauditservice_10_long_running_ops_per_sec": 0,
365
- "exchange_ldap_complianceauditservice_10_read_time_sec": 18,
366
- "exchange_ldap_complianceauditservice_10_search_time_sec": 58,
367
- "exchange_ldap_complianceauditservice_10_timeout_errors_total": 0,
368
- "exchange_ldap_complianceauditservice_10_write_time_sec": 0,
369
- "exchange_ldap_complianceauditservice_long_running_ops_per_sec": 0,
370
- "exchange_ldap_complianceauditservice_read_time_sec": 8,
371
- "exchange_ldap_complianceauditservice_search_time_sec": 46,
372
- "exchange_ldap_complianceauditservice_timeout_errors_total": 0,
373
- "exchange_ldap_complianceauditservice_write_time_sec": 0,
374
- "exchange_owa_current_unique_users": 0,
375
- "exchange_owa_requests_total": 0,
376
- "exchange_rpc_active_user_count": 0,
377
- "exchange_rpc_avg_latency_sec": 1,
378
- "exchange_rpc_connection_count": 0,
379
- "exchange_rpc_operations_total": 9,
380
- "exchange_rpc_requests": 0,
381
- "exchange_rpc_user_count": 0,
382
- "exchange_transport_queues_active_mailbox_delivery_high_priority": 0,
383
- "exchange_transport_queues_active_mailbox_delivery_low_priority": 0,
384
- "exchange_transport_queues_active_mailbox_delivery_none_priority": 0,
385
- "exchange_transport_queues_active_mailbox_delivery_normal_priority": 0,
386
- "exchange_transport_queues_external_active_remote_delivery_high_priority": 0,
387
- "exchange_transport_queues_external_active_remote_delivery_low_priority": 0,
388
- "exchange_transport_queues_external_active_remote_delivery_none_priority": 0,
389
- "exchange_transport_queues_external_active_remote_delivery_normal_priority": 0,
390
- "exchange_transport_queues_external_largest_delivery_high_priority": 0,
391
- "exchange_transport_queues_external_largest_delivery_low_priority": 0,
392
- "exchange_transport_queues_external_largest_delivery_none_priority": 0,
393
- "exchange_transport_queues_external_largest_delivery_normal_priority": 0,
394
- "exchange_transport_queues_internal_active_remote_delivery_high_priority": 0,
395
- "exchange_transport_queues_internal_active_remote_delivery_low_priority": 0,
396
- "exchange_transport_queues_internal_active_remote_delivery_none_priority": 0,
397
- "exchange_transport_queues_internal_active_remote_delivery_normal_priority": 0,
398
- "exchange_transport_queues_internal_largest_delivery_high_priority": 0,
399
- "exchange_transport_queues_internal_largest_delivery_low_priority": 0,
400
- "exchange_transport_queues_internal_largest_delivery_none_priority": 0,
401
- "exchange_transport_queues_internal_largest_delivery_normal_priority": 0,
402
- "exchange_transport_queues_poison_high_priority": 0,
403
- "exchange_transport_queues_poison_low_priority": 0,
404
- "exchange_transport_queues_poison_none_priority": 0,
405
- "exchange_transport_queues_poison_normal_priority": 0,
406
- "exchange_transport_queues_retry_mailbox_delivery_high_priority": 0,
407
- "exchange_transport_queues_retry_mailbox_delivery_low_priority": 0,
408
- "exchange_transport_queues_retry_mailbox_delivery_none_priority": 0,
409
- "exchange_transport_queues_retry_mailbox_delivery_normal_priority": 0,
410
- "exchange_transport_queues_unreachable_high_priority": 0,
411
- "exchange_transport_queues_unreachable_low_priority": 0,
412
- "exchange_transport_queues_unreachable_none_priority": 0,
413
- "exchange_transport_queues_unreachable_normal_priority": 0,
414
- "exchange_workload_complianceauditservice_auditcomplianceserviceprioritized_audit_task_execution_manager_active_tasks": 0,
415
- "exchange_workload_complianceauditservice_auditcomplianceserviceprioritized_audit_task_execution_manager_completed_tasks": 0,
416
- "exchange_workload_complianceauditservice_auditcomplianceserviceprioritized_audit_task_execution_manager_is_active": 1,
417
- "exchange_workload_complianceauditservice_auditcomplianceserviceprioritized_audit_task_execution_manager_is_paused": 0,
418
- "exchange_workload_complianceauditservice_auditcomplianceserviceprioritized_audit_task_execution_manager_queued_tasks": 0,
419
- "exchange_workload_complianceauditservice_auditcomplianceserviceprioritized_audit_task_execution_manager_yielded_tasks": 0,
420
- "exchange_workload_microsoft_exchange_servicehost_darruntime_active_tasks": 0,
421
- "exchange_workload_microsoft_exchange_servicehost_darruntime_completed_tasks": 0,
422
- "exchange_workload_microsoft_exchange_servicehost_darruntime_is_active": 1,
423
- "exchange_workload_microsoft_exchange_servicehost_darruntime_is_paused": 0,
424
- "exchange_workload_microsoft_exchange_servicehost_darruntime_queued_tasks": 0,
425
- "exchange_workload_microsoft_exchange_servicehost_darruntime_yielded_tasks": 0,
426
- "hyperv_health_critical": 0,
427
- "hyperv_health_ok": 1,
428
- "hyperv_root_partition_1G_device_pages": 0,
429
- "hyperv_root_partition_1G_gpa_pages": 6,
430
- "hyperv_root_partition_2M_device_pages": 0,
431
- "hyperv_root_partition_2M_gpa_pages": 5255,
432
- "hyperv_root_partition_4K_device_pages": 0,
433
- "hyperv_root_partition_4K_gpa_pages": 58880,
434
- "hyperv_root_partition_address_spaces": 0,
435
- "hyperv_root_partition_attached_devices": 1,
436
- "hyperv_root_partition_deposited_pages": 31732,
437
- "hyperv_root_partition_device_dma_errors": 0,
438
- "hyperv_root_partition_device_interrupt_errors": 0,
439
- "hyperv_root_partition_device_interrupt_throttle_events": 0,
440
- "hyperv_root_partition_gpa_space_modifications": 0,
441
- "hyperv_root_partition_io_tlb_flush": 23901,
442
- "hyperv_root_partition_physical_pages_allocated": 0,
443
- "hyperv_root_partition_virtual_tlb_flush_entires": 15234,
444
- "hyperv_root_partition_virtual_tlb_pages": 64,
445
- "hyperv_vid_ubuntu_22_04_lts_physical_pages_allocated": 745472,
446
- "hyperv_vid_ubuntu_22_04_lts_remote_physical_pages": 0,
447
- "hyperv_vm_device_--_-d_-ana-vm-hyperv-virtual_machines-3aa8d474-2365-4041-a7cb-2a78287d6fe0_vmgs_bytes_read": 83456,
448
- "hyperv_vm_device_--_-d_-ana-vm-hyperv-virtual_machines-3aa8d474-2365-4041-a7cb-2a78287d6fe0_vmgs_bytes_written": 1148928,
449
- "hyperv_vm_device_--_-d_-ana-vm-hyperv-virtual_machines-3aa8d474-2365-4041-a7cb-2a78287d6fe0_vmgs_error_count": 0,
450
- "hyperv_vm_device_--_-d_-ana-vm-hyperv-virtual_machines-3aa8d474-2365-4041-a7cb-2a78287d6fe0_vmgs_operations_read": 6,
451
- "hyperv_vm_device_--_-d_-ana-vm-hyperv-virtual_machines-3aa8d474-2365-4041-a7cb-2a78287d6fe0_vmgs_operations_written": 34,
452
- "hyperv_vm_device_d_-ana-vm-hyperv-vhd-ubuntu_22_04_lts_838d93a1-7d30-43cd-9f69-f336829c0934_avhdx_bytes_read": 531184640,
453
- "hyperv_vm_device_d_-ana-vm-hyperv-vhd-ubuntu_22_04_lts_838d93a1-7d30-43cd-9f69-f336829c0934_avhdx_bytes_written": 425905152,
454
- "hyperv_vm_device_d_-ana-vm-hyperv-vhd-ubuntu_22_04_lts_838d93a1-7d30-43cd-9f69-f336829c0934_avhdx_error_count": 3,
455
- "hyperv_vm_device_d_-ana-vm-hyperv-vhd-ubuntu_22_04_lts_838d93a1-7d30-43cd-9f69-f336829c0934_avhdx_operations_read": 13196,
456
- "hyperv_vm_device_d_-ana-vm-hyperv-vhd-ubuntu_22_04_lts_838d93a1-7d30-43cd-9f69-f336829c0934_avhdx_operations_written": 3866,
457
- "hyperv_vm_interface_default_switch_312ff9c7-1f07-4eba-81fe-f5b4f445b810_bytes_received": 473654,
458
- "hyperv_vm_interface_default_switch_312ff9c7-1f07-4eba-81fe-f5b4f445b810_bytes_sent": 43550457,
459
- "hyperv_vm_interface_default_switch_312ff9c7-1f07-4eba-81fe-f5b4f445b810_packets_incoming_dropped": 0,
460
- "hyperv_vm_interface_default_switch_312ff9c7-1f07-4eba-81fe-f5b4f445b810_packets_outgoing_dropped": 284,
461
- "hyperv_vm_interface_default_switch_312ff9c7-1f07-4eba-81fe-f5b4f445b810_packets_received": 6137,
462
- "hyperv_vm_interface_default_switch_312ff9c7-1f07-4eba-81fe-f5b4f445b810_packets_sent": 8905,
463
- "hyperv_vm_interface_ubuntu_22_04_lts_adaptador_de_rede_3aa8d474-2365-4041-a7cb-2a78287d6fe0--98f1dbee-505c-4086-b80e-87a27faecbd4_bytes_received": 43509444,
464
- "hyperv_vm_interface_ubuntu_22_04_lts_adaptador_de_rede_3aa8d474-2365-4041-a7cb-2a78287d6fe0--98f1dbee-505c-4086-b80e-87a27faecbd4_bytes_sent": 473654,
465
- "hyperv_vm_interface_ubuntu_22_04_lts_adaptador_de_rede_3aa8d474-2365-4041-a7cb-2a78287d6fe0--98f1dbee-505c-4086-b80e-87a27faecbd4_packets_incoming_dropped": 0,
466
- "hyperv_vm_interface_ubuntu_22_04_lts_adaptador_de_rede_3aa8d474-2365-4041-a7cb-2a78287d6fe0--98f1dbee-505c-4086-b80e-87a27faecbd4_packets_outgoing_dropped": 0,
467
- "hyperv_vm_interface_ubuntu_22_04_lts_adaptador_de_rede_3aa8d474-2365-4041-a7cb-2a78287d6fe0--98f1dbee-505c-4086-b80e-87a27faecbd4_packets_received": 8621,
468
- "hyperv_vm_interface_ubuntu_22_04_lts_adaptador_de_rede_3aa8d474-2365-4041-a7cb-2a78287d6fe0--98f1dbee-505c-4086-b80e-87a27faecbd4_packets_sent": 6137,
469
- "hyperv_vm_ubuntu_22_04_lts_cpu_guest_run_time": 62534217,
470
- "hyperv_vm_ubuntu_22_04_lts_cpu_hypervisor_run_time": 4457712,
471
- "hyperv_vm_ubuntu_22_04_lts_cpu_remote_run_time": 0,
472
- "hyperv_vm_ubuntu_22_04_lts_memory_physical": 2628,
473
- "hyperv_vm_ubuntu_22_04_lts_memory_physical_guest_visible": 2904,
474
- "hyperv_vm_ubuntu_22_04_lts_memory_pressure_current": 83,
475
- "hyperv_vswitch_default_switch_broadcast_packets_received_total": 51,
476
- "hyperv_vswitch_default_switch_broadcast_packets_sent_total": 18,
477
- "hyperv_vswitch_default_switch_bytes_received_total": 44024111,
478
- "hyperv_vswitch_default_switch_bytes_sent_total": 43983098,
479
- "hyperv_vswitch_default_switch_directed_packets_received_total": 14603,
480
- "hyperv_vswitch_default_switch_directed_packets_send_total": 14603,
481
- "hyperv_vswitch_default_switch_dropped_packets_incoming_total": 284,
482
- "hyperv_vswitch_default_switch_dropped_packets_outcoming_total": 0,
483
- "hyperv_vswitch_default_switch_extensions_dropped_packets_incoming_total": 0,
484
- "hyperv_vswitch_default_switch_extensions_dropped_packets_outcoming_total": 0,
485
- "hyperv_vswitch_default_switch_learned_mac_addresses_total": 2,
486
- "hyperv_vswitch_default_switch_multicast_packets_received_total": 388,
487
- "hyperv_vswitch_default_switch_multicast_packets_sent_total": 137,
488
- "hyperv_vswitch_default_switch_number_of_send_channel_moves_total": 0,
489
- "hyperv_vswitch_default_switch_number_of_vmq_moves_total": 0,
490
- "hyperv_vswitch_default_switch_packets_flooded_total": 0,
491
- "hyperv_vswitch_default_switch_packets_received_total": 15042,
492
- "hyperv_vswitch_default_switch_purged_mac_addresses_total": 0,
493
- "iis_website_Default_Web_Site_connection_attempts_all_instances_total": 1,
494
- "iis_website_Default_Web_Site_current_anonymous_users": 0,
495
- "iis_website_Default_Web_Site_current_connections": 0,
496
- "iis_website_Default_Web_Site_current_isapi_extension_requests": 0,
497
- "iis_website_Default_Web_Site_current_non_anonymous_users": 0,
498
- "iis_website_Default_Web_Site_files_received_total": 0,
499
- "iis_website_Default_Web_Site_files_sent_total": 2,
500
- "iis_website_Default_Web_Site_isapi_extension_requests_total": 0,
501
- "iis_website_Default_Web_Site_locked_errors_total": 0,
502
- "iis_website_Default_Web_Site_logon_attempts_total": 4,
503
- "iis_website_Default_Web_Site_not_found_errors_total": 1,
504
- "iis_website_Default_Web_Site_received_bytes_total": 10289,
505
- "iis_website_Default_Web_Site_requests_total": 3,
506
- "iis_website_Default_Web_Site_sent_bytes_total": 105882,
507
- "iis_website_Default_Web_Site_service_uptime": 258633,
508
- "logical_disk_C:_free_space": 43636490240,
509
- "logical_disk_C:_read_bytes_total": 17676328448,
510
- "logical_disk_C:_read_latency": 97420,
511
- "logical_disk_C:_reads_total": 350593,
512
- "logical_disk_C:_total_space": 67938287616,
513
- "logical_disk_C:_used_space": 24301797376,
514
- "logical_disk_C:_write_bytes_total": 9135282688,
515
- "logical_disk_C:_write_latency": 123912,
516
- "logical_disk_C:_writes_total": 450705,
517
- "logon_type_batch_sessions": 0,
518
- "logon_type_cached_interactive_sessions": 0,
519
- "logon_type_cached_remote_interactive_sessions": 0,
520
- "logon_type_cached_unlock_sessions": 0,
521
- "logon_type_interactive_sessions": 2,
522
- "logon_type_network_clear_text_sessions": 0,
523
- "logon_type_network_sessions": 0,
524
- "logon_type_new_credentials_sessions": 0,
525
- "logon_type_proxy_sessions": 0,
526
- "logon_type_remote_interactive_sessions": 0,
527
- "logon_type_service_sessions": 0,
528
- "logon_type_system_sessions": 0,
529
- "logon_type_unlock_sessions": 0,
530
- "memory_available_bytes": 1379942400,
531
- "memory_cache_faults_total": 8009603,
532
- "memory_cache_total": 1392185344,
533
- "memory_commit_limit": 5733113856,
534
- "memory_committed_bytes": 3447439360,
535
- "memory_modified_page_list_bytes": 32653312,
536
- "memory_not_committed_bytes": 2285674496,
537
- "memory_page_faults_total": 119093924,
538
- "memory_pool_nonpaged_bytes_total": 126865408,
539
- "memory_pool_paged_bytes": 303906816,
540
- "memory_standby_cache_core_bytes": 107376640,
541
- "memory_standby_cache_normal_priority_bytes": 1019121664,
542
- "memory_standby_cache_reserve_bytes": 233033728,
543
- "memory_standby_cache_total": 1359532032,
544
- "memory_swap_page_reads_total": 402087,
545
- "memory_swap_page_writes_total": 7012,
546
- "memory_swap_pages_read_total": 4643279,
547
- "memory_swap_pages_written_total": 312896,
548
- "memory_used_bytes": 2876776448,
549
- "mssql_db_master_instance_SQLEXPRESS_active_transactions": 0,
550
- "mssql_db_master_instance_SQLEXPRESS_backup_restore_operations": 0,
551
- "mssql_db_master_instance_SQLEXPRESS_data_files_size_bytes": 4653056,
552
- "mssql_db_master_instance_SQLEXPRESS_log_flushed_bytes": 3702784,
553
- "mssql_db_master_instance_SQLEXPRESS_log_flushes": 252,
554
- "mssql_db_master_instance_SQLEXPRESS_transactions": 2183,
555
- "mssql_db_master_instance_SQLEXPRESS_write_transactions": 236,
556
- "mssql_db_model_instance_SQLEXPRESS_active_transactions": 0,
557
- "mssql_db_model_instance_SQLEXPRESS_backup_restore_operations": 0,
558
- "mssql_db_model_instance_SQLEXPRESS_data_files_size_bytes": 8388608,
559
- "mssql_db_model_instance_SQLEXPRESS_log_flushed_bytes": 12288,
560
- "mssql_db_model_instance_SQLEXPRESS_log_flushes": 3,
561
- "mssql_db_model_instance_SQLEXPRESS_transactions": 4467,
562
- "mssql_db_model_instance_SQLEXPRESS_write_transactions": 0,
563
- "mssql_db_msdb_instance_SQLEXPRESS_active_transactions": 0,
564
- "mssql_db_msdb_instance_SQLEXPRESS_backup_restore_operations": 0,
565
- "mssql_db_msdb_instance_SQLEXPRESS_data_files_size_bytes": 15466496,
566
- "mssql_db_msdb_instance_SQLEXPRESS_log_flushed_bytes": 0,
567
- "mssql_db_msdb_instance_SQLEXPRESS_log_flushes": 0,
568
- "mssql_db_msdb_instance_SQLEXPRESS_transactions": 4582,
569
- "mssql_db_msdb_instance_SQLEXPRESS_write_transactions": 0,
570
- "mssql_db_mssqlsystemresource_instance_SQLEXPRESS_active_transactions": 0,
571
- "mssql_db_mssqlsystemresource_instance_SQLEXPRESS_backup_restore_operations": 0,
572
- "mssql_db_mssqlsystemresource_instance_SQLEXPRESS_data_files_size_bytes": 41943040,
573
- "mssql_db_mssqlsystemresource_instance_SQLEXPRESS_log_flushed_bytes": 0,
574
- "mssql_db_mssqlsystemresource_instance_SQLEXPRESS_log_flushes": 0,
575
- "mssql_db_mssqlsystemresource_instance_SQLEXPRESS_transactions": 2,
576
- "mssql_db_mssqlsystemresource_instance_SQLEXPRESS_write_transactions": 0,
577
- "mssql_db_tempdb_instance_SQLEXPRESS_active_transactions": 0,
578
- "mssql_db_tempdb_instance_SQLEXPRESS_backup_restore_operations": 0,
579
- "mssql_db_tempdb_instance_SQLEXPRESS_data_files_size_bytes": 8388608,
580
- "mssql_db_tempdb_instance_SQLEXPRESS_log_flushed_bytes": 118784,
581
- "mssql_db_tempdb_instance_SQLEXPRESS_log_flushes": 2,
582
- "mssql_db_tempdb_instance_SQLEXPRESS_transactions": 1558,
583
- "mssql_db_tempdb_instance_SQLEXPRESS_write_transactions": 29,
584
- "mssql_instance_SQLEXPRESS_accessmethods_page_splits": 429,
585
- "mssql_instance_SQLEXPRESS_bufman_buffer_cache_hits": 86,
586
- "mssql_instance_SQLEXPRESS_bufman_checkpoint_pages": 82,
587
- "mssql_instance_SQLEXPRESS_bufman_page_life_expectancy_seconds": 191350,
588
- "mssql_instance_SQLEXPRESS_bufman_page_reads": 797,
589
- "mssql_instance_SQLEXPRESS_bufman_page_writes": 92,
590
- "mssql_instance_SQLEXPRESS_cache_hit_ratio": 100,
591
- "mssql_instance_SQLEXPRESS_genstats_blocked_processes": 0,
592
- "mssql_instance_SQLEXPRESS_genstats_user_connections": 1,
593
- "mssql_instance_SQLEXPRESS_memmgr_connection_memory_bytes": 1015808,
594
- "mssql_instance_SQLEXPRESS_memmgr_external_benefit_of_memory": 0,
595
- "mssql_instance_SQLEXPRESS_memmgr_pending_memory_grants": 0,
596
- "mssql_instance_SQLEXPRESS_memmgr_total_server_memory_bytes": 198836224,
597
- "mssql_instance_SQLEXPRESS_resource_AllocUnit_locks_deadlocks": 0,
598
- "mssql_instance_SQLEXPRESS_resource_AllocUnit_locks_lock_wait_seconds": 0,
599
- "mssql_instance_SQLEXPRESS_resource_Application_locks_deadlocks": 0,
600
- "mssql_instance_SQLEXPRESS_resource_Application_locks_lock_wait_seconds": 0,
601
- "mssql_instance_SQLEXPRESS_resource_Database_locks_deadlocks": 0,
602
- "mssql_instance_SQLEXPRESS_resource_Database_locks_lock_wait_seconds": 0,
603
- "mssql_instance_SQLEXPRESS_resource_Extent_locks_deadlocks": 0,
604
- "mssql_instance_SQLEXPRESS_resource_Extent_locks_lock_wait_seconds": 0,
605
- "mssql_instance_SQLEXPRESS_resource_File_locks_deadlocks": 0,
606
- "mssql_instance_SQLEXPRESS_resource_File_locks_lock_wait_seconds": 0,
607
- "mssql_instance_SQLEXPRESS_resource_HoBT_locks_deadlocks": 0,
608
- "mssql_instance_SQLEXPRESS_resource_HoBT_locks_lock_wait_seconds": 0,
609
- "mssql_instance_SQLEXPRESS_resource_Key_locks_deadlocks": 0,
610
- "mssql_instance_SQLEXPRESS_resource_Key_locks_lock_wait_seconds": 0,
611
- "mssql_instance_SQLEXPRESS_resource_Metadata_locks_deadlocks": 0,
612
- "mssql_instance_SQLEXPRESS_resource_Metadata_locks_lock_wait_seconds": 0,
613
- "mssql_instance_SQLEXPRESS_resource_OIB_locks_deadlocks": 0,
614
- "mssql_instance_SQLEXPRESS_resource_OIB_locks_lock_wait_seconds": 0,
615
- "mssql_instance_SQLEXPRESS_resource_Object_locks_deadlocks": 0,
616
- "mssql_instance_SQLEXPRESS_resource_Object_locks_lock_wait_seconds": 0,
617
- "mssql_instance_SQLEXPRESS_resource_Page_locks_deadlocks": 0,
618
- "mssql_instance_SQLEXPRESS_resource_Page_locks_lock_wait_seconds": 0,
619
- "mssql_instance_SQLEXPRESS_resource_RID_locks_deadlocks": 0,
620
- "mssql_instance_SQLEXPRESS_resource_RID_locks_lock_wait_seconds": 0,
621
- "mssql_instance_SQLEXPRESS_resource_RowGroup_locks_deadlocks": 0,
622
- "mssql_instance_SQLEXPRESS_resource_RowGroup_locks_lock_wait_seconds": 0,
623
- "mssql_instance_SQLEXPRESS_resource_Xact_locks_deadlocks": 0,
624
- "mssql_instance_SQLEXPRESS_resource_Xact_locks_lock_wait_seconds": 0,
625
- "mssql_instance_SQLEXPRESS_sql_errors_total_db_offline_errors": 0,
626
- "mssql_instance_SQLEXPRESS_sql_errors_total_info_errors": 766,
627
- "mssql_instance_SQLEXPRESS_sql_errors_total_kill_connection_errors": 0,
628
- "mssql_instance_SQLEXPRESS_sql_errors_total_user_errors": 29,
629
- "mssql_instance_SQLEXPRESS_sqlstats_auto_parameterization_attempts": 37,
630
- "mssql_instance_SQLEXPRESS_sqlstats_batch_requests": 2972,
631
- "mssql_instance_SQLEXPRESS_sqlstats_safe_auto_parameterization_attempts": 2,
632
- "mssql_instance_SQLEXPRESS_sqlstats_sql_compilations": 376,
633
- "mssql_instance_SQLEXPRESS_sqlstats_sql_recompilations": 8,
634
- "net_nic_Intel_R_PRO_1000_MT_Network_Connection_bytes_received": 38290755856,
635
- "net_nic_Intel_R_PRO_1000_MT_Network_Connection_bytes_sent": 8211165504,
636
- "net_nic_Intel_R_PRO_1000_MT_Network_Connection_packets_outbound_discarded": 0,
637
- "net_nic_Intel_R_PRO_1000_MT_Network_Connection_packets_outbound_errors": 0,
638
- "net_nic_Intel_R_PRO_1000_MT_Network_Connection_packets_received_discarded": 0,
639
- "net_nic_Intel_R_PRO_1000_MT_Network_Connection_packets_received_errors": 0,
640
- "net_nic_Intel_R_PRO_1000_MT_Network_Connection_packets_received_total": 4120869,
641
- "net_nic_Intel_R_PRO_1000_MT_Network_Connection_packets_sent_total": 1332466,
642
- "netframework_WMSvc_clrexception_filters_total": 0,
643
- "netframework_WMSvc_clrexception_finallys_total": 0,
644
- "netframework_WMSvc_clrexception_throw_to_catch_depth_total": 0,
645
- "netframework_WMSvc_clrexception_thrown_total": 0,
646
- "netframework_WMSvc_clrinterop_com_callable_wrappers_total": 2,
647
- "netframework_WMSvc_clrinterop_interop_marshalling_total": 0,
648
- "netframework_WMSvc_clrinterop_interop_stubs_created_total": 29,
649
- "netframework_WMSvc_clrjit_il_bytes_total": 4007,
650
- "netframework_WMSvc_clrjit_methods_total": 27,
651
- "netframework_WMSvc_clrjit_standard_failures_total": 0,
652
- "netframework_WMSvc_clrjit_time_percent": 0,
653
- "netframework_WMSvc_clrloading_appdomains_loaded_total": 1,
654
- "netframework_WMSvc_clrloading_appdomains_unloaded_total": 0,
655
- "netframework_WMSvc_clrloading_assemblies_loaded_total": 5,
656
- "netframework_WMSvc_clrloading_class_load_failures_total": 0,
657
- "netframework_WMSvc_clrloading_classes_loaded_total": 18,
658
- "netframework_WMSvc_clrloading_loader_heap_size_bytes": 270336,
659
- "netframework_WMSvc_clrlocksandthreads_contentions_total": 0,
660
- "netframework_WMSvc_clrlocksandthreads_current_logical_threads": 2,
661
- "netframework_WMSvc_clrlocksandthreads_physical_threads_current": 1,
662
- "netframework_WMSvc_clrlocksandthreads_queue_length_total": 0,
663
- "netframework_WMSvc_clrlocksandthreads_recognized_threads_total": 1,
664
- "netframework_WMSvc_clrmemory_allocated_bytes_total": 227792,
665
- "netframework_WMSvc_clrmemory_collections_total": 2,
666
- "netframework_WMSvc_clrmemory_committed_bytes": 270336,
667
- "netframework_WMSvc_clrmemory_finalization_survivors": 7,
668
- "netframework_WMSvc_clrmemory_gc_time_percent": 0,
669
- "netframework_WMSvc_clrmemory_heap_size_bytes": 4312696,
670
- "netframework_WMSvc_clrmemory_induced_gc_total": 0,
671
- "netframework_WMSvc_clrmemory_number_gc_handles": 24,
672
- "netframework_WMSvc_clrmemory_number_pinned_objects": 1,
673
- "netframework_WMSvc_clrmemory_number_sink_blocksinuse": 1,
674
- "netframework_WMSvc_clrmemory_promoted_bytes": 49720,
675
- "netframework_WMSvc_clrmemory_reserved_bytes": 402644992,
676
- "netframework_WMSvc_clrremoting_channels_total": 0,
677
- "netframework_WMSvc_clrremoting_context_bound_classes_loaded": 0,
678
- "netframework_WMSvc_clrremoting_context_bound_objects_total": 0,
679
- "netframework_WMSvc_clrremoting_context_proxies_total": 0,
680
- "netframework_WMSvc_clrremoting_contexts": 1,
681
- "netframework_WMSvc_clrremoting_remote_calls_total": 0,
682
- "netframework_WMSvc_clrsecurity_checks_time_percent": 0,
683
- "netframework_WMSvc_clrsecurity_link_time_checks_total": 0,
684
- "netframework_WMSvc_clrsecurity_runtime_checks_total": 3,
685
- "netframework_WMSvc_clrsecurity_stack_walk_depth": 1,
686
- "netframework_powershell_clrexception_filters_total": 0,
687
- "netframework_powershell_clrexception_finallys_total": 56,
688
- "netframework_powershell_clrexception_throw_to_catch_depth_total": 140,
689
- "netframework_powershell_clrexception_thrown_total": 37,
690
- "netframework_powershell_clrinterop_com_callable_wrappers_total": 5,
691
- "netframework_powershell_clrinterop_interop_marshalling_total": 0,
692
- "netframework_powershell_clrinterop_interop_stubs_created_total": 345,
693
- "netframework_powershell_clrjit_il_bytes_total": 47021,
694
- "netframework_powershell_clrjit_methods_total": 344,
695
- "netframework_powershell_clrjit_standard_failures_total": 0,
696
- "netframework_powershell_clrjit_time_percent": 0,
697
- "netframework_powershell_clrloading_appdomains_loaded_total": 1,
698
- "netframework_powershell_clrloading_appdomains_unloaded_total": 0,
699
- "netframework_powershell_clrloading_assemblies_loaded_total": 20,
700
- "netframework_powershell_clrloading_class_load_failures_total": 1,
701
- "netframework_powershell_clrloading_classes_loaded_total": 477,
702
- "netframework_powershell_clrloading_loader_heap_size_bytes": 2285568,
703
- "netframework_powershell_clrlocksandthreads_contentions_total": 10,
704
- "netframework_powershell_clrlocksandthreads_current_logical_threads": 16,
705
- "netframework_powershell_clrlocksandthreads_physical_threads_current": 13,
706
- "netframework_powershell_clrlocksandthreads_queue_length_total": 3,
707
- "netframework_powershell_clrlocksandthreads_recognized_threads_total": 6,
708
- "netframework_powershell_clrmemory_allocated_bytes_total": 46333800,
709
- "netframework_powershell_clrmemory_collections_total": 11,
710
- "netframework_powershell_clrmemory_committed_bytes": 20475904,
711
- "netframework_powershell_clrmemory_finalization_survivors": 244,
712
- "netframework_powershell_clrmemory_gc_time_percent": 0,
713
- "netframework_powershell_clrmemory_heap_size_bytes": 34711872,
714
- "netframework_powershell_clrmemory_induced_gc_total": 0,
715
- "netframework_powershell_clrmemory_number_gc_handles": 834,
716
- "netframework_powershell_clrmemory_number_pinned_objects": 0,
717
- "netframework_powershell_clrmemory_number_sink_blocksinuse": 42,
718
- "netframework_powershell_clrmemory_promoted_bytes": 107352,
719
- "netframework_powershell_clrmemory_reserved_bytes": 402644992,
720
- "netframework_powershell_clrremoting_channels_total": 0,
721
- "netframework_powershell_clrremoting_context_bound_classes_loaded": 0,
722
- "netframework_powershell_clrremoting_context_bound_objects_total": 0,
723
- "netframework_powershell_clrremoting_context_proxies_total": 0,
724
- "netframework_powershell_clrremoting_contexts": 1,
725
- "netframework_powershell_clrremoting_remote_calls_total": 0,
726
- "netframework_powershell_clrsecurity_checks_time_percent": 0,
727
- "netframework_powershell_clrsecurity_link_time_checks_total": 0,
728
- "netframework_powershell_clrsecurity_runtime_checks_total": 4386,
729
- "netframework_powershell_clrsecurity_stack_walk_depth": 1,
730
- "os_paging_free_bytes": 1414107136,
731
- "os_paging_limit_bytes": 1476395008,
732
- "os_paging_used_bytes": 62287872,
733
- "os_physical_memory_free_bytes": 1379946496,
734
- "os_processes": 152,
735
- "os_processes_limit": 4294967295,
736
- "os_users": 2,
737
- "os_visible_memory_bytes": 4256718848,
738
- "os_visible_memory_used_bytes": 2876772352,
739
- "process_msedge_cpu_time": 1919893,
740
- "process_msedge_handles": 5779,
741
- "process_msedge_io_bytes": 3978227378,
742
- "process_msedge_io_operations": 16738642,
743
- "process_msedge_page_faults": 5355941,
744
- "process_msedge_page_file_bytes": 681603072,
745
- "process_msedge_threads": 213,
746
- "process_msedge_working_set_private_bytes": 461344768,
747
- "service_dhcp_state_continue_pending": 0,
748
- "service_dhcp_state_pause_pending": 0,
749
- "service_dhcp_state_paused": 0,
750
- "service_dhcp_state_running": 1,
751
- "service_dhcp_state_start_pending": 0,
752
- "service_dhcp_state_stop_pending": 0,
753
- "service_dhcp_state_stopped": 0,
754
- "service_dhcp_state_unknown": 0,
755
- "service_dhcp_status_degraded": 0,
756
- "service_dhcp_status_error": 0,
757
- "service_dhcp_status_lost_comm": 0,
758
- "service_dhcp_status_no_contact": 0,
759
- "service_dhcp_status_nonrecover": 0,
760
- "service_dhcp_status_ok": 1,
761
- "service_dhcp_status_pred_fail": 0,
762
- "service_dhcp_status_service": 0,
763
- "service_dhcp_status_starting": 0,
764
- "service_dhcp_status_stopping": 0,
765
- "service_dhcp_status_stressed": 0,
766
- "service_dhcp_status_unknown": 0,
767
- "system_threads": 1559,
768
- "system_up_time": 16208210,
769
- "tcp_ipv4_conns_active": 4301,
770
- "tcp_ipv4_conns_established": 7,
771
- "tcp_ipv4_conns_failures": 137,
772
- "tcp_ipv4_conns_passive": 501,
773
- "tcp_ipv4_conns_resets": 1282,
774
- "tcp_ipv4_segments_received": 676388,
775
- "tcp_ipv4_segments_retransmitted": 2120,
776
- "tcp_ipv4_segments_sent": 871379,
777
- "tcp_ipv6_conns_active": 214,
778
- "tcp_ipv6_conns_established": 0,
779
- "tcp_ipv6_conns_failures": 214,
780
- "tcp_ipv6_conns_passive": 0,
781
- "tcp_ipv6_conns_resets": 0,
782
- "tcp_ipv6_segments_received": 1284,
783
- "tcp_ipv6_segments_retransmitted": 428,
784
- "tcp_ipv6_segments_sent": 856,
785
- },
786
- },
787
- "fails if endpoint returns invalid data": {
788
- prepare: prepareWindowsReturnsInvalidData,
789
- },
790
- "fails on connection refused": {
791
- prepare: prepareWindowsConnectionRefused,
792
- },
793
- "fails on 404 response": {
794
- prepare: prepareWindowsResponse404,
795
- },
796
- }
797
-
798
- for name, test := range tests {
799
- t.Run(name, func(t *testing.T) {
800
- collr, cleanup := test.prepare()
801
- defer cleanup()
802
-
803
- require.NoError(t, collr.Init(context.Background()))
804
-
805
- mx := collr.Collect(context.Background())
806
-
807
- if mx != nil && test.wantCollected != nil {
808
- mx["system_up_time"] = test.wantCollected["system_up_time"]
809
- }
810
-
811
- assert.Equal(t, test.wantCollected, mx)
812
- if len(test.wantCollected) > 0 {
813
- testCharts(t, collr, mx)
814
- }
815
- })
816
- }
817
-}
818
-
819
-func testCharts(t *testing.T, collr *Collector, mx map[string]int64) {
820
- ensureChartsDimsCreated(t, collr)
821
- module.TestMetricsHasAllChartsDims(t, collr.Charts(), mx)
822
-}
823
-
824
-func ensureChartsDimsCreated(t *testing.T, collr *Collector) {
825
- for _, chart := range cpuCharts {
826
- if collr.cache.collection[collectorCPU] {
827
- assert.Truef(t, collr.Charts().Has(chart.ID), "chart '%s' not created", chart.ID)
828
- } else {
829
- assert.Falsef(t, collr.Charts().Has(chart.ID), "chart '%s' created", chart.ID)
830
- }
831
- }
832
- for _, chart := range memCharts {
833
- if collr.cache.collection[collectorMemory] {
834
- assert.Truef(t, collr.Charts().Has(chart.ID), "chart '%s' not created", chart.ID)
835
- } else {
836
- assert.Falsef(t, collr.Charts().Has(chart.ID), "chart '%s' created", chart.ID)
837
- }
838
- }
839
- for _, chart := range tcpCharts {
840
- if collr.cache.collection[collectorTCP] {
841
- assert.Truef(t, collr.Charts().Has(chart.ID), "chart '%s' not created", chart.ID)
842
- } else {
843
- assert.Falsef(t, collr.Charts().Has(chart.ID), "chart '%s' created", chart.ID)
844
- }
845
- }
846
- for _, chart := range osCharts {
847
- if collr.cache.collection[collectorOS] {
848
- assert.Truef(t, collr.Charts().Has(chart.ID), "chart '%s' not created", chart.ID)
849
- } else {
850
- assert.Falsef(t, collr.Charts().Has(chart.ID), "chart '%s' created", chart.ID)
851
- }
852
- }
853
- for _, chart := range systemCharts {
854
- if collr.cache.collection[collectorSystem] {
855
- assert.Truef(t, collr.Charts().Has(chart.ID), "chart '%s' not created", chart.ID)
856
- } else {
857
- assert.Falsef(t, collr.Charts().Has(chart.ID), "chart '%s' created", chart.ID)
858
- }
859
- }
860
- for _, chart := range logonCharts {
861
- if collr.cache.collection[collectorLogon] {
862
- assert.Truef(t, collr.Charts().Has(chart.ID), "chart '%s' not created", chart.ID)
863
- } else {
864
- assert.Falsef(t, collr.Charts().Has(chart.ID), "chart '%s' created", chart.ID)
865
- }
866
- }
867
- for _, chart := range processesCharts {
868
- if collr.cache.collection[collectorProcess] {
869
- assert.Truef(t, collr.Charts().Has(chart.ID), "chart '%s' not created", chart.ID)
870
- } else {
871
- assert.Falsef(t, collr.Charts().Has(chart.ID), "chart '%s' created", chart.ID)
872
- }
873
- }
874
- for _, chart := range netFrameworkCLRExceptionsChartsTmpl {
875
- if collr.cache.collection[collectorNetFrameworkCLRExceptions] {
876
- assert.Truef(t, collr.Charts().Has(chart.ID), "chart '%s' not created", chart.ID)
877
- } else {
878
- assert.Falsef(t, collr.Charts().Has(chart.ID), "chart '%s' created", chart.ID)
879
- }
880
- }
881
- for _, chart := range netFrameworkCLRInteropChartsTmpl {
882
- if collr.cache.collection[collectorNetFrameworkCLRInterop] {
883
- assert.Truef(t, collr.Charts().Has(chart.ID), "chart '%s' not created", chart.ID)
884
- } else {
885
- assert.Falsef(t, collr.Charts().Has(chart.ID), "chart '%s' created", chart.ID)
886
- }
887
- }
888
- for _, chart := range netFrameworkCLRJITChartsTmpl {
889
- if collr.cache.collection[collectorNetFrameworkCLRJIT] {
890
- assert.Truef(t, collr.Charts().Has(chart.ID), "chart '%s' not created", chart.ID)
891
- } else {
892
- assert.Falsef(t, collr.Charts().Has(chart.ID), "chart '%s' created", chart.ID)
893
- }
894
- }
895
- for _, chart := range netFrameworkCLRLoadingChartsTmpl {
896
- if collr.cache.collection[collectorNetFrameworkCLRLoading] {
897
- assert.Truef(t, collr.Charts().Has(chart.ID), "chart '%s' not created", chart.ID)
898
- } else {
899
- assert.Falsef(t, collr.Charts().Has(chart.ID), "chart '%s' created", chart.ID)
900
- }
901
- }
902
- for _, chart := range netFrameworkCLRLocksAndThreadsChartsTmpl {
903
- if collr.cache.collection[collectorNetFrameworkCLRLocksAndThreads] {
904
- assert.Truef(t, collr.Charts().Has(chart.ID), "chart '%s' not created", chart.ID)
905
- } else {
906
- assert.Falsef(t, collr.Charts().Has(chart.ID), "chart '%s' created", chart.ID)
907
- }
908
- }
909
- for _, chart := range netFrameworkCLRMemoryChartsTmpl {
910
- if collr.cache.collection[collectorNetFrameworkCLRMemory] {
911
- assert.Truef(t, collr.Charts().Has(chart.ID), "chart '%s' not created", chart.ID)
912
- } else {
913
- assert.Falsef(t, collr.Charts().Has(chart.ID), "chart '%s' created", chart.ID)
914
- }
915
- }
916
- for _, chart := range netFrameworkCLRRemotingChartsTmpl {
917
- if collr.cache.collection[collectorNetFrameworkCLRRemoting] {
918
- assert.Truef(t, collr.Charts().Has(chart.ID), "chart '%s' not created", chart.ID)
919
- } else {
920
- assert.Falsef(t, collr.Charts().Has(chart.ID), "chart '%s' created", chart.ID)
921
- }
922
- }
923
- for _, chart := range netFrameworkCLRSecurityChartsTmpl {
924
- if collr.cache.collection[collectorNetFrameworkCLRSecurity] {
925
- assert.Truef(t, collr.Charts().Has(chart.ID), "chart '%s' not created", chart.ID)
926
- } else {
927
- assert.Falsef(t, collr.Charts().Has(chart.ID), "chart '%s' created", chart.ID)
928
- }
929
- }
930
-
931
- for core := range collr.cache.cores {
932
- for _, chart := range cpuCoreChartsTmpl {
933
- id := fmt.Sprintf(chart.ID, core)
934
- assert.Truef(t, collr.Charts().Has(id), "charts has no '%s' chart for '%s' core", id, core)
935
- }
936
- }
937
- for disk := range collr.cache.volumes {
938
- for _, chart := range diskChartsTmpl {
939
- id := fmt.Sprintf(chart.ID, disk)
940
- assert.Truef(t, collr.Charts().Has(id), "charts has no '%s' chart for '%s' disk", id, disk)
941
- }
942
- }
943
- for nic := range collr.cache.nics {
944
- for _, chart := range nicChartsTmpl {
945
- id := fmt.Sprintf(chart.ID, nic)
946
- assert.Truef(t, collr.Charts().Has(id), "charts has no '%s' chart for '%s' nic", id, nic)
947
- }
948
- }
949
- for zone := range collr.cache.thermalZones {
950
- for _, chart := range thermalzoneChartsTmpl {
951
- id := fmt.Sprintf(chart.ID, zone)
952
- assert.Truef(t, collr.Charts().Has(id), "charts has no '%s' chart for '%s' thermalzone", id, zone)
953
- }
954
- }
955
- for svc := range collr.cache.services {
956
- for _, chart := range serviceChartsTmpl {
957
- id := fmt.Sprintf(chart.ID, svc)
958
- assert.Truef(t, collr.Charts().Has(id), "charts has no '%s' chart for '%s' service", id, svc)
959
- }
960
- }
961
- for website := range collr.cache.iis {
962
- for _, chart := range iisWebsiteChartsTmpl {
963
- id := fmt.Sprintf(chart.ID, website)
964
- assert.Truef(t, collr.Charts().Has(id), "charts has no '%s' chart for '%s' website", id, website)
965
- }
966
- }
967
- for instance := range collr.cache.mssqlInstances {
968
- for _, chart := range mssqlInstanceChartsTmpl {
969
- id := fmt.Sprintf(chart.ID, instance)
970
- assert.Truef(t, collr.Charts().Has(id), "charts has no '%s' chart for '%s' instance", id, instance)
971
- }
972
- }
973
- for instanceDB := range collr.cache.mssqlDBs {
974
- s := strings.Split(instanceDB, ":")
975
- if assert.Lenf(t, s, 2, "can not extract intance/database from cache.mssqlDBs") {
976
- instance, db := s[0], s[1]
977
- for _, chart := range mssqlDatabaseChartsTmpl {
978
- id := fmt.Sprintf(chart.ID, db, instance)
979
- assert.Truef(t, collr.Charts().Has(id), "charts has no '%s' chart for '%s' instance", id, instance)
980
- }
981
- }
982
- }
983
- for _, chart := range adCharts {
984
- if collr.cache.collection[collectorAD] {
985
- assert.Truef(t, collr.Charts().Has(chart.ID), "chart '%s' not created", chart.ID)
986
- } else {
987
- assert.Falsef(t, collr.Charts().Has(chart.ID), "chart '%s' created", chart.ID)
988
- }
989
- }
990
- for template := range collr.cache.adcs {
991
- for _, chart := range adcsCertTemplateChartsTmpl {
992
- id := fmt.Sprintf(chart.ID, template)
993
- assert.Truef(t, collr.Charts().Has(id), "charts has no '%s' chart for '%s' template certificate", id, template)
994
- }
995
- }
996
- for name := range collr.cache.collectors {
997
- for _, chart := range collectorChartsTmpl {
998
- id := fmt.Sprintf(chart.ID, name)
999
- assert.Truef(t, collr.Charts().Has(id), "charts has no '%s' chart for '%s' collector", id, name)
1000
- }
1001
- }
1002
-
1003
- for _, chart := range processesCharts {
1004
- if chart = collr.Charts().Get(chart.ID); chart == nil {
1005
- continue
1006
- }
1007
- for proc := range collr.cache.processes {
1008
- var found bool
1009
- for _, dim := range chart.Dims {
1010
- if found = strings.HasPrefix(dim.ID, "process_"+proc); found {
1011
- break
1012
- }
1013
- }
1014
- assert.Truef(t, found, "chart '%s' has not dim for '%s' process", chart.ID, proc)
1015
- }
1016
- }
1017
-
1018
- for _, chart := range hypervChartsTmpl {
1019
- if collr.cache.collection[collectorHyperv] {
1020
- assert.Truef(t, collr.Charts().Has(chart.ID), "chart '%s' not created", chart.ID)
1021
- } else {
1022
- assert.Falsef(t, collr.Charts().Has(chart.ID), "chart '%s' created", chart.ID)
1023
- }
1024
- }
1025
- for vm := range collr.cache.hypervVMMem {
1026
- for _, chart := range hypervVMChartsTemplate {
1027
- id := fmt.Sprintf(chart.ID, hypervCleanName(vm))
1028
- assert.Truef(t, collr.Charts().Has(id), "charts has no '%s' chart for '%s' virtual machine", id, vm)
1029
- }
1030
- }
1031
- for device := range collr.cache.hypervVMDevices {
1032
- for _, chart := range hypervVMDeviceChartsTemplate {
1033
- id := fmt.Sprintf(chart.ID, hypervCleanName(device))
1034
- assert.Truef(t, collr.Charts().Has(id), "charts has no '%s' chart for '%s' vm storage device", id, device)
1035
- }
1036
- }
1037
- for iface := range collr.cache.hypervVMInterfaces {
1038
- for _, chart := range hypervVMInterfaceChartsTemplate {
1039
- id := fmt.Sprintf(chart.ID, hypervCleanName(iface))
1040
- assert.Truef(t, collr.Charts().Has(id), "charts has no '%s' chart for '%s' vm network interface", id, iface)
1041
- }
1042
- }
1043
- for vswitch := range collr.cache.hypervVswitch {
1044
- for _, chart := range hypervVswitchChartsTemplate {
1045
- id := fmt.Sprintf(chart.ID, hypervCleanName(vswitch))
1046
- assert.Truef(t, collr.Charts().Has(id), "charts has no '%s' chart for '%s' virtual switch", id, vswitch)
1047
- }
1048
- }
1049
-}
1050
-
1051
-func prepareWindowsV0200() (collr *Collector, cleanup func()) {
1052
- ts := httptest.NewServer(http.HandlerFunc(
1053
- func(w http.ResponseWriter, r *http.Request) {
1054
- _, _ = w.Write(dataVer0200Metrics)
1055
- }))
1056
-
1057
- collr = New()
1058
- collr.URL = ts.URL
1059
- return collr, ts.Close
1060
-}
1061
-
1062
-func prepareWindowsReturnsInvalidData() (collr *Collector, cleanup func()) {
1063
- ts := httptest.NewServer(http.HandlerFunc(
1064
- func(w http.ResponseWriter, r *http.Request) {
1065
- _, _ = w.Write([]byte("hello and\n goodbye"))
1066
- }))
1067
-
1068
- collr = New()
1069
- collr.URL = ts.URL
1070
- return collr, ts.Close
1071
-}
1072
-
1073
-func prepareWindowsConnectionRefused() (collr *Collector, cleanup func()) {
1074
- collr = New()
1075
- collr.URL = "http://127.0.0.1:38001"
1076
- return collr, func() {}
1077
-}
1078
-
1079
-func prepareWindowsResponse404() (collr *Collector, cleanup func()) {
1080
- ts := httptest.NewServer(http.HandlerFunc(
1081
- func(w http.ResponseWriter, r *http.Request) {
1082
- w.WriteHeader(http.StatusNotFound)
1083
- }))
1084
-
1085
- collr = New()
1086
- collr.URL = ts.URL
1087
- return collr, ts.Close
1088
-}
src/go/plugin/go.d/collector/windows/config_schema.json
deleted
-192
@@ -1,192 +0,0 @@
1
-{
2
- "jsonSchema": {
3
- "$schema": "http://json-schema.org/draft-07/schema#",
4
- "title": "Windows collector configuration.",
5
- "type": "object",
6
- "properties": {
7
- "update_every": {
8
- "title": "Update every",
9
- "description": "Data collection interval, measured in seconds.",
10
- "type": "integer",
11
- "minimum": 1,
12
- "default": 5
13
- },
14
- "url": {
15
- "title": "URL",
16
- "description": "The URL of the Windows exporter metrics endpoint.",
17
- "type": "string"
18
- },
19
- "timeout": {
20
- "title": "Timeout",
21
- "description": "The timeout in seconds for the HTTP request.",
22
- "type": "number",
23
- "minimum": 0.5,
24
- "default": 5
25
- },
26
- "not_follow_redirects": {
27
- "title": "Not follow redirects",
28
- "description": "If set, the client will not follow HTTP redirects automatically.",
29
- "type": "boolean"
30
- },
31
- "vnode": {
32
- "title": "Vnode",
33
- "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
34
- "type": "string"
35
- },
36
- "username": {
37
- "title": "Username",
38
- "description": "The username for basic authentication.",
39
- "type": "string",
40
- "sensitive": true
41
- },
42
- "password": {
43
- "title": "Password",
44
- "description": "The password for basic authentication.",
45
- "type": "string",
46
- "sensitive": true
47
- },
48
- "proxy_url": {
49
- "title": "Proxy URL",
50
- "description": "The URL of the proxy server.",
51
- "type": "string"
52
- },
53
- "proxy_username": {
54
- "title": "Proxy username",
55
- "description": "The username for proxy authentication.",
56
- "type": "string",
57
- "sensitive": true
58
- },
59
- "proxy_password": {
60
- "title": "Proxy password",
61
- "description": "The password for proxy authentication.",
62
- "type": "string",
63
- "sensitive": true
64
- },
65
- "headers": {
66
- "title": "Headers",
67
- "description": "Additional HTTP headers to include in the request.",
68
- "type": [
69
- "object",
70
- "null"
71
- ],
72
- "additionalProperties": {
73
- "type": "string"
74
- }
75
- },
76
- "tls_skip_verify": {
77
- "title": "Skip TLS verification",
78
- "description": "If set, TLS certificate verification will be skipped.",
79
- "type": "boolean"
80
- },
81
- "tls_ca": {
82
- "title": "TLS CA",
83
- "description": "The path to the CA certificate file for TLS verification.",
84
- "type": "string",
85
- "pattern": "^$|^/"
86
- },
87
- "tls_cert": {
88
- "title": "TLS certificate",
89
- "description": "The path to the client certificate file for TLS authentication.",
90
- "type": "string",
91
- "pattern": "^$|^/"
92
- },
93
- "tls_key": {
94
- "title": "TLS key",
95
- "description": "The path to the client key file for TLS authentication.",
96
- "type": "string",
97
- "pattern": "^$|^/"
98
- },
99
- "body": {
100
- "title": "Body",
101
- "type": "string"
102
- },
103
- "method": {
104
- "title": "Method",
105
- "type": "string"
106
- }
107
- },
108
- "required": [
109
- "url"
110
- ],
111
- "patternProperties": {
112
- "^name$": {}
113
- }
114
- },
115
- "uiSchema": {
116
- "ui:flavour": "tabs",
117
- "ui:options": {
118
- "tabs": [
119
- {
120
- "title": "Base",
121
- "fields": [
122
- "update_every",
123
- "url",
124
- "timeout",
125
- "not_follow_redirects",
126
- "vnode"
127
- ]
128
- },
129
- {
130
- "title": "Auth",
131
- "fields": [
132
- "username",
133
- "password"
134
- ]
135
- },
136
- {
137
- "title": "TLS",
138
- "fields": [
139
- "tls_skip_verify",
140
- "tls_ca",
141
- "tls_cert",
142
- "tls_key"
143
- ]
144
- },
145
- {
146
- "title": "Proxy",
147
- "fields": [
148
- "proxy_url",
149
- "proxy_username",
150
- "proxy_password"
151
- ]
152
- },
153
- {
154
- "title": "Headers",
155
- "fields": [
156
- "headers"
157
- ]
158
- }
159
- ]
160
- },
161
- "uiOptions": {
162
- "fullPage": true
163
- },
164
- "body": {
165
- "ui:widget": "hidden"
166
- },
167
- "method": {
168
- "ui:widget": "hidden"
169
- },
170
- "vnode": {
171
- "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
172
- },
173
- "url": {
174
- "ui:placeholder": "http://203.0.113.0:9182/metrics"
175
- },
176
- "timeout": {
177
- "ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
178
- },
179
- "username": {
180
- "ui:widget": "password"
181
- },
182
- "proxy_username": {
183
- "ui:widget": "password"
184
- },
185
- "password": {
186
- "ui:widget": "password"
187
- },
188
- "proxy_password": {
189
- "ui:widget": "password"
190
- }
191
- }
192
-}
src/go/plugin/go.d/collector/windows/init.go
deleted
-25
@@ -1,25 +0,0 @@
1
-// SPDX-License-Identifier: GPL-3.0-or-later
2
-
3
-package windows
4
-
5
-import (
6
- "errors"
7
-
8
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/prometheus"
9
- "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/web"
10
-)
11
-
12
-func (c *Collector) validateConfig() error {
13
- if c.URL == "" {
14
- return errors.New("'url' is not set")
15
- }
16
- return nil
17
-}
18
-
19
-func (c *Collector) initPrometheusClient() (prometheus.Prometheus, error) {
20
- client, err := web.NewHTTPClient(c.ClientConfig)
21
- if err != nil {
22
- return nil, err
23
- }
24
- return prometheus.New(client, c.RequestConfig), nil
25
-}
src/go/plugin/go.d/collector/windows/testdata/config.json
deleted
-22
@@ -1,22 +0,0 @@
1
-{
2
- "update_every": 123,
3
- "vnode": "ok",
4
- "url": "ok",
5
- "body": "ok",
6
- "method": "ok",
7
- "headers": {
8
- "ok": "ok"
9
- },
10
- "username": "ok",
11
- "password": "ok",
12
- "proxy_url": "ok",
13
- "proxy_username": "ok",
14
- "proxy_password": "ok",
15
- "timeout": 123.123,
16
- "not_follow_redirects": true,
17
- "tls_ca": "ok",
18
- "tls_cert": "ok",
19
- "tls_key": "ok",
20
- "tls_skip_verify": true,
21
- "force_http2": true
22
-}
src/go/plugin/go.d/collector/windows/testdata/config.yaml
deleted
-19
@@ -1,19 +0,0 @@
1
-update_every: 123
2
-vnode: "ok"
3
-url: "ok"
4
-body: "ok"
5
-method: "ok"
6
-headers:
7
- ok: "ok"
8
-username: "ok"
9
-password: "ok"
10
-proxy_url: "ok"
11
-proxy_username: "ok"
12
-proxy_password: "ok"
13
-timeout: 123.123
14
-not_follow_redirects: yes
15
-tls_ca: "ok"
16
-tls_cert: "ok"
17
-tls_key: "ok"
18
-tls_skip_verify: yes
19
-force_http2: yes
src/go/plugin/go.d/collector/windows/testdata/v0.20.0/metrics.txt
deleted
-3129
@@ -1,3129 +0,0 @@
1
-# HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles.
2
-# TYPE go_gc_duration_seconds summary
3
-go_gc_duration_seconds{quantile="0"} 0
4
-go_gc_duration_seconds{quantile="0.25"} 0
5
-go_gc_duration_seconds{quantile="0.5"} 0
6
-go_gc_duration_seconds{quantile="0.75"} 0
7
-go_gc_duration_seconds{quantile="1"} 0.0023911
8
-go_gc_duration_seconds_sum 0.0044814
9
-go_gc_duration_seconds_count 23
10
-# HELP go_goroutines Number of goroutines that currently exist.
11
-# TYPE go_goroutines gauge
12
-go_goroutines 10
13
-# HELP go_info Information about the Go environment.
14
-# TYPE go_info gauge
15
-go_info{version="go1.19.1"} 1
16
-# HELP go_memstats_alloc_bytes Number of bytes allocated and still in use.
17
-# TYPE go_memstats_alloc_bytes gauge
18
-go_memstats_alloc_bytes 8.035808e+06
19
-# HELP go_memstats_alloc_bytes_total Total number of bytes allocated, even if freed.
20
-# TYPE go_memstats_alloc_bytes_total counter
21
-go_memstats_alloc_bytes_total 5.9966872e+07
22
-# HELP go_memstats_buck_hash_sys_bytes Number of bytes used by the profiling bucket hash table.
23
-# TYPE go_memstats_buck_hash_sys_bytes gauge
24
-go_memstats_buck_hash_sys_bytes 1.462168e+06
25
-# HELP go_memstats_frees_total Total number of frees.
26
-# TYPE go_memstats_frees_total counter
27
-go_memstats_frees_total 111234
28
-# HELP go_memstats_gc_sys_bytes Number of bytes used for garbage collection system metadata.
29
-# TYPE go_memstats_gc_sys_bytes gauge
30
-go_memstats_gc_sys_bytes 7.78308e+06
31
-# HELP go_memstats_heap_alloc_bytes Number of heap bytes allocated and still in use.
32
-# TYPE go_memstats_heap_alloc_bytes gauge
33
-go_memstats_heap_alloc_bytes 8.035808e+06
34
-# HELP go_memstats_heap_idle_bytes Number of heap bytes waiting to be used.
35
-# TYPE go_memstats_heap_idle_bytes gauge
36
-go_memstats_heap_idle_bytes 5.767168e+06
37
-# HELP go_memstats_heap_inuse_bytes Number of heap bytes that are in use.
38
-# TYPE go_memstats_heap_inuse_bytes gauge
39
-go_memstats_heap_inuse_bytes 1.0551296e+07
40
-# HELP go_memstats_heap_objects Number of allocated objects.
41
-# TYPE go_memstats_heap_objects gauge
42
-go_memstats_heap_objects 34382
43
-# HELP go_memstats_heap_released_bytes Number of heap bytes released to OS.
44
-# TYPE go_memstats_heap_released_bytes gauge
45
-go_memstats_heap_released_bytes 5.496832e+06
46
-# HELP go_memstats_heap_sys_bytes Number of heap bytes obtained from system.
47
-# TYPE go_memstats_heap_sys_bytes gauge
48
-go_memstats_heap_sys_bytes 1.6318464e+07
49
-# HELP go_memstats_last_gc_time_seconds Number of seconds since 1970 of last garbage collection.
50
-# TYPE go_memstats_last_gc_time_seconds gauge
51
-go_memstats_last_gc_time_seconds 1.6675087416268353e+09
52
-# HELP go_memstats_lookups_total Total number of pointer lookups.
53
-# TYPE go_memstats_lookups_total counter
54
-go_memstats_lookups_total 0
55
-# HELP go_memstats_mallocs_total Total number of mallocs.
56
-# TYPE go_memstats_mallocs_total counter
57
-go_memstats_mallocs_total 145616
58
-# HELP go_memstats_mcache_inuse_bytes Number of bytes in use by mcache structures.
59
-# TYPE go_memstats_mcache_inuse_bytes gauge
60
-go_memstats_mcache_inuse_bytes 4672
61
-# HELP go_memstats_mcache_sys_bytes Number of bytes used for mcache structures obtained from system.
62
-# TYPE go_memstats_mcache_sys_bytes gauge
63
-go_memstats_mcache_sys_bytes 16352
64
-# HELP go_memstats_mspan_inuse_bytes Number of bytes in use by mspan structures.
65
-# TYPE go_memstats_mspan_inuse_bytes gauge
66
-go_memstats_mspan_inuse_bytes 102272
67
-# HELP go_memstats_mspan_sys_bytes Number of bytes used for mspan structures obtained from system.
68
-# TYPE go_memstats_mspan_sys_bytes gauge
69
-go_memstats_mspan_sys_bytes 114240
70
-# HELP go_memstats_next_gc_bytes Number of heap bytes when next garbage collection will take place.
71
-# TYPE go_memstats_next_gc_bytes gauge
72
-go_memstats_next_gc_bytes 1.0613856e+07
73
-# HELP go_memstats_other_sys_bytes Number of bytes used for other system allocations.
74
-# TYPE go_memstats_other_sys_bytes gauge
75
-go_memstats_other_sys_bytes 908248
76
-# HELP go_memstats_stack_inuse_bytes Number of bytes in use by the stack allocator.
77
-# TYPE go_memstats_stack_inuse_bytes gauge
78
-go_memstats_stack_inuse_bytes 458752
79
-# HELP go_memstats_stack_sys_bytes Number of bytes obtained from system for stack allocator.
80
-# TYPE go_memstats_stack_sys_bytes gauge
81
-go_memstats_stack_sys_bytes 458752
82
-# HELP go_memstats_sys_bytes Number of bytes obtained from system.
83
-# TYPE go_memstats_sys_bytes gauge
84
-go_memstats_sys_bytes 2.7061304e+07
85
-# HELP go_threads Number of OS threads created.
86
-# TYPE go_threads gauge
87
-go_threads 10
88
-# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
89
-# TYPE process_cpu_seconds_total counter
90
-process_cpu_seconds_total 0.609375
91
-# HELP process_max_fds Maximum number of open file descriptors.
92
-# TYPE process_max_fds gauge
93
-process_max_fds 1.6777216e+07
94
-# HELP process_open_fds Number of open file descriptors.
95
-# TYPE process_open_fds gauge
96
-process_open_fds 352
97
-# HELP process_resident_memory_bytes Resident memory size in bytes.
98
-# TYPE process_resident_memory_bytes gauge
99
-process_resident_memory_bytes 3.229696e+07
100
-# HELP process_start_time_seconds Start time of the process since unix epoch in seconds.
101
-# TYPE process_start_time_seconds gauge
102
-process_start_time_seconds 1.667508736e+09
103
-# HELP process_virtual_memory_bytes Virtual memory size in bytes.
104
-# TYPE process_virtual_memory_bytes gauge
105
-process_virtual_memory_bytes 3.5569664e+07
106
-# HELP windows_adcs_challenge_response_processing_time_seconds Last time elapsed for challenge response
107
-# TYPE windows_adcs_challenge_response_processing_time_seconds gauge
108
-windows_adcs_challenge_response_processing_time_seconds{cert_template="Administrator"} 0
109
-windows_adcs_challenge_response_processing_time_seconds{cert_template="DomainController"} 0
110
-# HELP windows_adcs_challenge_responses_total Total certificate challenge responses processed
111
-# TYPE windows_adcs_challenge_responses_total counter
112
-windows_adcs_challenge_responses_total{cert_template="Administrator"} 0
113
-windows_adcs_challenge_responses_total{cert_template="DomainController"} 0
114
-# HELP windows_adcs_failed_requests_total Total failed certificate requests processed
115
-# TYPE windows_adcs_failed_requests_total counter
116
-windows_adcs_failed_requests_total{cert_template="Administrator"} 0
117
-windows_adcs_failed_requests_total{cert_template="DomainController"} 0
118
-# HELP windows_adcs_issued_requests_total Total issued certificate requests processed
119
-# TYPE windows_adcs_issued_requests_total counter
120
-windows_adcs_issued_requests_total{cert_template="Administrator"} 0
121
-windows_adcs_issued_requests_total{cert_template="DomainController"} 1
122
-# HELP windows_adcs_pending_requests_total Total pending certificate requests processed
123
-# TYPE windows_adcs_pending_requests_total counter
124
-windows_adcs_pending_requests_total{cert_template="Administrator"} 0
125
-windows_adcs_pending_requests_total{cert_template="DomainController"} 0
126
-# HELP windows_adcs_request_cryptographic_signing_time_seconds Last time elapsed for signing operation request
127
-# TYPE windows_adcs_request_cryptographic_signing_time_seconds gauge
128
-windows_adcs_request_cryptographic_signing_time_seconds{cert_template="Administrator"} 0
129
-windows_adcs_request_cryptographic_signing_time_seconds{cert_template="DomainController"} 0
130
-# HELP windows_adcs_request_policy_module_processing_time_seconds Last time elapsed for policy module processing request
131
-# TYPE windows_adcs_request_policy_module_processing_time_seconds gauge
132
-windows_adcs_request_policy_module_processing_time_seconds{cert_template="Administrator"} 0
133
-windows_adcs_request_policy_module_processing_time_seconds{cert_template="DomainController"} 0.016
134
-# HELP windows_adcs_request_processing_time_seconds Last time elapsed for certificate requests
135
-# TYPE windows_adcs_request_processing_time_seconds gauge
136
-windows_adcs_request_processing_time_seconds{cert_template="Administrator"} 0
137
-windows_adcs_request_processing_time_seconds{cert_template="DomainController"} 0.063
138
-# HELP windows_adcs_requests_total Total certificate requests processed
139
-# TYPE windows_adcs_requests_total counter
140
-windows_adcs_requests_total{cert_template="Administrator"} 0
141
-windows_adcs_requests_total{cert_template="DomainController"} 1
142
-# HELP windows_adcs_retrievals_processing_time_seconds Last time elapsed for certificate retrieval request
143
-# TYPE windows_adcs_retrievals_processing_time_seconds gauge
144
-windows_adcs_retrievals_processing_time_seconds{cert_template="Administrator"} 0
145
-windows_adcs_retrievals_processing_time_seconds{cert_template="DomainController"} 0
146
-# HELP windows_adcs_retrievals_total Total certificate retrieval requests processed
147
-# TYPE windows_adcs_retrievals_total counter
148
-windows_adcs_retrievals_total{cert_template="Administrator"} 0
149
-windows_adcs_retrievals_total{cert_template="DomainController"} 0
150
-# HELP windows_adcs_signed_certificate_timestamp_list_processing_time_seconds Last time elapsed for Signed Certificate Timestamp List
151
-# TYPE windows_adcs_signed_certificate_timestamp_list_processing_time_seconds gauge
152
-windows_adcs_signed_certificate_timestamp_list_processing_time_seconds{cert_template="Administrator"} 0
153
-windows_adcs_signed_certificate_timestamp_list_processing_time_seconds{cert_template="DomainController"} 0
154
-# HELP windows_adcs_signed_certificate_timestamp_lists_total Total Signed Certificate Timestamp Lists processed
155
-# TYPE windows_adcs_signed_certificate_timestamp_lists_total counter
156
-windows_adcs_signed_certificate_timestamp_lists_total{cert_template="Administrator"} 0
157
-windows_adcs_signed_certificate_timestamp_lists_total{cert_template="DomainController"} 0
158
-# HELP windows_adfs_ad_login_connection_failures_total Total number of connection failures to an Active Directory domain controller
159
-# TYPE windows_adfs_ad_login_connection_failures_total counter
160
-windows_adfs_ad_login_connection_failures_total 0
161
-# HELP windows_adfs_certificate_authentications_total Total number of User Certificate authentications
162
-# TYPE windows_adfs_certificate_authentications_total counter
163
-windows_adfs_certificate_authentications_total 0
164
-# HELP windows_adfs_db_artifact_failure_total Total number of failures connecting to the artifact database
165
-# TYPE windows_adfs_db_artifact_failure_total counter
166
-windows_adfs_db_artifact_failure_total 0
167
-# HELP windows_adfs_db_artifact_query_time_seconds_total Accumulator of time taken for an artifact database query
168
-# TYPE windows_adfs_db_artifact_query_time_seconds_total counter
169
-windows_adfs_db_artifact_query_time_seconds_total 0
170
-# HELP windows_adfs_db_config_failure_total Total number of failures connecting to the configuration database
171
-# TYPE windows_adfs_db_config_failure_total counter
172
-windows_adfs_db_config_failure_total 0
173
-# HELP windows_adfs_db_config_query_time_seconds_total Accumulator of time taken for a configuration database query
174
-# TYPE windows_adfs_db_config_query_time_seconds_total counter
175
-windows_adfs_db_config_query_time_seconds_total 0.10111504
176
-# HELP windows_adfs_device_authentications_total Total number of Device authentications
177
-# TYPE windows_adfs_device_authentications_total counter
178
-windows_adfs_device_authentications_total 0
179
-# HELP windows_adfs_external_authentications_failure_total Total number of failed authentications from external MFA providers
180
-# TYPE windows_adfs_external_authentications_failure_total counter
181
-windows_adfs_external_authentications_failure_total 0
182
-# HELP windows_adfs_external_authentications_success_total Total number of successful authentications from external MFA providers
183
-# TYPE windows_adfs_external_authentications_success_total counter
184
-windows_adfs_external_authentications_success_total 0
185
-# HELP windows_adfs_extranet_account_lockouts_total Total number of Extranet Account Lockouts
186
-# TYPE windows_adfs_extranet_account_lockouts_total counter
187
-windows_adfs_extranet_account_lockouts_total 0
188
-# HELP windows_adfs_federated_authentications_total Total number of authentications from a federated source
189
-# TYPE windows_adfs_federated_authentications_total counter
190
-windows_adfs_federated_authentications_total 0
191
-# HELP windows_adfs_federation_metadata_requests_total Total number of Federation Metadata requests
192
-# TYPE windows_adfs_federation_metadata_requests_total counter
193
-windows_adfs_federation_metadata_requests_total 1
194
-# HELP windows_adfs_oauth_authorization_requests_total Total number of incoming requests to the OAuth Authorization endpoint
195
-# TYPE windows_adfs_oauth_authorization_requests_total counter
196
-windows_adfs_oauth_authorization_requests_total 0
197
-# HELP windows_adfs_oauth_client_authentication_failure_total Total number of failed OAuth client Authentications
198
-# TYPE windows_adfs_oauth_client_authentication_failure_total counter
199
-windows_adfs_oauth_client_authentication_failure_total 0
200
-# HELP windows_adfs_oauth_client_authentication_success_total Total number of successful OAuth client Authentications
201
-# TYPE windows_adfs_oauth_client_authentication_success_total counter
202
-windows_adfs_oauth_client_authentication_success_total 0
203
-# HELP windows_adfs_oauth_client_credentials_failure_total Total number of failed OAuth Client Credentials Requests
204
-# TYPE windows_adfs_oauth_client_credentials_failure_total counter
205
-windows_adfs_oauth_client_credentials_failure_total 0
206
-# HELP windows_adfs_oauth_client_credentials_success_total Total number of successful RP tokens issued for OAuth Client Credentials Requests
207
-# TYPE windows_adfs_oauth_client_credentials_success_total counter
208
-windows_adfs_oauth_client_credentials_success_total 0
209
-# HELP windows_adfs_oauth_client_privkey_jtw_authentication_failure_total Total number of failed OAuth Client Private Key Jwt Authentications
210
-# TYPE windows_adfs_oauth_client_privkey_jtw_authentication_failure_total counter
211
-windows_adfs_oauth_client_privkey_jtw_authentication_failure_total 0
212
-# HELP windows_adfs_oauth_client_privkey_jwt_authentications_success_total Total number of successful OAuth Client Private Key Jwt Authentications
213
-# TYPE windows_adfs_oauth_client_privkey_jwt_authentications_success_total counter
214
-windows_adfs_oauth_client_privkey_jwt_authentications_success_total 0
215
-# HELP windows_adfs_oauth_client_secret_basic_authentications_failure_total Total number of failed OAuth Client Secret Basic Authentications
216
-# TYPE windows_adfs_oauth_client_secret_basic_authentications_failure_total counter
217
-windows_adfs_oauth_client_secret_basic_authentications_failure_total 0
218
-# HELP windows_adfs_oauth_client_secret_basic_authentications_success_total Total number of successful OAuth Client Secret Basic Authentications
219
-# TYPE windows_adfs_oauth_client_secret_basic_authentications_success_total counter
220
-windows_adfs_oauth_client_secret_basic_authentications_success_total 0
221
-# HELP windows_adfs_oauth_client_secret_post_authentications_failure_total Total number of failed OAuth Client Secret Post Authentications
222
-# TYPE windows_adfs_oauth_client_secret_post_authentications_failure_total counter
223
-windows_adfs_oauth_client_secret_post_authentications_failure_total 0
224
-# HELP windows_adfs_oauth_client_secret_post_authentications_success_total Total number of successful OAuth Client Secret Post Authentications
225
-# TYPE windows_adfs_oauth_client_secret_post_authentications_success_total counter
226
-windows_adfs_oauth_client_secret_post_authentications_success_total 0
227
-# HELP windows_adfs_oauth_client_windows_authentications_failure_total Total number of failed OAuth Client Windows Integrated Authentications
228
-# TYPE windows_adfs_oauth_client_windows_authentications_failure_total counter
229
-windows_adfs_oauth_client_windows_authentications_failure_total 0
230
-# HELP windows_adfs_oauth_client_windows_authentications_success_total Total number of successful OAuth Client Windows Integrated Authentications
231
-# TYPE windows_adfs_oauth_client_windows_authentications_success_total counter
232
-windows_adfs_oauth_client_windows_authentications_success_total 0
233
-# HELP windows_adfs_oauth_logon_certificate_requests_failure_total Total number of failed OAuth Logon Certificate Requests
234
-# TYPE windows_adfs_oauth_logon_certificate_requests_failure_total counter
235
-windows_adfs_oauth_logon_certificate_requests_failure_total 0
236
-# HELP windows_adfs_oauth_logon_certificate_token_requests_success_total Total number of successful RP tokens issued for OAuth Logon Certificate Requests
237
-# TYPE windows_adfs_oauth_logon_certificate_token_requests_success_total counter
238
-windows_adfs_oauth_logon_certificate_token_requests_success_total 0
239
-# HELP windows_adfs_oauth_password_grant_requests_failure_total Total number of failed OAuth Password Grant Requests
240
-# TYPE windows_adfs_oauth_password_grant_requests_failure_total counter
241
-windows_adfs_oauth_password_grant_requests_failure_total 0
242
-# HELP windows_adfs_oauth_password_grant_requests_success_total Total number of successful OAuth Password Grant Requests
243
-# TYPE windows_adfs_oauth_password_grant_requests_success_total counter
244
-windows_adfs_oauth_password_grant_requests_success_total 0
245
-# HELP windows_adfs_oauth_token_requests_success_total Total number of successful RP tokens issued over OAuth protocol
246
-# TYPE windows_adfs_oauth_token_requests_success_total counter
247
-windows_adfs_oauth_token_requests_success_total 0
248
-# HELP windows_adfs_passive_requests_total Total number of passive (browser-based) requests
249
-# TYPE windows_adfs_passive_requests_total counter
250
-windows_adfs_passive_requests_total 0
251
-# HELP windows_adfs_passport_authentications_total Total number of Microsoft Passport SSO authentications
252
-# TYPE windows_adfs_passport_authentications_total counter
253
-windows_adfs_passport_authentications_total 0
254
-# HELP windows_adfs_password_change_failed_total Total number of failed password changes
255
-# TYPE windows_adfs_password_change_failed_total counter
256
-windows_adfs_password_change_failed_total 0
257
-# HELP windows_adfs_password_change_succeeded_total Total number of successful password changes
258
-# TYPE windows_adfs_password_change_succeeded_total counter
259
-windows_adfs_password_change_succeeded_total 0
260
-# HELP windows_adfs_samlp_token_requests_success_total Total number of successful RP tokens issued over SAML-P protocol
261
-# TYPE windows_adfs_samlp_token_requests_success_total counter
262
-windows_adfs_samlp_token_requests_success_total 0
263
-# HELP windows_adfs_sso_authentications_failure_total Total number of failed SSO authentications
264
-# TYPE windows_adfs_sso_authentications_failure_total counter
265
-windows_adfs_sso_authentications_failure_total 0
266
-# HELP windows_adfs_sso_authentications_success_total Total number of successful SSO authentications
267
-# TYPE windows_adfs_sso_authentications_success_total counter
268
-windows_adfs_sso_authentications_success_total 0
269
-# HELP windows_adfs_token_requests_total Total number of token requests
270
-# TYPE windows_adfs_token_requests_total counter
271
-windows_adfs_token_requests_total 0
272
-# HELP windows_adfs_userpassword_authentications_failure_total Total number of failed AD U/P authentications
273
-# TYPE windows_adfs_userpassword_authentications_failure_total counter
274
-windows_adfs_userpassword_authentications_failure_total 0
275
-# HELP windows_adfs_userpassword_authentications_success_total Total number of successful AD U/P authentications
276
-# TYPE windows_adfs_userpassword_authentications_success_total counter
277
-windows_adfs_userpassword_authentications_success_total 0
278
-# HELP windows_adfs_windows_integrated_authentications_total Total number of Windows integrated authentications (Kerberos/NTLM)
279
-# TYPE windows_adfs_windows_integrated_authentications_total counter
280
-windows_adfs_windows_integrated_authentications_total 0
281
-# HELP windows_adfs_wsfed_token_requests_success_total Total number of successful RP tokens issued over WS-Fed protocol
282
-# TYPE windows_adfs_wsfed_token_requests_success_total counter
283
-windows_adfs_wsfed_token_requests_success_total 0
284
-# HELP windows_adfs_wstrust_token_requests_success_total Total number of successful RP tokens issued over WS-Trust protocol
285
-# TYPE windows_adfs_wstrust_token_requests_success_total counter
286
-windows_adfs_wstrust_token_requests_success_total 0
287
-# HELP windows_ad_atq_average_request_latency
288
-# TYPE windows_ad_atq_average_request_latency gauge
289
-windows_ad_atq_average_request_latency 0
290
-# HELP windows_ad_atq_outstanding_requests
291
-# TYPE windows_ad_atq_outstanding_requests gauge
292
-windows_ad_atq_outstanding_requests 0
293
-# HELP windows_ad_database_operations_total
294
-# TYPE windows_ad_database_operations_total counter
295
-windows_ad_database_operations_total{operation="add"} 1
296
-windows_ad_database_operations_total{operation="delete"} 0
297
-windows_ad_database_operations_total{operation="modify"} 30
298
-windows_ad_database_operations_total{operation="recycle"} 0
299
-# HELP windows_ad_directory_operations_total
300
-# TYPE windows_ad_directory_operations_total counter
301
-windows_ad_directory_operations_total{operation="read",origin="directory_service_api"} 0
302
-windows_ad_directory_operations_total{operation="read",origin="knowledge_consistency_checker"} 60
303
-windows_ad_directory_operations_total{operation="read",origin="local_security_authority"} 20
304
-windows_ad_directory_operations_total{operation="read",origin="name_service_provider_interface"} 0
305
-windows_ad_directory_operations_total{operation="read",origin="other"} 50
306
-windows_ad_directory_operations_total{operation="read",origin="replication_agent"} 0
307
-windows_ad_directory_operations_total{operation="read",origin="security_account_manager"} 596
308
-windows_ad_directory_operations_total{operation="search",origin="directory_service_api"} 101
309
-windows_ad_directory_operations_total{operation="search",origin="knowledge_consistency_checker"} 21
310
-windows_ad_directory_operations_total{operation="search",origin="ldap"} 606
311
-windows_ad_directory_operations_total{operation="search",origin="local_security_authority"} 9
312
-windows_ad_directory_operations_total{operation="search",origin="name_service_provider_interface"} 0
313
-windows_ad_directory_operations_total{operation="search",origin="other"} 56
314
-windows_ad_directory_operations_total{operation="search",origin="replication_agent"} 0
315
-windows_ad_directory_operations_total{operation="search",origin="security_account_manager"} 38
316
-windows_ad_directory_operations_total{operation="write",origin="directory_service_api"} 3
317
-windows_ad_directory_operations_total{operation="write",origin="knowledge_consistency_checker"} 0
318
-windows_ad_directory_operations_total{operation="write",origin="ldap"} 1
319
-windows_ad_directory_operations_total{operation="write",origin="local_security_authority"} 0
320
-windows_ad_directory_operations_total{operation="write",origin="name_service_provider_interface"} 0
321
-windows_ad_directory_operations_total{operation="write",origin="other"} 1
322
-windows_ad_directory_operations_total{operation="write",origin="replication_agent"} 0
323
-windows_ad_directory_operations_total{operation="write",origin="security_account_manager"} 26
324
-# HELP windows_ad_name_cache_lookups_total
325
-# TYPE windows_ad_name_cache_lookups_total counter
326
-windows_ad_name_cache_lookups_total 53046
327
-# HELP windows_ad_name_cache_hits_total
328
-# TYPE windows_ad_name_cache_hits_total counter
329
-windows_ad_name_cache_hits_total 41161
330
-# HELP windows_ad_replication_inbound_objects_filtered_total
331
-# TYPE windows_ad_replication_inbound_objects_filtered_total counter
332
-windows_ad_replication_inbound_objects_filtered_total 0
333
-# HELP windows_ad_replication_inbound_properties_filtered_total
334
-# TYPE windows_ad_replication_inbound_properties_filtered_total counter
335
-windows_ad_replication_inbound_properties_filtered_total 0
336
-# HELP windows_ad_replication_inbound_properties_updated_total
337
-# TYPE windows_ad_replication_inbound_properties_updated_total counter
338
-windows_ad_replication_inbound_properties_updated_total 0
339
-# HELP windows_ad_replication_inbound_objects_updated_total
340
-# TYPE windows_ad_replication_inbound_objects_updated_total counter
341
-windows_ad_replication_inbound_objects_updated_total 0
342
-# HELP windows_ad_replication_inbound_sync_objects_remaining
343
-# TYPE windows_ad_replication_inbound_sync_objects_remaining gauge
344
-windows_ad_replication_inbound_sync_objects_remaining 0
345
-# HELP windows_ad_replication_data_intersite_bytes_total
346
-# TYPE windows_ad_replication_data_intersite_bytes_total counter
347
-windows_ad_replication_data_intersite_bytes_total{direction="inbound"} 0
348
-windows_ad_replication_data_intersite_bytes_total{direction="outbound"} 0
349
-# HELP windows_ad_replication_data_intrasite_bytes_total
350
-# TYPE windows_ad_replication_data_intrasite_bytes_total counter
351
-windows_ad_replication_data_intrasite_bytes_total{direction="inbound"} 0
352
-windows_ad_replication_data_intrasite_bytes_total{direction="outbound"} 0
353
-# HELP windows_ad_replication_pending_synchronizations
354
-# TYPE windows_ad_replication_pending_synchronizations gauge
355
-windows_ad_replication_pending_synchronizations 0
356
-# HELP windows_ad_replication_sync_requests_total
357
-# TYPE windows_ad_replication_sync_requests_total counter
358
-windows_ad_replication_sync_requests_total 0
359
-# HELP windows_ad_directory_service_threads
360
-# TYPE windows_ad_directory_service_threads gauge
361
-windows_ad_directory_service_threads 0
362
-# HELP windows_ad_ldap_last_bind_time_seconds
363
-# TYPE windows_ad_ldap_last_bind_time_seconds gauge
364
-windows_ad_ldap_last_bind_time_seconds 0
365
-# HELP windows_ad_binds_total
366
-# TYPE windows_ad_binds_total counter
367
-windows_ad_binds_total{bind_method="ldap"} 184
368
-# HELP windows_ad_ldap_searches_total
369
-# TYPE windows_ad_ldap_searches_total counter
370
-windows_ad_ldap_searches_total 1382
371
-# HELP windows_cpu_clock_interrupts_total Total number of received and serviced clock tick interrupts
372
-# TYPE windows_cpu_clock_interrupts_total counter
373
-windows_cpu_clock_interrupts_total{core="0,0"} 9.1949524e+07
374
-windows_cpu_clock_interrupts_total{core="0,1"} 1.0416934e+07
375
-windows_cpu_clock_interrupts_total{core="0,2"} 1.0417092e+07
376
-windows_cpu_clock_interrupts_total{core="0,3"} 1.0416548e+07
377
-# HELP windows_cpu_core_frequency_mhz Core frequency in megahertz
378
-# TYPE windows_cpu_core_frequency_mhz gauge
379
-windows_cpu_core_frequency_mhz{core="0,0"} 3187
380
-windows_cpu_core_frequency_mhz{core="0,1"} 3187
381
-windows_cpu_core_frequency_mhz{core="0,2"} 3187
382
-windows_cpu_core_frequency_mhz{core="0,3"} 3187
383
-# HELP windows_cpu_cstate_seconds_total Time spent in low-power idle state
384
-# TYPE windows_cpu_cstate_seconds_total counter
385
-windows_cpu_cstate_seconds_total{core="0,0",state="c1"} 160233.4270483
386
-windows_cpu_cstate_seconds_total{core="0,0",state="c2"} 0
387
-windows_cpu_cstate_seconds_total{core="0,0",state="c3"} 0
388
-windows_cpu_cstate_seconds_total{core="0,1",state="c1"} 159528.0543212
389
-windows_cpu_cstate_seconds_total{core="0,1",state="c2"} 0
390
-windows_cpu_cstate_seconds_total{core="0,1",state="c3"} 0
391
-windows_cpu_cstate_seconds_total{core="0,2",state="c1"} 159891.7232105
392
-windows_cpu_cstate_seconds_total{core="0,2",state="c2"} 0
393
-windows_cpu_cstate_seconds_total{core="0,2",state="c3"} 0
394
-windows_cpu_cstate_seconds_total{core="0,3",state="c1"} 159544.11780809998
395
-windows_cpu_cstate_seconds_total{core="0,3",state="c2"} 0
396
-windows_cpu_cstate_seconds_total{core="0,3",state="c3"} 0
397
-# HELP windows_cpu_dpcs_total Total number of received and serviced deferred procedure calls (DPCs)
398
-# TYPE windows_cpu_dpcs_total counter
399
-windows_cpu_dpcs_total{core="0,0"} 4.8719e+06
400
-windows_cpu_dpcs_total{core="0,1"} 1.650552e+06
401
-windows_cpu_dpcs_total{core="0,2"} 2.236469e+06
402
-windows_cpu_dpcs_total{core="0,3"} 1.185046e+06
403
-# HELP windows_cpu_idle_break_events_total Total number of time processor was woken from idle
404
-# TYPE windows_cpu_idle_break_events_total counter
405
-windows_cpu_idle_break_events_total{core="0,0"} 1.40806638e+08
406
-windows_cpu_idle_break_events_total{core="0,1"} 7.069832e+07
407
-windows_cpu_idle_break_events_total{core="0,2"} 6.0430118e+07
408
-windows_cpu_idle_break_events_total{core="0,3"} 5.5224469e+07
409
-# HELP windows_cpu_interrupts_total Total number of received and serviced hardware interrupts
410
-# TYPE windows_cpu_interrupts_total counter
411
-windows_cpu_interrupts_total{core="0,0"} 1.55194331e+08
412
-windows_cpu_interrupts_total{core="0,1"} 7.9325847e+07
413
-windows_cpu_interrupts_total{core="0,2"} 6.7305419e+07
414
-windows_cpu_interrupts_total{core="0,3"} 6.0766938e+07
415
-# HELP windows_cpu_parking_status Parking Status represents whether a processor is parked or not
416
-# TYPE windows_cpu_parking_status gauge
417
-windows_cpu_parking_status{core="0,0"} 0
418
-windows_cpu_parking_status{core="0,1"} 0
419
-windows_cpu_parking_status{core="0,2"} 0
420
-windows_cpu_parking_status{core="0,3"} 0
421
-# HELP windows_cpu_processor_performance Processor Performance is the average performance of the processor while it is executing instructions, as a percentage of the nominal performance of the processor. On some processors, Processor Performance may exceed 100%
422
-# TYPE windows_cpu_processor_performance gauge
423
-windows_cpu_processor_performance{core="0,0"} 2.79873813368e+11
424
-windows_cpu_processor_performance{core="0,1"} 3.239596095e+11
425
-windows_cpu_processor_performance{core="0,2"} 3.01145132737e+11
426
-windows_cpu_processor_performance{core="0,3"} 3.22955641675e+11
427
-# HELP windows_cpu_time_total Time that processor spent in different modes (dpc, idle, interrupt, privileged, user)
428
-# TYPE windows_cpu_time_total counter
429
-windows_cpu_time_total{core="0,0",mode="dpc"} 67.109375
430
-windows_cpu_time_total{core="0,0",mode="idle"} 162455.59375
431
-windows_cpu_time_total{core="0,0",mode="interrupt"} 77.28125
432
-windows_cpu_time_total{core="0,0",mode="privileged"} 1182.109375
433
-windows_cpu_time_total{core="0,0",mode="user"} 1073.671875
434
-windows_cpu_time_total{core="0,1",mode="dpc"} 11.09375
435
-windows_cpu_time_total{core="0,1",mode="idle"} 159478.125
436
-windows_cpu_time_total{core="0,1",mode="interrupt"} 58.09375
437
-windows_cpu_time_total{core="0,1",mode="privileged"} 1801.234375
438
-windows_cpu_time_total{core="0,1",mode="user"} 3432
439
-windows_cpu_time_total{core="0,2",mode="dpc"} 16.0625
440
-windows_cpu_time_total{core="0,2",mode="idle"} 159848.4375
441
-windows_cpu_time_total{core="0,2",mode="interrupt"} 53.515625
442
-windows_cpu_time_total{core="0,2",mode="privileged"} 1812.546875
443
-windows_cpu_time_total{core="0,2",mode="user"} 3050.25
444
-windows_cpu_time_total{core="0,3",mode="dpc"} 8.140625
445
-windows_cpu_time_total{core="0,3",mode="idle"} 159527.546875
446
-windows_cpu_time_total{core="0,3",mode="interrupt"} 44.484375
447
-windows_cpu_time_total{core="0,3",mode="privileged"} 1760.828125
448
-windows_cpu_time_total{core="0,3",mode="user"} 3422.875
449
-# HELP windows_exporter_build_info A metric with a constant '1' value labeled by version, revision, branch, and goversion from which windows_exporter was built.
450
-# TYPE windows_exporter_build_info gauge
451
-windows_exporter_build_info{branch="heads/tags/v0.20.0",goversion="go1.19.1",revision="677a7c8d67deb99b92f4f24b8c890e0a4c152b0c",version="0.20.0"} 1
452
-# HELP windows_exporter_collector_duration_seconds windows_exporter: Duration of a collection.
453
-# TYPE windows_exporter_collector_duration_seconds gauge
454
-windows_exporter_collector_duration_seconds{collector="ad"} 0.7690505
455
-windows_exporter_collector_duration_seconds{collector="adcs"} 0.0006833
456
-windows_exporter_collector_duration_seconds{collector="adfs"} 0.0031012
457
-windows_exporter_collector_duration_seconds{collector="cpu"} 0.00052
458
-windows_exporter_collector_duration_seconds{collector="exchange"} 0.0334467
459
-windows_exporter_collector_duration_seconds{collector="hyperv"} 0.9003895
460
-windows_exporter_collector_duration_seconds{collector="iis"} 0
461
-windows_exporter_collector_duration_seconds{collector="logical_disk"} 0
462
-windows_exporter_collector_duration_seconds{collector="logon"} 0.1139134
463
-windows_exporter_collector_duration_seconds{collector="memory"} 0.00052
464
-windows_exporter_collector_duration_seconds{collector="mssql"} 0.003369
465
-windows_exporter_collector_duration_seconds{collector="netframework_clrexceptions"} 1.437537
466
-windows_exporter_collector_duration_seconds{collector="netframework_clrinterop"} 1.4911402
467
-windows_exporter_collector_duration_seconds{collector="netframework_clrjit"} 1.2789005
468
-windows_exporter_collector_duration_seconds{collector="netframework_clrloading"} 1.3232636
469
-windows_exporter_collector_duration_seconds{collector="netframework_clrlocksandthreads"} 1.3578413999999999
470
-windows_exporter_collector_duration_seconds{collector="netframework_clrmemory"} 1.4066725
471
-windows_exporter_collector_duration_seconds{collector="netframework_clrremoting"} 1.5191553
472
-windows_exporter_collector_duration_seconds{collector="netframework_clrsecurity"} 1.4670829
473
-windows_exporter_collector_duration_seconds{collector="net"} 0
474
-windows_exporter_collector_duration_seconds{collector="os"} 0.0023497
475
-windows_exporter_collector_duration_seconds{collector="process"} 0.1154812
476
-windows_exporter_collector_duration_seconds{collector="service"} 0.1016404
477
-windows_exporter_collector_duration_seconds{collector="system"} 0.0006105
478
-windows_exporter_collector_duration_seconds{collector="tcp"} 0
479
-# HELP windows_exporter_collector_success windows_exporter: Whether the collector was successful.
480
-# TYPE windows_exporter_collector_success gauge
481
-windows_exporter_collector_success{collector="ad"} 1
482
-windows_exporter_collector_success{collector="adcs"} 1
483
-windows_exporter_collector_success{collector="adfs"} 1
484
-windows_exporter_collector_success{collector="cpu"} 1
485
-windows_exporter_collector_success{collector="exchange"} 1
486
-windows_exporter_collector_success{collector="hyperv"} 1
487
-windows_exporter_collector_success{collector="iis"} 1
488
-windows_exporter_collector_success{collector="logical_disk"} 1
489
-windows_exporter_collector_success{collector="logon"} 1
490
-windows_exporter_collector_success{collector="memory"} 1
491
-windows_exporter_collector_success{collector="mssql"} 1
492
-windows_exporter_collector_success{collector="netframework_clrexceptions"} 1
493
-windows_exporter_collector_success{collector="netframework_clrinterop"} 1
494
-windows_exporter_collector_success{collector="netframework_clrjit"} 1
495
-windows_exporter_collector_success{collector="netframework_clrloading"} 1
496
-windows_exporter_collector_success{collector="netframework_clrlocksandthreads"} 1
497
-windows_exporter_collector_success{collector="netframework_clrmemory"} 1
498
-windows_exporter_collector_success{collector="netframework_clrremoting"} 1
499
-windows_exporter_collector_success{collector="netframework_clrsecurity"} 1
500
-windows_exporter_collector_success{collector="net"} 1
501
-windows_exporter_collector_success{collector="os"} 1
502
-windows_exporter_collector_success{collector="process"} 1
503
-windows_exporter_collector_success{collector="service"} 1
504
-windows_exporter_collector_success{collector="system"} 1
505
-windows_exporter_collector_success{collector="tcp"} 1
506
-# HELP windows_exporter_collector_timeout windows_exporter: Whether the collector timed out.
507
-# TYPE windows_exporter_collector_timeout gauge
508
-windows_exporter_collector_timeout{collector="ad"} 0
509
-windows_exporter_collector_timeout{collector="adcs"} 0
510
-windows_exporter_collector_timeout{collector="adfs"} 0
511
-windows_exporter_collector_timeout{collector="cpu"} 0
512
-windows_exporter_collector_timeout{collector="exchange"} 0
513
-windows_exporter_collector_timeout{collector="hyperv"} 0
514
-windows_exporter_collector_timeout{collector="iis"} 0
515
-windows_exporter_collector_timeout{collector="logical_disk"} 0
516
-windows_exporter_collector_timeout{collector="logon"} 0
517
-windows_exporter_collector_timeout{collector="memory"} 0
518
-windows_exporter_collector_timeout{collector="mssql"} 0
519
-windows_exporter_collector_timeout{collector="netframework_clrexceptions"} 0
520
-windows_exporter_collector_timeout{collector="netframework_clrinterop"} 0
521
-windows_exporter_collector_timeout{collector="netframework_clrjit"} 0
522
-windows_exporter_collector_timeout{collector="netframework_clrloading"} 0
523
-windows_exporter_collector_timeout{collector="netframework_clrlocksandthreads"} 0
524
-windows_exporter_collector_timeout{collector="netframework_clrmemory"} 0
525
-windows_exporter_collector_timeout{collector="netframework_clrremoting"} 0
526
-windows_exporter_collector_timeout{collector="netframework_clrsecurity"} 0
527
-windows_exporter_collector_timeout{collector="net"} 0
528
-windows_exporter_collector_timeout{collector="os"} 0
529
-windows_exporter_collector_timeout{collector="process"} 0
530
-windows_exporter_collector_timeout{collector="service"} 0
531
-windows_exporter_collector_timeout{collector="system"} 0
532
-windows_exporter_collector_timeout{collector="tcp"} 0
533
-# HELP windows_exchange_http_proxy_avg_auth_latency Average time spent authenticating CAS requests over the last 200 samples
534
-# TYPE windows_exchange_http_proxy_avg_auth_latency gauge
535
-windows_exchange_http_proxy_avg_auth_latency{name="autodiscover"} 1
536
-windows_exchange_http_proxy_avg_auth_latency{name="eas"} 0
537
-# HELP windows_exchange_http_proxy_avg_cas_proccessing_latency_sec Average latency (sec) of CAS processing time over the last 200 reqs
538
-# TYPE windows_exchange_http_proxy_avg_cas_proccessing_latency_sec gauge
539
-windows_exchange_http_proxy_avg_cas_proccessing_latency_sec{name="autodiscover"} 0.003
540
-windows_exchange_http_proxy_avg_cas_proccessing_latency_sec{name="eas"} 0.003
541
-# HELP windows_exchange_http_proxy_mailbox_proxy_failure_rate % of failures between this CAS and MBX servers over the last 200 samples
542
-# TYPE windows_exchange_http_proxy_mailbox_proxy_failure_rate gauge
543
-windows_exchange_http_proxy_mailbox_proxy_failure_rate{name="autodiscover"} 0
544
-windows_exchange_http_proxy_mailbox_proxy_failure_rate{name="eas"} 0
545
-# HELP windows_exchange_http_proxy_mailbox_server_locator_avg_latency_sec Average latency (sec) of MailboxServerLocator web service calls
546
-# TYPE windows_exchange_http_proxy_mailbox_server_locator_avg_latency_sec gauge
547
-windows_exchange_http_proxy_mailbox_server_locator_avg_latency_sec{name="autodiscover"} 0.008
548
-windows_exchange_http_proxy_mailbox_server_locator_avg_latency_sec{name="eas"} 0.008
549
-# HELP windows_exchange_http_proxy_outstanding_proxy_requests Number of concurrent outstanding proxy requests
550
-# TYPE windows_exchange_http_proxy_outstanding_proxy_requests gauge
551
-windows_exchange_http_proxy_outstanding_proxy_requests{name="autodiscover"} 0
552
-windows_exchange_http_proxy_outstanding_proxy_requests{name="eas"} 0
553
-# HELP windows_exchange_http_proxy_requests_total Number of proxy requests processed each second
554
-# TYPE windows_exchange_http_proxy_requests_total counter
555
-windows_exchange_http_proxy_requests_total{name="autodiscover"} 27122
556
-windows_exchange_http_proxy_requests_total{name="eas"} 32519
557
-# HELP windows_exchange_ldap_long_running_ops_per_sec Long Running LDAP operations per second
558
-# TYPE windows_exchange_ldap_long_running_ops_per_sec counter
559
-windows_exchange_ldap_long_running_ops_per_sec{name="complianceauditservice"} 0
560
-windows_exchange_ldap_long_running_ops_per_sec{name="complianceauditservice_10"} 0
561
-# HELP windows_exchange_ldap_read_time_sec Time (sec) to send an LDAP read request and receive a response
562
-# TYPE windows_exchange_ldap_read_time_sec counter
563
-windows_exchange_ldap_read_time_sec{name="complianceauditservice"} 0.008
564
-windows_exchange_ldap_read_time_sec{name="complianceauditservice_10"} 0.018
565
-# HELP windows_exchange_ldap_search_time_sec Time (sec) to send an LDAP search request and receive a response
566
-# TYPE windows_exchange_ldap_search_time_sec counter
567
-windows_exchange_ldap_search_time_sec{name="complianceauditservice"} 0.046
568
-windows_exchange_ldap_search_time_sec{name="complianceauditservice_10"} 0.058
569
-# TYPE windows_exchange_ldap_timeout_errors_total counter
570
-windows_exchange_ldap_timeout_errors_total{name="complianceauditservice"} 0
571
-windows_exchange_ldap_timeout_errors_total{name="complianceauditservice_10"} 0
572
-# HELP windows_exchange_ldap_write_time_sec Time (sec) to send an LDAP Add/Modify/Delete request and receive a response
573
-# TYPE windows_exchange_ldap_write_time_sec counter
574
-windows_exchange_ldap_write_time_sec{name="complianceauditservice"} 0
575
-windows_exchange_ldap_write_time_sec{name="complianceauditservice_10"} 0
576
-# HELP windows_exporter_perflib_snapshot_duration_seconds Duration of perflib snapshot capture
577
-# TYPE windows_exporter_perflib_snapshot_duration_seconds gauge
578
-windows_exporter_perflib_snapshot_duration_seconds 0.0054258
579
-# HELP windows_exchange_activesync_ping_cmds_pending Number of ping commands currently pending in the queue
580
-# TYPE windows_exchange_activesync_ping_cmds_pending gauge
581
-windows_exchange_activesync_ping_cmds_pending 0
582
-# HELP windows_exchange_activesync_requests_total Num HTTP requests received from the client via ASP.NET per sec. Shows Current user load
583
-# TYPE windows_exchange_activesync_requests_total counter
584
-windows_exchange_activesync_requests_total 14
585
-# HELP windows_exchange_activesync_sync_cmds_total Number of sync commands processed per second. Clients use this command to synchronize items within a folder
586
-# TYPE windows_exchange_activesync_sync_cmds_total counter
587
-windows_exchange_activesync_sync_cmds_total 0
588
-# HELP windows_exchange_autodiscover_requests_total Number of autodiscover service requests processed each second
589
-# TYPE windows_exchange_autodiscover_requests_total counter
590
-windows_exchange_autodiscover_requests_total 1
591
-# HELP windows_exchange_avail_service_requests_per_sec Number of requests serviced per second
592
-# TYPE windows_exchange_avail_service_requests_per_sec counter
593
-windows_exchange_avail_service_requests_per_sec 0
594
-# HELP windows_exchange_owa_current_unique_users Number of unique users currently logged on to Outlook Web App
595
-# TYPE windows_exchange_owa_current_unique_users gauge
596
-windows_exchange_owa_current_unique_users 0
597
-# HELP windows_exchange_owa_requests_total Number of requests handled by Outlook Web App per second
598
-# TYPE windows_exchange_owa_requests_total counter
599
-windows_exchange_owa_requests_total 0
600
-# HELP windows_exchange_rpc_active_user_count Number of unique users that have shown some kind of activity in the last 2 minutes
601
-# TYPE windows_exchange_rpc_active_user_count gauge
602
-windows_exchange_rpc_active_user_count 0
603
-# HELP windows_exchange_rpc_avg_latency_sec The latency (sec), averaged for the past 1024 packets
604
-# TYPE windows_exchange_rpc_avg_latency_sec gauge
605
-windows_exchange_rpc_avg_latency_sec 0.001
606
-# HELP windows_exchange_rpc_connection_count Total number of client connections maintained
607
-# TYPE windows_exchange_rpc_connection_count gauge
608
-windows_exchange_rpc_connection_count 0
609
-# HELP windows_exchange_rpc_operations_total The rate at which RPC operations occur
610
-# TYPE windows_exchange_rpc_operations_total counter
611
-windows_exchange_rpc_operations_total 9
612
-# HELP windows_exchange_rpc_requests Number of client requests currently being processed by the RPC Client Access service
613
-# TYPE windows_exchange_rpc_requests gauge
614
-windows_exchange_rpc_requests 0
615
-# HELP windows_exchange_rpc_user_count Number of users
616
-# TYPE windows_exchange_rpc_user_count gauge
617
-windows_exchange_rpc_user_count 0
618
-# HELP windows_exchange_transport_queues_active_mailbox_delivery Active Mailbox Delivery Queue length
619
-# TYPE windows_exchange_transport_queues_active_mailbox_delivery gauge
620
-windows_exchange_transport_queues_active_mailbox_delivery{name="high_priority"} 0
621
-windows_exchange_transport_queues_active_mailbox_delivery{name="low_priority"} 0
622
-windows_exchange_transport_queues_active_mailbox_delivery{name="none_priority"} 0
623
-windows_exchange_transport_queues_active_mailbox_delivery{name="normal_priority"} 0
624
-windows_exchange_transport_queues_active_mailbox_delivery{name="total_excluding_priority_none"} 0
625
-# HELP windows_exchange_transport_queues_external_active_remote_delivery External Active Remote Delivery Queue length
626
-# TYPE windows_exchange_transport_queues_external_active_remote_delivery gauge
627
-windows_exchange_transport_queues_external_active_remote_delivery{name="high_priority"} 0
628
-windows_exchange_transport_queues_external_active_remote_delivery{name="low_priority"} 0
629
-windows_exchange_transport_queues_external_active_remote_delivery{name="none_priority"} 0
630
-windows_exchange_transport_queues_external_active_remote_delivery{name="normal_priority"} 0
631
-windows_exchange_transport_queues_external_active_remote_delivery{name="total_excluding_priority_none"} 0
632
-# HELP windows_exchange_transport_queues_external_largest_delivery External Largest Delivery Queue length
633
-# TYPE windows_exchange_transport_queues_external_largest_delivery gauge
634
-windows_exchange_transport_queues_external_largest_delivery{name="high_priority"} 0
635
-windows_exchange_transport_queues_external_largest_delivery{name="low_priority"} 0
636
-windows_exchange_transport_queues_external_largest_delivery{name="none_priority"} 0
637
-windows_exchange_transport_queues_external_largest_delivery{name="normal_priority"} 0
638
-windows_exchange_transport_queues_external_largest_delivery{name="total_excluding_priority_none"} 0
639
-# HELP windows_exchange_transport_queues_internal_active_remote_delivery Internal Active Remote Delivery Queue length
640
-# TYPE windows_exchange_transport_queues_internal_active_remote_delivery gauge
641
-windows_exchange_transport_queues_internal_active_remote_delivery{name="high_priority"} 0
642
-windows_exchange_transport_queues_internal_active_remote_delivery{name="low_priority"} 0
643
-windows_exchange_transport_queues_internal_active_remote_delivery{name="none_priority"} 0
644
-windows_exchange_transport_queues_internal_active_remote_delivery{name="normal_priority"} 0
645
-windows_exchange_transport_queues_internal_active_remote_delivery{name="total_excluding_priority_none"} 0
646
-# HELP windows_exchange_transport_queues_internal_largest_delivery Internal Largest Delivery Queue length
647
-# TYPE windows_exchange_transport_queues_internal_largest_delivery gauge
648
-windows_exchange_transport_queues_internal_largest_delivery{name="high_priority"} 0
649
-windows_exchange_transport_queues_internal_largest_delivery{name="low_priority"} 0
650
-windows_exchange_transport_queues_internal_largest_delivery{name="none_priority"} 0
651
-windows_exchange_transport_queues_internal_largest_delivery{name="normal_priority"} 0
652
-windows_exchange_transport_queues_internal_largest_delivery{name="total_excluding_priority_none"} 0
653
-# HELP windows_exchange_transport_queues_poison Poison Queue length
654
-# TYPE windows_exchange_transport_queues_poison gauge
655
-windows_exchange_transport_queues_poison{name="high_priority"} 0
656
-windows_exchange_transport_queues_poison{name="low_priority"} 0
657
-windows_exchange_transport_queues_poison{name="none_priority"} 0
658
-windows_exchange_transport_queues_poison{name="normal_priority"} 0
659
-windows_exchange_transport_queues_poison{name="total_excluding_priority_none"} 0
660
-# HELP windows_exchange_transport_queues_retry_mailbox_delivery Retry Mailbox Delivery Queue length
661
-# TYPE windows_exchange_transport_queues_retry_mailbox_delivery gauge
662
-windows_exchange_transport_queues_retry_mailbox_delivery{name="high_priority"} 0
663
-windows_exchange_transport_queues_retry_mailbox_delivery{name="low_priority"} 0
664
-windows_exchange_transport_queues_retry_mailbox_delivery{name="none_priority"} 0
665
-windows_exchange_transport_queues_retry_mailbox_delivery{name="normal_priority"} 0
666
-windows_exchange_transport_queues_retry_mailbox_delivery{name="total_excluding_priority_none"} 0
667
-# HELP windows_exchange_transport_queues_unreachable Unreachable Queue length
668
-# TYPE windows_exchange_transport_queues_unreachable gauge
669
-windows_exchange_transport_queues_unreachable{name="high_priority"} 0
670
-windows_exchange_transport_queues_unreachable{name="low_priority"} 0
671
-windows_exchange_transport_queues_unreachable{name="none_priority"} 0
672
-windows_exchange_transport_queues_unreachable{name="normal_priority"} 0
673
-windows_exchange_transport_queues_unreachable{name="total_excluding_priority_none"} 0
674
-# HELP windows_exchange_workload_active_tasks Number of active tasks currently running in the background for workload management
675
-# TYPE windows_exchange_workload_active_tasks gauge
676
-windows_exchange_workload_active_tasks{name="complianceauditservice_auditcomplianceserviceprioritized_audit_task_execution_manager"} 0
677
-windows_exchange_workload_active_tasks{name="microsoft_exchange_servicehost_darruntime"} 0
678
-# HELP windows_exchange_workload_completed_tasks Number of workload management tasks that have been completed
679
-# TYPE windows_exchange_workload_completed_tasks counter
680
-windows_exchange_workload_completed_tasks{name="complianceauditservice_auditcomplianceserviceprioritized_audit_task_execution_manager"} 0
681
-windows_exchange_workload_completed_tasks{name="microsoft_exchange_servicehost_darruntime"} 0
682
-# HELP windows_exchange_workload_is_active Active indicates whether the workload is in an active (1) or paused (0) state
683
-# TYPE windows_exchange_workload_is_active gauge
684
-windows_exchange_workload_is_active{name="complianceauditservice_auditcomplianceserviceprioritized_audit_task_execution_manager"} 1
685
-windows_exchange_workload_is_active{name="microsoft_exchange_servicehost_darruntime"} 1
686
-# HELP windows_exchange_workload_queued_tasks Number of workload management tasks that are currently queued up waiting to be processed
687
-# TYPE windows_exchange_workload_queued_tasks counter
688
-windows_exchange_workload_queued_tasks{name="complianceauditservice_auditcomplianceserviceprioritized_audit_task_execution_manager"} 0
689
-windows_exchange_workload_queued_tasks{name="microsoft_exchange_servicehost_darruntime"} 0
690
-# HELP windows_exchange_workload_yielded_tasks The total number of tasks that have been yielded by a workload
691
-# TYPE windows_exchange_workload_yielded_tasks counter
692
-windows_exchange_workload_yielded_tasks{name="complianceauditservice_auditcomplianceserviceprioritized_audit_task_execution_manager"} 0
693
-windows_exchange_workload_yielded_tasks{name="microsoft_exchange_servicehost_darruntime"} 0
694
-# HELP windows_hyperv_health_critical This counter represents the number of virtual machines with critical health
695
-# TYPE windows_hyperv_health_critical gauge
696
-windows_hyperv_health_critical 0
697
-# HELP windows_hyperv_health_ok This counter represents the number of virtual machines with ok health
698
-# TYPE windows_hyperv_health_ok gauge
699
-windows_hyperv_health_ok 1
700
-# HELP windows_hyperv_host_cpu_guest_run_time The time spent by the virtual processor in guest code
701
-# TYPE windows_hyperv_host_cpu_guest_run_time gauge
702
-windows_hyperv_host_cpu_guest_run_time{core="0"} 2.44871648e+09
703
-# HELP windows_hyperv_host_cpu_hypervisor_run_time The time spent by the virtual processor in hypervisor code
704
-# TYPE windows_hyperv_host_cpu_hypervisor_run_time gauge
705
-windows_hyperv_host_cpu_hypervisor_run_time{core="0"} 2.79010764e+08
706
-# HELP windows_hyperv_host_cpu_remote_run_time The time spent by the virtual processor running on a remote node
707
-# TYPE windows_hyperv_host_cpu_remote_run_time gauge
708
-windows_hyperv_host_cpu_remote_run_time{core="0"} 0
709
-# HELP windows_hyperv_host_cpu_total_run_time The time spent by the virtual processor in guest and hypervisor code
710
-# TYPE windows_hyperv_host_cpu_total_run_time gauge
711
-windows_hyperv_host_cpu_total_run_time{core="0"} 2.727727244e+09
712
-# HELP windows_hyperv_host_lp_guest_run_time_percent The percentage of time spent by the processor in guest code
713
-# TYPE windows_hyperv_host_lp_guest_run_time_percent gauge
714
-windows_hyperv_host_lp_guest_run_time_percent{core="0"} 2.476081579e+09
715
-# HELP windows_hyperv_host_lp_hypervisor_run_time_percent The percentage of time spent by the processor in hypervisor code
716
-# TYPE windows_hyperv_host_lp_hypervisor_run_time_percent gauge
717
-windows_hyperv_host_lp_hypervisor_run_time_percent{core="0"} 3.52733652e+08
718
-# HELP windows_hyperv_host_lp_total_run_time_percent The percentage of time spent by the processor in guest and hypervisor code
719
-# TYPE windows_hyperv_host_lp_total_run_time_percent gauge
720
-windows_hyperv_host_lp_total_run_time_percent{core="0"} 2.828815231e+09
721
-# HELP windows_hyperv_hypervisor_logical_processors The number of logical processors present in the system
722
-# TYPE windows_hyperv_hypervisor_logical_processors gauge
723
-windows_hyperv_hypervisor_logical_processors 16
724
-# HELP windows_hyperv_hypervisor_virtual_processors The number of virtual processors present in the system
725
-# TYPE windows_hyperv_hypervisor_virtual_processors gauge
726
-windows_hyperv_hypervisor_virtual_processors 24
727
-# HELP windows_hyperv_root_partition_1G_device_pages The number of 1G pages present in the device space of the partition
728
-# TYPE windows_hyperv_root_partition_1G_device_pages gauge
729
-windows_hyperv_root_partition_1G_device_pages 0
730
-# HELP windows_hyperv_root_partition_1G_gpa_pages The number of 1G pages present in the GPA space of the partition
731
-# TYPE windows_hyperv_root_partition_1G_gpa_pages gauge
732
-windows_hyperv_root_partition_1G_gpa_pages 6
733
-# HELP windows_hyperv_root_partition_2M_device_pages The number of 2M pages present in the device space of the partition
734
-# TYPE windows_hyperv_root_partition_2M_device_pages gauge
735
-windows_hyperv_root_partition_2M_device_pages 0
736
-# HELP windows_hyperv_root_partition_2M_gpa_pages The number of 2M pages present in the GPA space of the partition
737
-# TYPE windows_hyperv_root_partition_2M_gpa_pages gauge
738
-windows_hyperv_root_partition_2M_gpa_pages 5255
739
-# HELP windows_hyperv_root_partition_4K_device_pages The number of 4K pages present in the device space of the partition
740
-# TYPE windows_hyperv_root_partition_4K_device_pages gauge
741
-windows_hyperv_root_partition_4K_device_pages 0
742
-# HELP windows_hyperv_root_partition_4K_gpa_pages The number of 4K pages present in the GPA space of the partition
743
-# TYPE windows_hyperv_root_partition_4K_gpa_pages gauge
744
-windows_hyperv_root_partition_4K_gpa_pages 58880
745
-# HELP windows_hyperv_root_partition_address_spaces The number of address spaces in the virtual TLB of the partition
746
-# TYPE windows_hyperv_root_partition_address_spaces gauge
747
-windows_hyperv_root_partition_address_spaces 0
748
-# HELP windows_hyperv_root_partition_attached_devices The number of devices attached to the partition
749
-# TYPE windows_hyperv_root_partition_attached_devices gauge
750
-windows_hyperv_root_partition_attached_devices 1
751
-# HELP windows_hyperv_root_partition_deposited_pages The number of pages deposited into the partition
752
-# TYPE windows_hyperv_root_partition_deposited_pages gauge
753
-windows_hyperv_root_partition_deposited_pages 31732
754
-# HELP windows_hyperv_root_partition_device_dma_errors An indicator of illegal DMA requests generated by all devices assigned to the partition
755
-# TYPE windows_hyperv_root_partition_device_dma_errors gauge
756
-windows_hyperv_root_partition_device_dma_errors 0
757
-# HELP windows_hyperv_root_partition_device_interrupt_errors An indicator of illegal interrupt requests generated by all devices assigned to the partition
758
-# TYPE windows_hyperv_root_partition_device_interrupt_errors gauge
759
-windows_hyperv_root_partition_device_interrupt_errors 0
760
-# HELP windows_hyperv_root_partition_device_interrupt_throttle_events The number of times an interrupt from a device assigned to the partition was temporarily throttled because the device was generating too many interrupts
761
-# TYPE windows_hyperv_root_partition_device_interrupt_throttle_events gauge
762
-windows_hyperv_root_partition_device_interrupt_throttle_events 0
763
-# HELP windows_hyperv_root_partition_gpa_space_modifications The rate of modifications to the GPA space of the partition
764
-# TYPE windows_hyperv_root_partition_gpa_space_modifications counter
765
-windows_hyperv_root_partition_gpa_space_modifications 0
766
-# HELP windows_hyperv_root_partition_io_tlb_flush The rate of flushes of I/O TLBs of the partition
767
-# TYPE windows_hyperv_root_partition_io_tlb_flush counter
768
-windows_hyperv_root_partition_io_tlb_flush 23901
769
-# HELP windows_hyperv_root_partition_io_tlb_flush_cost The average time (in nanoseconds) spent processing an I/O TLB flush
770
-# TYPE windows_hyperv_root_partition_io_tlb_flush_cost gauge
771
-windows_hyperv_root_partition_io_tlb_flush_cost 312574
772
-# HELP windows_hyperv_root_partition_physical_pages_allocated The number of timer interrupts skipped for the partition
773
-# TYPE windows_hyperv_root_partition_physical_pages_allocated gauge
774
-windows_hyperv_root_partition_physical_pages_allocated 0
775
-# HELP windows_hyperv_root_partition_preferred_numa_node_index The number of pages present in the GPA space of the partition (zero for root partition)
776
-# TYPE windows_hyperv_root_partition_preferred_numa_node_index gauge
777
-windows_hyperv_root_partition_preferred_numa_node_index 0
778
-# HELP windows_hyperv_root_partition_recommended_virtual_tlb_size The recommended number of pages to be deposited for the virtual TLB
779
-# TYPE windows_hyperv_root_partition_recommended_virtual_tlb_size gauge
780
-windows_hyperv_root_partition_recommended_virtual_tlb_size 64
781
-# HELP windows_hyperv_root_partition_virtual_tlb_flush_entires The rate of flushes of the entire virtual TLB
782
-# TYPE windows_hyperv_root_partition_virtual_tlb_flush_entires counter
783
-windows_hyperv_root_partition_virtual_tlb_flush_entires 15234
784
-# HELP windows_hyperv_root_partition_virtual_tlb_pages The number of pages used by the virtual TLB of the partition
785
-# TYPE windows_hyperv_root_partition_virtual_tlb_pages gauge
786
-windows_hyperv_root_partition_virtual_tlb_pages 64
787
-# HELP windows_hyperv_vid_physical_pages_allocated The number of physical pages allocated
788
-# TYPE windows_hyperv_vid_physical_pages_allocated gauge
789
-windows_hyperv_vid_physical_pages_allocated{vm="Ubuntu 22.04 LTS"} 745472
790
-# HELP windows_hyperv_vid_preferred_numa_node_index The preferred NUMA node index associated with this partition
791
-# TYPE windows_hyperv_vid_preferred_numa_node_index gauge
792
-windows_hyperv_vid_preferred_numa_node_index{vm="Ubuntu 22.04 LTS"} 0
793
-# HELP windows_hyperv_vid_remote_physical_pages The number of physical pages not allocated from the preferred NUMA node
794
-# TYPE windows_hyperv_vid_remote_physical_pages gauge
795
-windows_hyperv_vid_remote_physical_pages{vm="Ubuntu 22.04 LTS"} 0
796
-# HELP windows_hyperv_vm_cpu_guest_run_time The time spent by the virtual processor in guest code
797
-# TYPE windows_hyperv_vm_cpu_guest_run_time gauge
798
-windows_hyperv_vm_cpu_guest_run_time{core="0",vm="Ubuntu 22.04 LTS"} 6.2534217e+07
799
-# HELP windows_hyperv_vm_cpu_hypervisor_run_time The time spent by the virtual processor in hypervisor code
800
-# TYPE windows_hyperv_vm_cpu_hypervisor_run_time gauge
801
-windows_hyperv_vm_cpu_hypervisor_run_time{core="0",vm="Ubuntu 22.04 LTS"} 4.457712e+06
802
-# HELP windows_hyperv_vm_cpu_remote_run_time The time spent by the virtual processor running on a remote node
803
-# TYPE windows_hyperv_vm_cpu_remote_run_time gauge
804
-windows_hyperv_vm_cpu_remote_run_time{core="0",vm="Ubuntu 22.04 LTS"} 0
805
-# HELP windows_hyperv_vm_cpu_total_run_time The time spent by the virtual processor in guest and hypervisor code
806
-# TYPE windows_hyperv_vm_cpu_total_run_time gauge
807
-windows_hyperv_vm_cpu_total_run_time{core="0",vm="Ubuntu 22.04 LTS"} 6.6991929e+07
808
-# HELP windows_hyperv_vm_device_bytes_read This counter represents the total number of bytes that have been read per second on this virtual device
809
-# TYPE windows_hyperv_vm_device_bytes_read counter
810
-windows_hyperv_vm_device_bytes_read{vm_device="--?-D:-Ana-VM-hyperv-Virtual Machines-3AA8D474-2365-4041-A7CB-2A78287D6FE0.vmgs"} 83456
811
-windows_hyperv_vm_device_bytes_read{vm_device="D:-Ana-VM-hyperv-vhd-Ubuntu 22.04 LTS_838D93A1-7D30-43CD-9F69-F336829C0934.avhdx"} 5.3118464e+08
812
-# HELP windows_hyperv_vm_device_bytes_written This counter represents the total number of bytes that have been written per second on this virtual device
813
-# TYPE windows_hyperv_vm_device_bytes_written counter
814
-windows_hyperv_vm_device_bytes_written{vm_device="--?-D:-Ana-VM-hyperv-Virtual Machines-3AA8D474-2365-4041-A7CB-2A78287D6FE0.vmgs"} 1.148928e+06
815
-windows_hyperv_vm_device_bytes_written{vm_device="D:-Ana-VM-hyperv-vhd-Ubuntu 22.04 LTS_838D93A1-7D30-43CD-9F69-F336829C0934.avhdx"} 4.25905152e+08
816
-# HELP windows_hyperv_vm_device_error_count This counter represents the total number of errors that have occurred on this virtual device
817
-# TYPE windows_hyperv_vm_device_error_count counter
818
-windows_hyperv_vm_device_error_count{vm_device="--?-D:-Ana-VM-hyperv-Virtual Machines-3AA8D474-2365-4041-A7CB-2A78287D6FE0.vmgs"} 0
819
-windows_hyperv_vm_device_error_count{vm_device="D:-Ana-VM-hyperv-vhd-Ubuntu 22.04 LTS_838D93A1-7D30-43CD-9F69-F336829C0934.avhdx"} 3
820
-# HELP windows_hyperv_vm_device_operations_read This counter represents the number of read operations that have occurred per second on this virtual device
821
-# TYPE windows_hyperv_vm_device_operations_read counter
822
-windows_hyperv_vm_device_operations_read{vm_device="--?-D:-Ana-VM-hyperv-Virtual Machines-3AA8D474-2365-4041-A7CB-2A78287D6FE0.vmgs"} 6
823
-windows_hyperv_vm_device_operations_read{vm_device="D:-Ana-VM-hyperv-vhd-Ubuntu 22.04 LTS_838D93A1-7D30-43CD-9F69-F336829C0934.avhdx"} 13196
824
-# HELP windows_hyperv_vm_device_operations_written This counter represents the number of write operations that have occurred per second on this virtual device
825
-# TYPE windows_hyperv_vm_device_operations_written counter
826
-windows_hyperv_vm_device_operations_written{vm_device="--?-D:-Ana-VM-hyperv-Virtual Machines-3AA8D474-2365-4041-A7CB-2A78287D6FE0.vmgs"} 34
827
-windows_hyperv_vm_device_operations_written{vm_device="D:-Ana-VM-hyperv-vhd-Ubuntu 22.04 LTS_838D93A1-7D30-43CD-9F69-F336829C0934.avhdx"} 3866
828
-# HELP windows_hyperv_vm_device_queue_length This counter represents the current queue length on this virtual device
829
-# TYPE windows_hyperv_vm_device_queue_length counter
830
-windows_hyperv_vm_device_queue_length{vm_device="--?-D:-Ana-VM-hyperv-Virtual Machines-3AA8D474-2365-4041-A7CB-2A78287D6FE0.vmgs"} 1.104182e+06
831
-windows_hyperv_vm_device_queue_length{vm_device="D:-Ana-VM-hyperv-vhd-Ubuntu 22.04 LTS_838D93A1-7D30-43CD-9F69-F336829C0934.avhdx"} 3.269422187e+09
832
-# HELP windows_hyperv_vm_interface_bytes_received This counter represents the total number of bytes received per second by the network adapter
833
-# TYPE windows_hyperv_vm_interface_bytes_received counter
834
-windows_hyperv_vm_interface_bytes_received{vm_interface="Default Switch_312FF9C7-1F07-4EBA-81FE-F5B4F445B810"} 473654
835
-windows_hyperv_vm_interface_bytes_received{vm_interface="Ubuntu 22.04 LTS_Adaptador de Rede_3AA8D474-2365-4041-A7CB-2A78287D6FE0--98F1DBEE-505C-4086-B80E-87A27FAECBD4"} 4.3509444e+07
836
-# HELP windows_hyperv_vm_interface_bytes_sent This counter represents the total number of bytes sent per second by the network adapter
837
-# TYPE windows_hyperv_vm_interface_bytes_sent counter
838
-windows_hyperv_vm_interface_bytes_sent{vm_interface="Default Switch_312FF9C7-1F07-4EBA-81FE-F5B4F445B810"} 4.3550457e+07
839
-windows_hyperv_vm_interface_bytes_sent{vm_interface="Ubuntu 22.04 LTS_Adaptador de Rede_3AA8D474-2365-4041-A7CB-2A78287D6FE0--98F1DBEE-505C-4086-B80E-87A27FAECBD4"} 473654
840
-# HELP windows_hyperv_vm_interface_packets_incoming_dropped This counter represents the total number of dropped packets per second in the incoming direction of the network adapter
841
-# TYPE windows_hyperv_vm_interface_packets_incoming_dropped counter
842
-windows_hyperv_vm_interface_packets_incoming_dropped{vm_interface="Default Switch_312FF9C7-1F07-4EBA-81FE-F5B4F445B810"} 0
843
-windows_hyperv_vm_interface_packets_incoming_dropped{vm_interface="Ubuntu 22.04 LTS_Adaptador de Rede_3AA8D474-2365-4041-A7CB-2A78287D6FE0--98F1DBEE-505C-4086-B80E-87A27FAECBD4"} 0
844
-# HELP windows_hyperv_vm_interface_packets_outgoing_dropped This counter represents the total number of dropped packets per second in the outgoing direction of the network adapter
845
-# TYPE windows_hyperv_vm_interface_packets_outgoing_dropped counter
846
-windows_hyperv_vm_interface_packets_outgoing_dropped{vm_interface="Default Switch_312FF9C7-1F07-4EBA-81FE-F5B4F445B810"} 284
847
-windows_hyperv_vm_interface_packets_outgoing_dropped{vm_interface="Ubuntu 22.04 LTS_Adaptador de Rede_3AA8D474-2365-4041-A7CB-2A78287D6FE0--98F1DBEE-505C-4086-B80E-87A27FAECBD4"} 0
848
-# HELP windows_hyperv_vm_interface_packets_received This counter represents the total number of packets received per second by the network adapter
849
-# TYPE windows_hyperv_vm_interface_packets_received counter
850
-windows_hyperv_vm_interface_packets_received{vm_interface="Default Switch_312FF9C7-1F07-4EBA-81FE-F5B4F445B810"} 6137
851
-windows_hyperv_vm_interface_packets_received{vm_interface="Ubuntu 22.04 LTS_Adaptador de Rede_3AA8D474-2365-4041-A7CB-2A78287D6FE0--98F1DBEE-505C-4086-B80E-87A27FAECBD4"} 8621
852
-# HELP windows_hyperv_vm_interface_packets_sent This counter represents the total number of packets sent per second by the network adapter
853
-# TYPE windows_hyperv_vm_interface_packets_sent counter
854
-windows_hyperv_vm_interface_packets_sent{vm_interface="Default Switch_312FF9C7-1F07-4EBA-81FE-F5B4F445B810"} 8905
855
-windows_hyperv_vm_interface_packets_sent{vm_interface="Ubuntu 22.04 LTS_Adaptador de Rede_3AA8D474-2365-4041-A7CB-2A78287D6FE0--98F1DBEE-505C-4086-B80E-87A27FAECBD4"} 6137
856
-# HELP windows_hyperv_vm_memory_add_operations_total This counter represents the number of operations adding memory to the VM.
857
-# TYPE windows_hyperv_vm_memory_add_operations_total counter
858
-windows_hyperv_vm_memory_add_operations_total{vm="Ubuntu 22.04 LTS"} 3
859
-# HELP windows_hyperv_vm_memory_added_total This counter represents memory in MB added to the VM
860
-# TYPE windows_hyperv_vm_memory_added_total counter
861
-windows_hyperv_vm_memory_added_total{vm="Ubuntu 22.04 LTS"} 856
862
-# HELP windows_hyperv_vm_memory_physical This gauge represents the current amount of memory in MB assigned to the VM.
863
-# TYPE windows_hyperv_vm_memory_physical gauge
864
-windows_hyperv_vm_memory_physical{vm="Ubuntu 22.04 LTS"} 2628
865
-# HELP windows_hyperv_vm_memory_physical_guest_visible 'This gauge represents the amount of memory in MB visible to the VM guest.'
866
-# TYPE windows_hyperv_vm_memory_physical_guest_visible gauge
867
-windows_hyperv_vm_memory_physical_guest_visible{vm="Ubuntu 22.04 LTS"} 2904
868
-# HELP windows_hyperv_vm_memory_pressure_average This gauge represents the average pressure in the VM.
869
-# TYPE windows_hyperv_vm_memory_pressure_average gauge
870
-windows_hyperv_vm_memory_pressure_average{vm="Ubuntu 22.04 LTS"} 83
871
-# HELP windows_hyperv_vm_memory_pressure_current This gauge represents the current pressure in the VM.
872
-# TYPE windows_hyperv_vm_memory_pressure_current gauge
873
-windows_hyperv_vm_memory_pressure_current{vm="Ubuntu 22.04 LTS"} 83
874
-# HELP windows_hyperv_vm_memory_pressure_maximum This gauge represents the maximum pressure band in the VM.
875
-# TYPE windows_hyperv_vm_memory_pressure_maximum gauge
876
-windows_hyperv_vm_memory_pressure_maximum{vm="Ubuntu 22.04 LTS"} 85
877
-# HELP windows_hyperv_vm_memory_pressure_minimum This gauge represents the minimum pressure band in the VM.
878
-# TYPE windows_hyperv_vm_memory_pressure_minimum gauge
879
-windows_hyperv_vm_memory_pressure_minimum{vm="Ubuntu 22.04 LTS"} 81
880
-# HELP windows_hyperv_vm_memory_remove_operations_total This counter represents the number of operations removing memory from the VM.
881
-# TYPE windows_hyperv_vm_memory_remove_operations_total counter
882
-windows_hyperv_vm_memory_remove_operations_total{vm="Ubuntu 22.04 LTS"} 1
883
-# HELP windows_hyperv_vm_memory_removed_total This counter represents memory in MB removed from the VM
884
-# TYPE windows_hyperv_vm_memory_removed_total counter
885
-windows_hyperv_vm_memory_removed_total{vm="Ubuntu 22.04 LTS"} 276
886
-# HELP windows_hyperv_vswitch_broadcast_packets_received_total This represents the total number of broadcast packets received per second by the virtual switch
887
-# TYPE windows_hyperv_vswitch_broadcast_packets_received_total counter
888
-windows_hyperv_vswitch_broadcast_packets_received_total{vswitch="Default Switch"} 51
889
-# HELP windows_hyperv_vswitch_broadcast_packets_sent_total This represents the total number of broadcast packets sent per second by the virtual switch
890
-# TYPE windows_hyperv_vswitch_broadcast_packets_sent_total counter
891
-windows_hyperv_vswitch_broadcast_packets_sent_total{vswitch="Default Switch"} 18
892
-# HELP windows_hyperv_vswitch_bytes_received_total This represents the total number of bytes received per second by the virtual switch
893
-# TYPE windows_hyperv_vswitch_bytes_received_total counter
894
-windows_hyperv_vswitch_bytes_received_total{vswitch="Default Switch"} 4.4024111e+07
895
-# HELP windows_hyperv_vswitch_bytes_sent_total This represents the total number of bytes sent per second by the virtual switch
896
-# TYPE windows_hyperv_vswitch_bytes_sent_total counter
897
-windows_hyperv_vswitch_bytes_sent_total{vswitch="Default Switch"} 4.3983098e+07
898
-# HELP windows_hyperv_vswitch_bytes_total This represents the total number of bytes per second traversing the virtual switch
899
-# TYPE windows_hyperv_vswitch_bytes_total counter
900
-windows_hyperv_vswitch_bytes_total{vswitch="Default Switch"} 8.8007209e+07
901
-# HELP windows_hyperv_vswitch_directed_packets_received_total This represents the total number of directed packets received per second by the virtual switch
902
-# TYPE windows_hyperv_vswitch_directed_packets_received_total counter
903
-windows_hyperv_vswitch_directed_packets_received_total{vswitch="Default Switch"} 14603
904
-# HELP windows_hyperv_vswitch_directed_packets_send_total This represents the total number of directed packets sent per second by the virtual switch
905
-# TYPE windows_hyperv_vswitch_directed_packets_send_total counter
906
-windows_hyperv_vswitch_directed_packets_send_total{vswitch="Default Switch"} 14603
907
-# HELP windows_hyperv_vswitch_dropped_packets_incoming_total This represents the total number of packet dropped per second by the virtual switch in the incoming direction
908
-# TYPE windows_hyperv_vswitch_dropped_packets_incoming_total counter
909
-windows_hyperv_vswitch_dropped_packets_incoming_total{vswitch="Default Switch"} 284
910
-# HELP windows_hyperv_vswitch_dropped_packets_outcoming_total This represents the total number of packet dropped per second by the virtual switch in the outgoing direction
911
-# TYPE windows_hyperv_vswitch_dropped_packets_outcoming_total counter
912
-windows_hyperv_vswitch_dropped_packets_outcoming_total{vswitch="Default Switch"} 0
913
-# HELP windows_hyperv_vswitch_extensions_dropped_packets_incoming_total This represents the total number of packet dropped per second by the virtual switch extensions in the incoming direction
914
-# TYPE windows_hyperv_vswitch_extensions_dropped_packets_incoming_total counter
915
-windows_hyperv_vswitch_extensions_dropped_packets_incoming_total{vswitch="Default Switch"} 0
916
-# HELP windows_hyperv_vswitch_extensions_dropped_packets_outcoming_total This represents the total number of packet dropped per second by the virtual switch extensions in the outgoing direction
917
-# TYPE windows_hyperv_vswitch_extensions_dropped_packets_outcoming_total counter
918
-windows_hyperv_vswitch_extensions_dropped_packets_outcoming_total{vswitch="Default Switch"} 0
919
-# HELP windows_hyperv_vswitch_learned_mac_addresses_total This counter represents the total number of learned MAC addresses of the virtual switch
920
-# TYPE windows_hyperv_vswitch_learned_mac_addresses_total counter
921
-windows_hyperv_vswitch_learned_mac_addresses_total{vswitch="Default Switch"} 2
922
-# HELP windows_hyperv_vswitch_multicast_packets_received_total This represents the total number of multicast packets received per second by the virtual switch
923
-# TYPE windows_hyperv_vswitch_multicast_packets_received_total counter
924
-windows_hyperv_vswitch_multicast_packets_received_total{vswitch="Default Switch"} 388
925
-# HELP windows_hyperv_vswitch_multicast_packets_sent_total This represents the total number of multicast packets sent per second by the virtual switch
926
-# TYPE windows_hyperv_vswitch_multicast_packets_sent_total counter
927
-windows_hyperv_vswitch_multicast_packets_sent_total{vswitch="Default Switch"} 137
928
-# HELP windows_hyperv_vswitch_number_of_send_channel_moves_total This represents the total number of send channel moves per second on this virtual switch
929
-# TYPE windows_hyperv_vswitch_number_of_send_channel_moves_total counter
930
-windows_hyperv_vswitch_number_of_send_channel_moves_total{vswitch="Default Switch"} 0
931
-# HELP windows_hyperv_vswitch_number_of_vmq_moves_total This represents the total number of VMQ moves per second on this virtual switch
932
-# TYPE windows_hyperv_vswitch_number_of_vmq_moves_total counter
933
-windows_hyperv_vswitch_number_of_vmq_moves_total{vswitch="Default Switch"} 0
934
-# HELP windows_hyperv_vswitch_packets_flooded_total This counter represents the total number of packets flooded by the virtual switch
935
-# TYPE windows_hyperv_vswitch_packets_flooded_total counter
936
-windows_hyperv_vswitch_packets_flooded_total{vswitch="Default Switch"} 0
937
-# HELP windows_hyperv_vswitch_packets_received_total This represents the total number of packets received per second by the virtual switch
938
-# TYPE windows_hyperv_vswitch_packets_received_total counter
939
-windows_hyperv_vswitch_packets_received_total{vswitch="Default Switch"} 15042
940
-# HELP windows_hyperv_vswitch_packets_total This represents the total number of packets per second traversing the virtual switch
941
-# TYPE windows_hyperv_vswitch_packets_total counter
942
-windows_hyperv_vswitch_packets_total{vswitch="Default Switch"} 29800
943
-# HELP windows_hyperv_vswitch_purged_mac_addresses_total This counter represents the total number of purged MAC addresses of the virtual switch
944
-# TYPE windows_hyperv_vswitch_purged_mac_addresses_total counter
945
-windows_hyperv_vswitch_purged_mac_addresses_total{vswitch="Default Switch"} 0
946
-# HELP windows_iis_anonymous_users_total Total number of users who established an anonymous connection with the Web service (WebService.TotalAnonymousUsers)
947
-# TYPE windows_iis_anonymous_users_total counter
948
-windows_iis_anonymous_users_total{site="Default Web Site"} 3
949
-# HELP windows_iis_blocked_async_io_requests_total Total requests temporarily blocked due to bandwidth throttling settings (WebService.TotalBlockedAsyncIORequests)
950
-# TYPE windows_iis_blocked_async_io_requests_total counter
951
-windows_iis_blocked_async_io_requests_total{site="Default Web Site"} 0
952
-# HELP windows_iis_cgi_requests_total Total CGI requests is the total number of CGI requests (WebService.TotalCGIRequests)
953
-# TYPE windows_iis_cgi_requests_total counter
954
-windows_iis_cgi_requests_total{site="Default Web Site"} 0
955
-# HELP windows_iis_connection_attempts_all_instances_total Number of connections that have been attempted using the Web service (WebService.TotalConnectionAttemptsAllInstances)
956
-# TYPE windows_iis_connection_attempts_all_instances_total counter
957
-windows_iis_connection_attempts_all_instances_total{site="Default Web Site"} 1
958
-# HELP windows_iis_current_anonymous_users Number of users who currently have an anonymous connection using the Web service (WebService.CurrentAnonymousUsers)
959
-# TYPE windows_iis_current_anonymous_users gauge
960
-windows_iis_current_anonymous_users{site="Default Web Site"} 0
961
-# HELP windows_iis_current_application_pool_start_time The unix timestamp for the application pool start time (CurrentApplicationPoolUptime)
962
-# TYPE windows_iis_current_application_pool_start_time gauge
963
-windows_iis_current_application_pool_start_time{app="DefaultAppPool"} 1.6672399883854828e+09
964
-# HELP windows_iis_current_application_pool_state The current status of the application pool (1 - Uninitialized, 2 - Initialized, 3 - Running, 4 - Disabling, 5 - Disabled, 6 - Shutdown Pending, 7 - Delete Pending) (CurrentApplicationPoolState)
965
-# TYPE windows_iis_current_application_pool_state gauge
966
-windows_iis_current_application_pool_state{app="DefaultAppPool",state="Delete Pending"} 0
967
-windows_iis_current_application_pool_state{app="DefaultAppPool",state="Disabled"} 0
968
-windows_iis_current_application_pool_state{app="DefaultAppPool",state="Disabling"} 0
969
-windows_iis_current_application_pool_state{app="DefaultAppPool",state="Initialized"} 0
970
-windows_iis_current_application_pool_state{app="DefaultAppPool",state="Running"} 1
971
-windows_iis_current_application_pool_state{app="DefaultAppPool",state="Shutdown Pending"} 0
972
-windows_iis_current_application_pool_state{app="DefaultAppPool",state="Uninitialized"} 0
973
-# HELP windows_iis_current_blocked_async_io_requests Current requests temporarily blocked due to bandwidth throttling settings (WebService.CurrentBlockedAsyncIORequests)
974
-# TYPE windows_iis_current_blocked_async_io_requests gauge
975
-windows_iis_current_blocked_async_io_requests{site="Default Web Site"} 0
976
-# HELP windows_iis_current_cgi_requests Current number of CGI requests being simultaneously processed by the Web service (WebService.CurrentCGIRequests)
977
-# TYPE windows_iis_current_cgi_requests gauge
978
-windows_iis_current_cgi_requests{site="Default Web Site"} 0
979
-# HELP windows_iis_current_connections Current number of connections established with the Web service (WebService.CurrentConnections)
980
-# TYPE windows_iis_current_connections gauge
981
-windows_iis_current_connections{site="Default Web Site"} 0
982
-# HELP windows_iis_current_isapi_extension_requests Current number of ISAPI requests being simultaneously processed by the Web service (WebService.CurrentISAPIExtensionRequests)
983
-# TYPE windows_iis_current_isapi_extension_requests gauge
984
-windows_iis_current_isapi_extension_requests{site="Default Web Site"} 0
985
-# HELP windows_iis_current_non_anonymous_users Number of users who currently have a non-anonymous connection using the Web service (WebService.CurrentNonAnonymousUsers)
986
-# TYPE windows_iis_current_non_anonymous_users gauge
987
-windows_iis_current_non_anonymous_users{site="Default Web Site"} 0
988
-# HELP windows_iis_current_worker_processes The current number of worker processes that are running in the application pool (CurrentWorkerProcesses)
989
-# TYPE windows_iis_current_worker_processes gauge
990
-windows_iis_current_worker_processes{app="DefaultAppPool"} 1
991
-# HELP windows_iis_files_received_total Number of files received by the Web service (WebService.TotalFilesReceived)
992
-# TYPE windows_iis_files_received_total counter
993
-windows_iis_files_received_total{site="Default Web Site"} 0
994
-# HELP windows_iis_files_sent_total Number of files sent by the Web service (WebService.TotalFilesSent)
995
-# TYPE windows_iis_files_sent_total counter
996
-windows_iis_files_sent_total{site="Default Web Site"} 2
997
-# HELP windows_iis_ipapi_extension_requests_total ISAPI Extension Requests received (WebService.TotalISAPIExtensionRequests)
998
-# TYPE windows_iis_ipapi_extension_requests_total counter
999
-windows_iis_ipapi_extension_requests_total{site="Default Web Site"} 0
1000
-# HELP windows_iis_locked_errors_total Number of requests that couldn't be satisfied by the server because the requested resource was locked (WebService.TotalLockedErrors)
1001
-# TYPE windows_iis_locked_errors_total counter
1002
-windows_iis_locked_errors_total{site="Default Web Site"} 0
1003
-# HELP windows_iis_logon_attempts_total Number of logons attempts to the Web Service (WebService.TotalLogonAttempts)
1004
-# TYPE windows_iis_logon_attempts_total counter
1005
-windows_iis_logon_attempts_total{site="Default Web Site"} 4
1006
-# HELP windows_iis_maximum_worker_processes The maximum number of worker processes that have been created for the application pool since Windows Process Activation Service (WAS) started (MaximumWorkerProcesses)
1007
-# TYPE windows_iis_maximum_worker_processes gauge
1008
-windows_iis_maximum_worker_processes{app="DefaultAppPool"} 1
1009
-# HELP windows_iis_non_anonymous_users_total Number of users who established a non-anonymous connection with the Web service (WebService.TotalNonAnonymousUsers)
1010
-# TYPE windows_iis_non_anonymous_users_total counter
1011
-windows_iis_non_anonymous_users_total{site="Default Web Site"} 0
1012
-# HELP windows_iis_not_found_errors_total Number of requests that couldn't be satisfied by the server because the requested document could not be found (WebService.TotalNotFoundErrors)
1013
-# TYPE windows_iis_not_found_errors_total counter
1014
-windows_iis_not_found_errors_total{site="Default Web Site"} 1
1015
-# HELP windows_iis_received_bytes_total Number of data bytes that have been received by the Web service (WebService.TotalBytesReceived)
1016
-# TYPE windows_iis_received_bytes_total counter
1017
-windows_iis_received_bytes_total{site="Default Web Site"} 10289
1018
-# HELP windows_iis_recent_worker_process_failures The number of times that worker processes for the application pool failed during the rapid-fail protection interval (RecentWorkerProcessFailures)
1019
-# TYPE windows_iis_recent_worker_process_failures gauge
1020
-windows_iis_recent_worker_process_failures{app="DefaultAppPool"} 0
1021
-# HELP windows_iis_rejected_async_io_requests_total Requests rejected due to bandwidth throttling settings (WebService.TotalRejectedAsyncIORequests)
1022
-# TYPE windows_iis_rejected_async_io_requests_total counter
1023
-windows_iis_rejected_async_io_requests_total{site="Default Web Site"} 0
1024
-# HELP windows_iis_requests_total Number of HTTP requests (WebService.TotalRequests)
1025
-# TYPE windows_iis_requests_total counter
1026
-windows_iis_requests_total{method="COPY",site="Default Web Site"} 0
1027
-windows_iis_requests_total{method="DELETE",site="Default Web Site"} 0
1028
-windows_iis_requests_total{method="GET",site="Default Web Site"} 3
1029
-windows_iis_requests_total{method="HEAD",site="Default Web Site"} 0
1030
-windows_iis_requests_total{method="LOCK",site="Default Web Site"} 0
1031
-windows_iis_requests_total{method="MKCOL",site="Default Web Site"} 0
1032
-windows_iis_requests_total{method="MOVE",site="Default Web Site"} 0
1033
-windows_iis_requests_total{method="OPTIONS",site="Default Web Site"} 0
1034
-windows_iis_requests_total{method="POST",site="Default Web Site"} 0
1035
-windows_iis_requests_total{method="PROPFIND",site="Default Web Site"} 0
1036
-windows_iis_requests_total{method="PROPPATCH",site="Default Web Site"} 0
1037
-windows_iis_requests_total{method="PUT",site="Default Web Site"} 0
1038
-windows_iis_requests_total{method="SEARCH",site="Default Web Site"} 0
1039
-windows_iis_requests_total{method="TRACE",site="Default Web Site"} 0
1040
-windows_iis_requests_total{method="UNLOCK",site="Default Web Site"} 0
1041
-windows_iis_requests_total{method="other",site="Default Web Site"} 0
1042
-# HELP windows_iis_sent_bytes_total Number of data bytes that have been sent by the Web service (WebService.TotalBytesSent)
1043
-# TYPE windows_iis_sent_bytes_total counter
1044
-windows_iis_sent_bytes_total{site="Default Web Site"} 105882
1045
-# HELP windows_iis_server_cache_active_flushed_entries Number of file handles cached that will be closed when all current transfers complete.
1046
-# TYPE windows_iis_server_cache_active_flushed_entries gauge
1047
-windows_iis_server_cache_active_flushed_entries 0
1048
-# HELP windows_iis_server_file_cache_flushes_total Total number of file cache flushes (since service startup)
1049
-# TYPE windows_iis_server_file_cache_flushes_total counter
1050
-windows_iis_server_file_cache_flushes_total 7
1051
-# HELP windows_iis_server_file_cache_hits_total Total number of successful lookups in the user-mode file cache
1052
-# TYPE windows_iis_server_file_cache_hits_total counter
1053
-windows_iis_server_file_cache_hits_total 1
1054
-# HELP windows_iis_server_file_cache_items Current number of files whose contents are present in cache
1055
-# TYPE windows_iis_server_file_cache_items gauge
1056
-windows_iis_server_file_cache_items 1
1057
-# HELP windows_iis_server_file_cache_items_flushed_total Total number of file handles that have been removed from the cache (since service startup)
1058
-# TYPE windows_iis_server_file_cache_items_flushed_total counter
1059
-windows_iis_server_file_cache_items_flushed_total 0
1060
-# HELP windows_iis_server_file_cache_items_total Total number of files whose contents were ever added to the cache (since service startup)
1061
-# TYPE windows_iis_server_file_cache_items_total counter
1062
-windows_iis_server_file_cache_items_total 1
1063
-# HELP windows_iis_server_file_cache_max_memory_bytes Maximum number of bytes used by file cache
1064
-# TYPE windows_iis_server_file_cache_max_memory_bytes counter
1065
-windows_iis_server_file_cache_max_memory_bytes 703
1066
-# HELP windows_iis_server_file_cache_memory_bytes Current number of bytes used by file cache
1067
-# TYPE windows_iis_server_file_cache_memory_bytes gauge
1068
-windows_iis_server_file_cache_memory_bytes 703
1069
-# HELP windows_iis_server_file_cache_queries_total Total number of file cache queries (hits + misses)
1070
-# TYPE windows_iis_server_file_cache_queries_total counter
1071
-windows_iis_server_file_cache_queries_total 9
1072
-# HELP windows_iis_server_metadata_cache_flushes_total Total number of metadata cache flushes (since service startup)
1073
-# TYPE windows_iis_server_metadata_cache_flushes_total counter
1074
-windows_iis_server_metadata_cache_flushes_total 0
1075
-# HELP windows_iis_server_metadata_cache_hits_total Total number of successful lookups in the metadata cache (since service startup)
1076
-# TYPE windows_iis_server_metadata_cache_hits_total counter
1077
-windows_iis_server_metadata_cache_hits_total 3
1078
-# HELP windows_iis_server_metadata_cache_items Number of metadata information blocks currently present in cache
1079
-# TYPE windows_iis_server_metadata_cache_items gauge
1080
-windows_iis_server_metadata_cache_items 1
1081
-# HELP windows_iis_server_metadata_cache_items_cached_total Total number of metadata information blocks added to the cache (since service startup)
1082
-# TYPE windows_iis_server_metadata_cache_items_cached_total counter
1083
-windows_iis_server_metadata_cache_items_cached_total 1
1084
-# HELP windows_iis_server_metadata_cache_items_flushed_total Total number of metadata information blocks removed from the cache (since service startup)
1085
-# TYPE windows_iis_server_metadata_cache_items_flushed_total counter
1086
-windows_iis_server_metadata_cache_items_flushed_total 0
1087
-# HELP windows_iis_server_metadata_cache_queries_total Total metadata cache queries (hits + misses)
1088
-# TYPE windows_iis_server_metadata_cache_queries_total counter
1089
-windows_iis_server_metadata_cache_queries_total 4
1090
-# HELP windows_iis_server_output_cache_active_flushed_items
1091
-# TYPE windows_iis_server_output_cache_active_flushed_items counter
1092
-windows_iis_server_output_cache_active_flushed_items 0
1093
-# HELP windows_iis_server_output_cache_flushes_total Total number of flushes of output cache (since service startup)
1094
-# TYPE windows_iis_server_output_cache_flushes_total counter
1095
-windows_iis_server_output_cache_flushes_total 0
1096
-# HELP windows_iis_server_output_cache_hits_total Total number of successful lookups in output cache (since service startup)
1097
-# TYPE windows_iis_server_output_cache_hits_total counter
1098
-windows_iis_server_output_cache_hits_total 0
1099
-# HELP windows_iis_server_output_cache_items Number of items current present in output cache
1100
-# TYPE windows_iis_server_output_cache_items counter
1101
-windows_iis_server_output_cache_items 0
1102
-# HELP windows_iis_server_output_cache_items_flushed_total Total number of items flushed from output cache (since service startup)
1103
-# TYPE windows_iis_server_output_cache_items_flushed_total counter
1104
-windows_iis_server_output_cache_items_flushed_total 0
1105
-# HELP windows_iis_server_output_cache_memory_bytes Current number of bytes used by output cache
1106
-# TYPE windows_iis_server_output_cache_memory_bytes counter
1107
-windows_iis_server_output_cache_memory_bytes 0
1108
-# HELP windows_iis_server_output_cache_queries_total Total output cache queries (hits + misses)
1109
-# TYPE windows_iis_server_output_cache_queries_total counter
1110
-windows_iis_server_output_cache_queries_total 4
1111
-# HELP windows_iis_server_uri_cache_flushes_total Total number of URI cache flushes (since service startup)
1112
-# TYPE windows_iis_server_uri_cache_flushes_total counter
1113
-windows_iis_server_uri_cache_flushes_total{mode="kernel"} 0
1114
-windows_iis_server_uri_cache_flushes_total{mode="user"} 0
1115
-# HELP windows_iis_server_uri_cache_hits_total Total number of successful lookups in the URI cache (since service startup)
1116
-# TYPE windows_iis_server_uri_cache_hits_total counter
1117
-windows_iis_server_uri_cache_hits_total{mode="kernel"} 0
1118
-windows_iis_server_uri_cache_hits_total{mode="user"} 0
1119
-# HELP windows_iis_server_uri_cache_items Number of URI information blocks currently in the cache
1120
-# TYPE windows_iis_server_uri_cache_items gauge
1121
-windows_iis_server_uri_cache_items{mode="kernel"} 0
1122
-windows_iis_server_uri_cache_items{mode="user"} 0
1123
-# HELP windows_iis_server_uri_cache_items_flushed_total The number of URI information blocks that have been removed from the cache (since service startup)
1124
-# TYPE windows_iis_server_uri_cache_items_flushed_total counter
1125
-windows_iis_server_uri_cache_items_flushed_total{mode="kernel"} 0
1126
-windows_iis_server_uri_cache_items_flushed_total{mode="user"} 0
1127
-# HELP windows_iis_server_uri_cache_items_total Total number of URI information blocks added to the cache (since service startup)
1128
-# TYPE windows_iis_server_uri_cache_items_total counter
1129
-windows_iis_server_uri_cache_items_total{mode="kernel"} 0
1130
-windows_iis_server_uri_cache_items_total{mode="user"} 0
1131
-# HELP windows_iis_server_uri_cache_queries_total Total number of uri cache queries (hits + misses)
1132
-# TYPE windows_iis_server_uri_cache_queries_total counter
1133
-windows_iis_server_uri_cache_queries_total{mode="kernel"} 47
1134
-windows_iis_server_uri_cache_queries_total{mode="user"} 4
1135
-# HELP windows_iis_service_uptime Number of seconds the WebService is up (WebService.ServiceUptime)
1136
-# TYPE windows_iis_service_uptime gauge
1137
-windows_iis_service_uptime{site="Default Web Site"} 258633
1138
-# HELP windows_iis_time_since_last_worker_process_failure The length of time, in seconds, since the last worker process failure occurred for the application pool (TimeSinceLastWorkerProcessFailure)
1139
-# TYPE windows_iis_time_since_last_worker_process_failure gauge
1140
-windows_iis_time_since_last_worker_process_failure{app="DefaultAppPool"} 1.6672399883854828e+09
1141
-# HELP windows_iis_total_application_pool_recycles The number of times that the application pool has been recycled since Windows Process Activation Service (WAS) started (TotalApplicationPoolRecycles)
1142
-# TYPE windows_iis_total_application_pool_recycles counter
1143
-windows_iis_total_application_pool_recycles{app="DefaultAppPool"} 0
1144
-# HELP windows_iis_total_application_pool_start_time The unix timestamp for the application pool of when the Windows Process Activation Service (WAS) started (TotalApplicationPoolUptime)
1145
-# TYPE windows_iis_total_application_pool_start_time counter
1146
-windows_iis_total_application_pool_start_time{app="DefaultAppPool"} 1.6672399883854828e+09
1147
-# HELP windows_iis_total_worker_process_failures The number of times that worker processes have crashed since the application pool was started (TotalWorkerProcessFailures)
1148
-# TYPE windows_iis_total_worker_process_failures counter
1149
-windows_iis_total_worker_process_failures{app="DefaultAppPool"} 0
1150
-# HELP windows_iis_total_worker_process_ping_failures The number of times that Windows Process Activation Service (WAS) did not receive a response to ping messages sent to a worker process (TotalWorkerProcessPingFailures)
1151
-# TYPE windows_iis_total_worker_process_ping_failures counter
1152
-windows_iis_total_worker_process_ping_failures{app="DefaultAppPool"} 0
1153
-# HELP windows_iis_total_worker_process_shutdown_failures The number of times that Windows Process Activation Service (WAS) failed to shut down a worker process (TotalWorkerProcessShutdownFailures)
1154
-# TYPE windows_iis_total_worker_process_shutdown_failures counter
1155
-windows_iis_total_worker_process_shutdown_failures{app="DefaultAppPool"} 0
1156
-# HELP windows_iis_total_worker_process_startup_failures The number of times that Windows Process Activation Service (WAS) failed to start a worker process (TotalWorkerProcessStartupFailures)
1157
-# TYPE windows_iis_total_worker_process_startup_failures counter
1158
-windows_iis_total_worker_process_startup_failures{app="DefaultAppPool"} 0
1159
-# HELP windows_iis_total_worker_processes_created The number of worker processes created for the application pool since Windows Process Activation Service (WAS) started (TotalWorkerProcessesCreated)
1160
-# TYPE windows_iis_total_worker_processes_created counter
1161
-windows_iis_total_worker_processes_created{app="DefaultAppPool"} 1
1162
-# HELP windows_iis_worker_cache_active_flushed_entries Number of file handles cached in user-mode that will be closed when all current transfers complete.
1163
-# TYPE windows_iis_worker_cache_active_flushed_entries gauge
1164
-windows_iis_worker_cache_active_flushed_entries{app="DefaultAppPool",pid="880"} 0
1165
-# HELP windows_iis_worker_current_requests Current number of requests being processed by the worker process
1166
-# TYPE windows_iis_worker_current_requests counter
1167
-windows_iis_worker_current_requests{app="DefaultAppPool",pid="880"} 0
1168
-# HELP windows_iis_worker_current_websocket_requests
1169
-# TYPE windows_iis_worker_current_websocket_requests counter
1170
-windows_iis_worker_current_websocket_requests{app="DefaultAppPool",pid="880"} 0
1171
-# HELP windows_iis_worker_file_cache_flushes_total Total number of files removed from the user-mode cache
1172
-# TYPE windows_iis_worker_file_cache_flushes_total counter
1173
-windows_iis_worker_file_cache_flushes_total{app="DefaultAppPool",pid="880"} 7
1174
-# HELP windows_iis_worker_file_cache_hits_total Total number of successful lookups in the user-mode file cache
1175
-# TYPE windows_iis_worker_file_cache_hits_total counter
1176
-windows_iis_worker_file_cache_hits_total{app="DefaultAppPool",pid="880"} 1
1177
-# HELP windows_iis_worker_file_cache_items Current number of files whose contents are present in user-mode cache
1178
-# TYPE windows_iis_worker_file_cache_items gauge
1179
-windows_iis_worker_file_cache_items{app="DefaultAppPool",pid="880"} 1
1180
-# HELP windows_iis_worker_file_cache_items_flushed_total Total number of file handles that have been removed from the user-mode cache (since service startup)
1181
-# TYPE windows_iis_worker_file_cache_items_flushed_total counter
1182
-windows_iis_worker_file_cache_items_flushed_total{app="DefaultAppPool",pid="880"} 0
1183
-# HELP windows_iis_worker_file_cache_items_total Total number of files whose contents were ever added to the user-mode cache (since service startup)
1184
-# TYPE windows_iis_worker_file_cache_items_total counter
1185
-windows_iis_worker_file_cache_items_total{app="DefaultAppPool",pid="880"} 1
1186
-# HELP windows_iis_worker_file_cache_max_memory_bytes Maximum number of bytes used by user-mode file cache
1187
-# TYPE windows_iis_worker_file_cache_max_memory_bytes counter
1188
-windows_iis_worker_file_cache_max_memory_bytes{app="DefaultAppPool",pid="880"} 703
1189
-# HELP windows_iis_worker_file_cache_memory_bytes Current number of bytes used by user-mode file cache
1190
-# TYPE windows_iis_worker_file_cache_memory_bytes gauge
1191
-windows_iis_worker_file_cache_memory_bytes{app="DefaultAppPool",pid="880"} 703
1192
-# HELP windows_iis_worker_file_cache_queries_total Total file cache queries (hits + misses)
1193
-# TYPE windows_iis_worker_file_cache_queries_total counter
1194
-windows_iis_worker_file_cache_queries_total{app="DefaultAppPool",pid="880"} 9
1195
-# HELP windows_iis_worker_max_threads Maximum number of threads to which the thread pool can grow as needed
1196
-# TYPE windows_iis_worker_max_threads counter
1197
-windows_iis_worker_max_threads{app="DefaultAppPool",pid="880"} 256
1198
-# HELP windows_iis_worker_metadata_cache_flushes_total Total number of user-mode metadata cache flushes (since service startup)
1199
-# TYPE windows_iis_worker_metadata_cache_flushes_total counter
1200
-windows_iis_worker_metadata_cache_flushes_total{app="DefaultAppPool",pid="880"} 0
1201
-# HELP windows_iis_worker_metadata_cache_hits_total Total number of successful lookups in the user-mode metadata cache (since service startup)
1202
-# TYPE windows_iis_worker_metadata_cache_hits_total counter
1203
-windows_iis_worker_metadata_cache_hits_total{app="DefaultAppPool",pid="880"} 3
1204
-# HELP windows_iis_worker_metadata_cache_items Number of metadata information blocks currently present in user-mode cache
1205
-# TYPE windows_iis_worker_metadata_cache_items gauge
1206
-windows_iis_worker_metadata_cache_items{app="DefaultAppPool",pid="880"} 1
1207
-# HELP windows_iis_worker_metadata_cache_items_cached_total Total number of metadata information blocks added to the user-mode cache (since service startup)
1208
-# TYPE windows_iis_worker_metadata_cache_items_cached_total counter
1209
-windows_iis_worker_metadata_cache_items_cached_total{app="DefaultAppPool",pid="880"} 1
1210
-# HELP windows_iis_worker_metadata_cache_items_flushed_total Total number of metadata information blocks removed from the user-mode cache (since service startup)
1211
-# TYPE windows_iis_worker_metadata_cache_items_flushed_total counter
1212
-windows_iis_worker_metadata_cache_items_flushed_total{app="DefaultAppPool",pid="880"} 0
1213
-# HELP windows_iis_worker_metadata_cache_queries_total Total metadata cache queries (hits + misses)
1214
-# TYPE windows_iis_worker_metadata_cache_queries_total counter
1215
-windows_iis_worker_metadata_cache_queries_total{app="DefaultAppPool",pid="880"} 4
1216
-# HELP windows_iis_worker_output_cache_active_flushed_items
1217
-# TYPE windows_iis_worker_output_cache_active_flushed_items counter
1218
-windows_iis_worker_output_cache_active_flushed_items{app="DefaultAppPool",pid="880"} 0
1219
-# HELP windows_iis_worker_output_cache_flushes_total Total number of flushes of output cache (since service startup)
1220
-# TYPE windows_iis_worker_output_cache_flushes_total counter
1221
-windows_iis_worker_output_cache_flushes_total{app="DefaultAppPool",pid="880"} 0
1222
-# HELP windows_iis_worker_output_cache_hits_total Total number of successful lookups in output cache (since service startup)
1223
-# TYPE windows_iis_worker_output_cache_hits_total counter
1224
-windows_iis_worker_output_cache_hits_total{app="DefaultAppPool",pid="880"} 0
1225
-# HELP windows_iis_worker_output_cache_items Number of items current present in output cache
1226
-# TYPE windows_iis_worker_output_cache_items counter
1227
-windows_iis_worker_output_cache_items{app="DefaultAppPool",pid="880"} 0
1228
-# HELP windows_iis_worker_output_cache_items_flushed_total Total number of items flushed from output cache (since service startup)
1229
-# TYPE windows_iis_worker_output_cache_items_flushed_total counter
1230
-windows_iis_worker_output_cache_items_flushed_total{app="DefaultAppPool",pid="880"} 0
1231
-# HELP windows_iis_worker_output_cache_memory_bytes Current number of bytes used by output cache
1232
-# TYPE windows_iis_worker_output_cache_memory_bytes counter
1233
-windows_iis_worker_output_cache_memory_bytes{app="DefaultAppPool",pid="880"} 0
1234
-# HELP windows_iis_worker_output_queries_total Total number of output cache queries (hits + misses)
1235
-# TYPE windows_iis_worker_output_queries_total counter
1236
-windows_iis_worker_output_queries_total{app="DefaultAppPool",pid="880"} 4
1237
-# HELP windows_iis_worker_request_errors_total Total number of requests that returned an error
1238
-# TYPE windows_iis_worker_request_errors_total counter
1239
-windows_iis_worker_request_errors_total{app="DefaultAppPool",pid="880",status_code="401"} 0
1240
-windows_iis_worker_request_errors_total{app="DefaultAppPool",pid="880",status_code="403"} 0
1241
-windows_iis_worker_request_errors_total{app="DefaultAppPool",pid="880",status_code="404"} 1
1242
-windows_iis_worker_request_errors_total{app="DefaultAppPool",pid="880",status_code="500"} 0
1243
-# HELP windows_iis_worker_requests_total Total number of HTTP requests served by the worker process
1244
-# TYPE windows_iis_worker_requests_total counter
1245
-windows_iis_worker_requests_total{app="DefaultAppPool",pid="880"} 3
1246
-# HELP windows_iis_worker_threads Number of threads actively processing requests in the worker process
1247
-# TYPE windows_iis_worker_threads gauge
1248
-windows_iis_worker_threads{app="DefaultAppPool",pid="880",state="busy"} 0
1249
-windows_iis_worker_threads{app="DefaultAppPool",pid="880",state="idle"} 0
1250
-# HELP windows_iis_worker_uri_cache_flushes_total Total number of URI cache flushes (since service startup)
1251
-# TYPE windows_iis_worker_uri_cache_flushes_total counter
1252
-windows_iis_worker_uri_cache_flushes_total{app="DefaultAppPool",pid="880"} 0
1253
-# HELP windows_iis_worker_uri_cache_hits_total Total number of successful lookups in the user-mode URI cache (since service startup)
1254
-# TYPE windows_iis_worker_uri_cache_hits_total counter
1255
-windows_iis_worker_uri_cache_hits_total{app="DefaultAppPool",pid="880"} 0
1256
-# HELP windows_iis_worker_uri_cache_items Number of URI information blocks currently in the user-mode cache
1257
-# TYPE windows_iis_worker_uri_cache_items gauge
1258
-windows_iis_worker_uri_cache_items{app="DefaultAppPool",pid="880"} 0
1259
-# HELP windows_iis_worker_uri_cache_items_flushed_total The number of URI information blocks that have been removed from the user-mode cache (since service startup)
1260
-# TYPE windows_iis_worker_uri_cache_items_flushed_total counter
1261
-windows_iis_worker_uri_cache_items_flushed_total{app="DefaultAppPool",pid="880"} 0
1262
-# HELP windows_iis_worker_uri_cache_items_total Total number of URI information blocks added to the user-mode cache (since service startup)
1263
-# TYPE windows_iis_worker_uri_cache_items_total counter
1264
-windows_iis_worker_uri_cache_items_total{app="DefaultAppPool",pid="880"} 0
1265
-# HELP windows_iis_worker_uri_cache_queries_total Total number of uri cache queries (hits + misses)
1266
-# TYPE windows_iis_worker_uri_cache_queries_total counter
1267
-windows_iis_worker_uri_cache_queries_total{app="DefaultAppPool",pid="880"} 4
1268
-# HELP windows_iis_worker_websocket_connection_accepted_total
1269
-# TYPE windows_iis_worker_websocket_connection_accepted_total counter
1270
-windows_iis_worker_websocket_connection_accepted_total{app="DefaultAppPool",pid="880"} 0
1271
-# HELP windows_iis_worker_websocket_connection_attempts_total
1272
-# TYPE windows_iis_worker_websocket_connection_attempts_total counter
1273
-windows_iis_worker_websocket_connection_attempts_total{app="DefaultAppPool",pid="880"} 0
1274
-# HELP windows_iis_worker_websocket_connection_rejected_total
1275
-# TYPE windows_iis_worker_websocket_connection_rejected_total counter
1276
-windows_iis_worker_websocket_connection_rejected_total{app="DefaultAppPool",pid="880"} 0
1277
-# HELP windows_logical_disk_free_bytes Free space in bytes, updates every 10-15 min (LogicalDisk.PercentFreeSpace)
1278
-# TYPE windows_logical_disk_free_bytes gauge
1279
-windows_logical_disk_free_bytes{volume="C:"} 4.363649024e+10
1280
-windows_logical_disk_free_bytes{volume="HarddiskVolume4"} 8.5983232e+07
1281
-# HELP windows_logical_disk_idle_seconds_total Seconds that the disk was idle (LogicalDisk.PercentIdleTime)
1282
-# TYPE windows_logical_disk_idle_seconds_total counter
1283
-windows_logical_disk_idle_seconds_total{volume="C:"} 164591.55536549998
1284
-windows_logical_disk_idle_seconds_total{volume="HarddiskVolume4"} 164707.1418503
1285
-# HELP windows_logical_disk_read_bytes_total The number of bytes transferred from the disk during read operations (LogicalDisk.DiskReadBytesPerSec)
1286
-# TYPE windows_logical_disk_read_bytes_total counter
1287
-windows_logical_disk_read_bytes_total{volume="C:"} 1.7676328448e+10
1288
-windows_logical_disk_read_bytes_total{volume="HarddiskVolume4"} 24576
1289
-# HELP windows_logical_disk_read_latency_seconds_total Shows the average time, in seconds, of a read operation from the disk (LogicalDisk.AvgDiskSecPerRead)
1290
-# TYPE windows_logical_disk_read_latency_seconds_total counter
1291
-windows_logical_disk_read_latency_seconds_total{volume="C:"} 97.42094709999999
1292
-windows_logical_disk_read_latency_seconds_total{volume="HarddiskVolume4"} 0.0008895999999999999
1293
-# HELP windows_logical_disk_read_seconds_total Seconds that the disk was busy servicing read requests (LogicalDisk.PercentDiskReadTime)
1294
-# TYPE windows_logical_disk_read_seconds_total counter
1295
-windows_logical_disk_read_seconds_total{volume="C:"} 97.42094709999999
1296
-windows_logical_disk_read_seconds_total{volume="HarddiskVolume4"} 0.0008895999999999999
1297
-# HELP windows_logical_disk_read_write_latency_seconds_total Shows the time, in seconds, of the average disk transfer (LogicalDisk.AvgDiskSecPerTransfer)
1298
-# TYPE windows_logical_disk_read_write_latency_seconds_total counter
1299
-windows_logical_disk_read_write_latency_seconds_total{volume="C:"} 221.3335836
1300
-windows_logical_disk_read_write_latency_seconds_total{volume="HarddiskVolume4"} 0.0031135
1301
-# HELP windows_logical_disk_reads_total The number of read operations on the disk (LogicalDisk.DiskReadsPerSec)
1302
-# TYPE windows_logical_disk_reads_total counter
1303
-windows_logical_disk_reads_total{volume="C:"} 350593
1304
-windows_logical_disk_reads_total{volume="HarddiskVolume4"} 6
1305
-# HELP windows_logical_disk_requests_queued The number of requests queued to the disk (LogicalDisk.CurrentDiskQueueLength)
1306
-# TYPE windows_logical_disk_requests_queued gauge
1307
-windows_logical_disk_requests_queued{volume="C:"} 0
1308
-windows_logical_disk_requests_queued{volume="HarddiskVolume4"} 0
1309
-# HELP windows_logical_disk_size_bytes Total space in bytes, updates every 10-15 min (LogicalDisk.PercentFreeSpace_Base)
1310
-# TYPE windows_logical_disk_size_bytes gauge
1311
-windows_logical_disk_size_bytes{volume="C:"} 6.7938287616e+10
1312
-windows_logical_disk_size_bytes{volume="HarddiskVolume4"} 6.54311424e+08
1313
-# HELP windows_logical_disk_split_ios_total The number of I/Os to the disk were split into multiple I/Os (LogicalDisk.SplitIOPerSec)
1314
-# TYPE windows_logical_disk_split_ios_total counter
1315
-windows_logical_disk_split_ios_total{volume="C:"} 37836
1316
-windows_logical_disk_split_ios_total{volume="HarddiskVolume4"} 0
1317
-# HELP windows_logical_disk_write_bytes_total The number of bytes transferred to the disk during write operations (LogicalDisk.DiskWriteBytesPerSec)
1318
-# TYPE windows_logical_disk_write_bytes_total counter
1319
-windows_logical_disk_write_bytes_total{volume="C:"} 9.135282688e+09
1320
-windows_logical_disk_write_bytes_total{volume="HarddiskVolume4"} 53248
1321
-# HELP windows_logical_disk_write_latency_seconds_total Shows the average time, in seconds, of a write operation to the disk (LogicalDisk.AvgDiskSecPerWrite)
1322
-# TYPE windows_logical_disk_write_latency_seconds_total counter
1323
-windows_logical_disk_write_latency_seconds_total{volume="C:"} 123.91263649999999
1324
-windows_logical_disk_write_latency_seconds_total{volume="HarddiskVolume4"} 0.0022239
1325
-# HELP windows_logical_disk_write_seconds_total Seconds that the disk was busy servicing write requests (LogicalDisk.PercentDiskWriteTime)
1326
-# TYPE windows_logical_disk_write_seconds_total counter
1327
-windows_logical_disk_write_seconds_total{volume="C:"} 123.91263649999999
1328
-windows_logical_disk_write_seconds_total{volume="HarddiskVolume4"} 0.0022239
1329
-# HELP windows_logical_disk_writes_total The number of write operations on the disk (LogicalDisk.DiskWritesPerSec)
1330
-# TYPE windows_logical_disk_writes_total counter
1331
-windows_logical_disk_writes_total{volume="C:"} 450705
1332
-windows_logical_disk_writes_total{volume="HarddiskVolume4"} 11
1333
-# HELP windows_logon_logon_type Number of active logon sessions (LogonSession.LogonType)
1334
-# TYPE windows_logon_logon_type gauge
1335
-windows_logon_logon_type{status="batch"} 0
1336
-windows_logon_logon_type{status="cached_interactive"} 0
1337
-windows_logon_logon_type{status="cached_remote_interactive"} 0
1338
-windows_logon_logon_type{status="cached_unlock"} 0
1339
-windows_logon_logon_type{status="interactive"} 2
1340
-windows_logon_logon_type{status="network"} 0
1341
-windows_logon_logon_type{status="network_clear_text"} 0
1342
-windows_logon_logon_type{status="new_credentials"} 0
1343
-windows_logon_logon_type{status="proxy"} 0
1344
-windows_logon_logon_type{status="remote_interactive"} 0
1345
-windows_logon_logon_type{status="service"} 0
1346
-windows_logon_logon_type{status="system"} 0
1347
-windows_logon_logon_type{status="unlock"} 0
1348
-# HELP windows_memory_available_bytes The amount of physical memory immediately available for allocation to a process or for system use. It is equal to the sum of memory assigned to the standby (cached), free and zero page lists (AvailableBytes)
1349
-# TYPE windows_memory_available_bytes gauge
1350
-windows_memory_available_bytes 1.3799424e+09
1351
-# HELP windows_memory_cache_bytes (CacheBytes)
1352
-# TYPE windows_memory_cache_bytes gauge
1353
-windows_memory_cache_bytes 1.70774528e+08
1354
-# HELP windows_memory_cache_bytes_peak (CacheBytesPeak)
1355
-# TYPE windows_memory_cache_bytes_peak gauge
1356
-windows_memory_cache_bytes_peak 2.08621568e+08
1357
-# HELP windows_memory_cache_faults_total Number of faults which occur when a page sought in the file system cache is not found there and must be retrieved from elsewhere in memory (soft fault) or from disk (hard fault) (Cache Faults/sec)
1358
-# TYPE windows_memory_cache_faults_total counter
1359
-windows_memory_cache_faults_total 8.009603e+06
1360
-# HELP windows_memory_commit_limit (CommitLimit)
1361
-# TYPE windows_memory_commit_limit gauge
1362
-windows_memory_commit_limit 5.733113856e+09
1363
-# HELP windows_memory_committed_bytes (CommittedBytes)
1364
-# TYPE windows_memory_committed_bytes gauge
1365
-windows_memory_committed_bytes 3.44743936e+09
1366
-# HELP windows_memory_demand_zero_faults_total The number of zeroed pages required to satisfy faults. Zeroed pages, pages emptied of previously stored data and filled with zeros, are a security feature of Windows that prevent processes from seeing data stored by earlier processes that used the memory space (Demand Zero Faults/sec)
1367
-# TYPE windows_memory_demand_zero_faults_total counter
1368
-windows_memory_demand_zero_faults_total 1.02505136e+08
1369
-# HELP windows_memory_free_and_zero_page_list_bytes The amount of physical memory, in bytes, that is assigned to the free and zero page lists. This memory does not contain cached data. It is immediately available for allocation to a process or for system use (FreeAndZeroPageListBytes)
1370
-# TYPE windows_memory_free_and_zero_page_list_bytes gauge
1371
-windows_memory_free_and_zero_page_list_bytes 2.0410368e+07
1372
-# HELP windows_memory_free_system_page_table_entries (FreeSystemPageTableEntries)
1373
-# TYPE windows_memory_free_system_page_table_entries gauge
1374
-windows_memory_free_system_page_table_entries 1.6722559e+07
1375
-# HELP windows_memory_modified_page_list_bytes The amount of physical memory, in bytes, that is assigned to the modified page list. This memory contains cached data and code that is not actively in use by processes, the system and the system cache (ModifiedPageListBytes)
1376
-# TYPE windows_memory_modified_page_list_bytes gauge
1377
-windows_memory_modified_page_list_bytes 3.2653312e+07
1378
-# HELP windows_memory_page_faults_total Overall rate at which faulted pages are handled by the processor (Page Faults/sec)
1379
-# TYPE windows_memory_page_faults_total counter
1380
-windows_memory_page_faults_total 1.19093924e+08
1381
-# HELP windows_memory_pool_nonpaged_allocs_total The number of calls to allocate space in the nonpaged pool. The nonpaged pool is an area of system memory area for objects that cannot be written to disk, and must remain in physical memory as long as they are allocated (PoolNonpagedAllocs)
1382
-# TYPE windows_memory_pool_nonpaged_allocs_total gauge
1383
-windows_memory_pool_nonpaged_allocs_total 0
1384
-# HELP windows_memory_pool_nonpaged_bytes Number of bytes in the non-paged pool, an area of the system virtual memory that is used for objects that cannot be written to disk, but must remain in physical memory as long as they are allocated (PoolNonpagedBytes)
1385
-# TYPE windows_memory_pool_nonpaged_bytes gauge
1386
-windows_memory_pool_nonpaged_bytes 1.26865408e+08
1387
-# HELP windows_memory_pool_paged_allocs_total Number of calls to allocate space in the paged pool, regardless of the amount of space allocated in each call (PoolPagedAllocs)
1388
-# TYPE windows_memory_pool_paged_allocs_total counter
1389
-windows_memory_pool_paged_allocs_total 0
1390
-# HELP windows_memory_pool_paged_bytes (PoolPagedBytes)
1391
-# TYPE windows_memory_pool_paged_bytes gauge
1392
-windows_memory_pool_paged_bytes 3.03906816e+08
1393
-# HELP windows_memory_pool_paged_resident_bytes The size, in bytes, of the portion of the paged pool that is currently resident and active in physical memory. The paged pool is an area of the system virtual memory that is used for objects that can be written to disk when they are not being used (PoolPagedResidentBytes)
1394
-# TYPE windows_memory_pool_paged_resident_bytes gauge
1395
-windows_memory_pool_paged_resident_bytes 2.94293504e+08
1396
-# HELP windows_memory_standby_cache_core_bytes The amount of physical memory, in bytes, that is assigned to the core standby cache page lists. This memory contains cached data and code that is not actively in use by processes, the system and the system cache (StandbyCacheCoreBytes)
1397
-# TYPE windows_memory_standby_cache_core_bytes gauge
1398
-windows_memory_standby_cache_core_bytes 1.0737664e+08
1399
-# HELP windows_memory_standby_cache_normal_priority_bytes The amount of physical memory, in bytes, that is assigned to the normal priority standby cache page lists. This memory contains cached data and code that is not actively in use by processes, the system and the system cache (StandbyCacheNormalPriorityBytes)
1400
-# TYPE windows_memory_standby_cache_normal_priority_bytes gauge
1401
-windows_memory_standby_cache_normal_priority_bytes 1.019121664e+09
1402
-# HELP windows_memory_standby_cache_reserve_bytes The amount of physical memory, in bytes, that is assigned to the reserve standby cache page lists. This memory contains cached data and code that is not actively in use by processes, the system and the system cache (StandbyCacheReserveBytes)
1403
-# TYPE windows_memory_standby_cache_reserve_bytes gauge
1404
-windows_memory_standby_cache_reserve_bytes 2.33033728e+08
1405
-# HELP windows_memory_swap_page_operations_total Total number of swap page read and writes (PagesPersec)
1406
-# TYPE windows_memory_swap_page_operations_total counter
1407
-windows_memory_swap_page_operations_total 4.956175e+06
1408
-# HELP windows_memory_swap_page_reads_total Number of disk page reads (a single read operation reading several pages is still only counted once) (PageReadsPersec)
1409
-# TYPE windows_memory_swap_page_reads_total counter
1410
-windows_memory_swap_page_reads_total 402087
1411
-# HELP windows_memory_swap_page_writes_total Number of disk page writes (a single write operation writing several pages is still only counted once) (PageWritesPersec)
1412
-# TYPE windows_memory_swap_page_writes_total counter
1413
-windows_memory_swap_page_writes_total 7012
1414
-# HELP windows_memory_swap_pages_read_total Number of pages read across all page reads (ie counting all pages read even if they are read in a single operation) (PagesInputPersec)
1415
-# TYPE windows_memory_swap_pages_read_total counter
1416
-windows_memory_swap_pages_read_total 4.643279e+06
1417
-# HELP windows_memory_swap_pages_written_total Number of pages written across all page writes (ie counting all pages written even if they are written in a single operation) (PagesOutputPersec)
1418
-# TYPE windows_memory_swap_pages_written_total counter
1419
-windows_memory_swap_pages_written_total 312896
1420
-# HELP windows_memory_system_cache_resident_bytes The size, in bytes, of the portion of the system file cache which is currently resident and active in physical memory (SystemCacheResidentBytes)
1421
-# TYPE windows_memory_system_cache_resident_bytes gauge
1422
-windows_memory_system_cache_resident_bytes 1.70774528e+08
1423
-# HELP windows_memory_system_code_resident_bytes The size, in bytes, of the pageable operating system code that is currently resident and active in physical memory (SystemCodeResidentBytes)
1424
-# TYPE windows_memory_system_code_resident_bytes gauge
1425
-windows_memory_system_code_resident_bytes 1.71008e+07
1426
-# HELP windows_memory_system_code_total_bytes The size, in bytes, of the pageable operating system code currently mapped into the system virtual address space (SystemCodeTotalBytes)
1427
-# TYPE windows_memory_system_code_total_bytes gauge
1428
-windows_memory_system_code_total_bytes 8192
1429
-# HELP windows_memory_system_driver_resident_bytes The size, in bytes, of the pageable physical memory being used by device drivers. It is the working set (physical memory area) of the drivers (SystemDriverResidentBytes)
1430
-# TYPE windows_memory_system_driver_resident_bytes gauge
1431
-windows_memory_system_driver_resident_bytes 4.6092288e+07
1432
-# HELP windows_memory_system_driver_total_bytes The size, in bytes, of the pageable virtual memory currently being used by device drivers. Pageable memory can be written to disk when it is not being used (SystemDriverTotalBytes)
1433
-# TYPE windows_memory_system_driver_total_bytes gauge
1434
-windows_memory_system_driver_total_bytes 1.8731008e+07
1435
-# HELP windows_memory_transition_faults_total Number of faults rate at which page faults are resolved by recovering pages that were being used by another process sharing the page, or were on the modified page list or the standby list, or were being written to disk at the time of the page fault (TransitionFaultsPersec)
1436
-# TYPE windows_memory_transition_faults_total counter
1437
-windows_memory_transition_faults_total 2.7183527e+07
1438
-# HELP windows_memory_transition_pages_repurposed_total Transition Pages RePurposed is the rate at which the number of transition cache pages were reused for a different purpose (TransitionPagesRePurposedPersec)
1439
-# TYPE windows_memory_transition_pages_repurposed_total counter
1440
-windows_memory_transition_pages_repurposed_total 2.856471e+06
1441
-# HELP windows_memory_write_copies_total The number of page faults caused by attempting to write that were satisfied by copying the page from elsewhere in physical memory (WriteCopiesPersec)
1442
-# TYPE windows_memory_write_copies_total counter
1443
-windows_memory_write_copies_total 1.194039e+06
1444
-# HELP windows_mssql_accessmethods_au_batch_cleanup_failures (AccessMethods.FailedAUcleanupbatches)
1445
-# TYPE windows_mssql_accessmethods_au_batch_cleanup_failures counter
1446
-windows_mssql_accessmethods_au_batch_cleanup_failures{mssql_instance="SQLEXPRESS"} 0
1447
-# HELP windows_mssql_accessmethods_au_batch_cleanups (AccessMethods.AUcleanupbatches)
1448
-# TYPE windows_mssql_accessmethods_au_batch_cleanups counter
1449
-windows_mssql_accessmethods_au_batch_cleanups{mssql_instance="SQLEXPRESS"} 0
1450
-# HELP windows_mssql_accessmethods_au_cleanups (AccessMethods.AUcleanups)
1451
-# TYPE windows_mssql_accessmethods_au_cleanups counter
1452
-windows_mssql_accessmethods_au_cleanups{mssql_instance="SQLEXPRESS"} 0
1453
-# HELP windows_mssql_accessmethods_by_reference_lob_creates (AccessMethods.ByreferenceLobCreateCount)
1454
-# TYPE windows_mssql_accessmethods_by_reference_lob_creates counter
1455
-windows_mssql_accessmethods_by_reference_lob_creates{mssql_instance="SQLEXPRESS"} 0
1456
-# HELP windows_mssql_accessmethods_by_reference_lob_uses (AccessMethods.ByreferenceLobUseCount)
1457
-# TYPE windows_mssql_accessmethods_by_reference_lob_uses counter
1458
-windows_mssql_accessmethods_by_reference_lob_uses{mssql_instance="SQLEXPRESS"} 0
1459
-# HELP windows_mssql_accessmethods_column_value_pulls (AccessMethods.CountPullInRow)
1460
-# TYPE windows_mssql_accessmethods_column_value_pulls counter
1461
-windows_mssql_accessmethods_column_value_pulls{mssql_instance="SQLEXPRESS"} 0
1462
-# HELP windows_mssql_accessmethods_column_value_pushes (AccessMethods.CountPushOffRow)
1463
-# TYPE windows_mssql_accessmethods_column_value_pushes counter
1464
-windows_mssql_accessmethods_column_value_pushes{mssql_instance="SQLEXPRESS"} 0
1465
-# HELP windows_mssql_accessmethods_deferred_dropped_aus (AccessMethods.DeferreddroppedAUs)
1466
-# TYPE windows_mssql_accessmethods_deferred_dropped_aus gauge
1467
-windows_mssql_accessmethods_deferred_dropped_aus{mssql_instance="SQLEXPRESS"} 0
1468
-# HELP windows_mssql_accessmethods_deferred_dropped_rowsets (AccessMethods.DeferredDroppedrowsets)
1469
-# TYPE windows_mssql_accessmethods_deferred_dropped_rowsets gauge
1470
-windows_mssql_accessmethods_deferred_dropped_rowsets{mssql_instance="SQLEXPRESS"} 0
1471
-# HELP windows_mssql_accessmethods_dropped_rowset_cleanups (AccessMethods.Droppedrowsetcleanups)
1472
-# TYPE windows_mssql_accessmethods_dropped_rowset_cleanups counter
1473
-windows_mssql_accessmethods_dropped_rowset_cleanups{mssql_instance="SQLEXPRESS"} 0
1474
-# HELP windows_mssql_accessmethods_dropped_rowset_skips (AccessMethods.Droppedrowsetsskipped)
1475
-# TYPE windows_mssql_accessmethods_dropped_rowset_skips counter
1476
-windows_mssql_accessmethods_dropped_rowset_skips{mssql_instance="SQLEXPRESS"} 0
1477
-# HELP windows_mssql_accessmethods_extent_allocations (AccessMethods.ExtentsAllocated)
1478
-# TYPE windows_mssql_accessmethods_extent_allocations counter
1479
-windows_mssql_accessmethods_extent_allocations{mssql_instance="SQLEXPRESS"} 16
1480
-# HELP windows_mssql_accessmethods_extent_deallocations (AccessMethods.ExtentDeallocations)
1481
-# TYPE windows_mssql_accessmethods_extent_deallocations counter
1482
-windows_mssql_accessmethods_extent_deallocations{mssql_instance="SQLEXPRESS"} 3
1483
-# HELP windows_mssql_accessmethods_forwarded_records (AccessMethods.ForwardedRecords)
1484
-# TYPE windows_mssql_accessmethods_forwarded_records counter
1485
-windows_mssql_accessmethods_forwarded_records{mssql_instance="SQLEXPRESS"} 0
1486
-# HELP windows_mssql_accessmethods_free_space_page_fetches (AccessMethods.FreeSpacePageFetches)
1487
-# TYPE windows_mssql_accessmethods_free_space_page_fetches counter
1488
-windows_mssql_accessmethods_free_space_page_fetches{mssql_instance="SQLEXPRESS"} 0
1489
-# HELP windows_mssql_accessmethods_free_space_scans (AccessMethods.FreeSpaceScans)
1490
-# TYPE windows_mssql_accessmethods_free_space_scans counter
1491
-windows_mssql_accessmethods_free_space_scans{mssql_instance="SQLEXPRESS"} 0
1492
-# HELP windows_mssql_accessmethods_full_scans (AccessMethods.FullScans)
1493
-# TYPE windows_mssql_accessmethods_full_scans counter
1494
-windows_mssql_accessmethods_full_scans{mssql_instance="SQLEXPRESS"} 8743
1495
-# HELP windows_mssql_accessmethods_ghost_record_skips (AccessMethods.SkippedGhostedRecordsPersec)
1496
-# TYPE windows_mssql_accessmethods_ghost_record_skips counter
1497
-windows_mssql_accessmethods_ghost_record_skips{mssql_instance="SQLEXPRESS"} 20
1498
-# HELP windows_mssql_accessmethods_index_searches (AccessMethods.IndexSearches)
1499
-# TYPE windows_mssql_accessmethods_index_searches counter
1500
-windows_mssql_accessmethods_index_searches{mssql_instance="SQLEXPRESS"} 843808
1501
-# HELP windows_mssql_accessmethods_insysxact_waits (AccessMethods.InSysXactwaits)
1502
-# TYPE windows_mssql_accessmethods_insysxact_waits counter
1503
-windows_mssql_accessmethods_insysxact_waits{mssql_instance="SQLEXPRESS"} 0
1504
-# HELP windows_mssql_accessmethods_leaf_page_cookie_failures (AccessMethods.Failedleafpagecookie)
1505
-# TYPE windows_mssql_accessmethods_leaf_page_cookie_failures counter
1506
-windows_mssql_accessmethods_leaf_page_cookie_failures{mssql_instance="SQLEXPRESS"} 0
1507
-# HELP windows_mssql_accessmethods_leaf_page_cookie_uses (AccessMethods.Usedleafpagecookie)
1508
-# TYPE windows_mssql_accessmethods_leaf_page_cookie_uses counter
1509
-windows_mssql_accessmethods_leaf_page_cookie_uses{mssql_instance="SQLEXPRESS"} 0
1510
-# HELP windows_mssql_accessmethods_lob_handle_creates (AccessMethods.LobHandleCreateCount)
1511
-# TYPE windows_mssql_accessmethods_lob_handle_creates counter
1512
-windows_mssql_accessmethods_lob_handle_creates{mssql_instance="SQLEXPRESS"} 0
1513
-# HELP windows_mssql_accessmethods_lob_handle_destroys (AccessMethods.LobHandleDestroyCount)
1514
-# TYPE windows_mssql_accessmethods_lob_handle_destroys counter
1515
-windows_mssql_accessmethods_lob_handle_destroys{mssql_instance="SQLEXPRESS"} 0
1516
-# HELP windows_mssql_accessmethods_lob_read_aheads (AccessMethods.CountLobReadahead)
1517
-# TYPE windows_mssql_accessmethods_lob_read_aheads counter
1518
-windows_mssql_accessmethods_lob_read_aheads{mssql_instance="SQLEXPRESS"} 2
1519
-# HELP windows_mssql_accessmethods_lob_ss_provider_creates (AccessMethods.LobSSProviderCreateCount)
1520
-# TYPE windows_mssql_accessmethods_lob_ss_provider_creates counter
1521
-windows_mssql_accessmethods_lob_ss_provider_creates{mssql_instance="SQLEXPRESS"} 0
1522
-# HELP windows_mssql_accessmethods_lob_ss_provider_destroys (AccessMethods.LobSSProviderDestroyCount)
1523
-# TYPE windows_mssql_accessmethods_lob_ss_provider_destroys counter
1524
-windows_mssql_accessmethods_lob_ss_provider_destroys{mssql_instance="SQLEXPRESS"} 0
1525
-# HELP windows_mssql_accessmethods_lob_ss_provider_truncations (AccessMethods.LobSSProviderTruncationCount)
1526
-# TYPE windows_mssql_accessmethods_lob_ss_provider_truncations counter
1527
-windows_mssql_accessmethods_lob_ss_provider_truncations{mssql_instance="SQLEXPRESS"} 0
1528
-# HELP windows_mssql_accessmethods_mixed_page_allocations (AccessMethods.MixedpageallocationsPersec)
1529
-# TYPE windows_mssql_accessmethods_mixed_page_allocations counter
1530
-windows_mssql_accessmethods_mixed_page_allocations{mssql_instance="SQLEXPRESS"} 66
1531
-# HELP windows_mssql_accessmethods_page_allocations (AccessMethods.PagesAllocatedPersec)
1532
-# TYPE windows_mssql_accessmethods_page_allocations counter
1533
-windows_mssql_accessmethods_page_allocations{mssql_instance="SQLEXPRESS"} 83
1534
-# HELP windows_mssql_accessmethods_page_compression_attempts (AccessMethods.PagecompressionattemptsPersec)
1535
-# TYPE windows_mssql_accessmethods_page_compression_attempts counter
1536
-windows_mssql_accessmethods_page_compression_attempts{mssql_instance="SQLEXPRESS"} 0
1537
-# HELP windows_mssql_accessmethods_page_compressions (AccessMethods.PagescompressedPersec)
1538
-# TYPE windows_mssql_accessmethods_page_compressions counter
1539
-windows_mssql_accessmethods_page_compressions{mssql_instance="SQLEXPRESS"} 0
1540
-# HELP windows_mssql_accessmethods_page_deallocations (AccessMethods.PageDeallocationsPersec)
1541
-# TYPE windows_mssql_accessmethods_page_deallocations counter
1542
-windows_mssql_accessmethods_page_deallocations{mssql_instance="SQLEXPRESS"} 60
1543
-# HELP windows_mssql_accessmethods_page_splits (AccessMethods.PageSplitsPersec)
1544
-# TYPE windows_mssql_accessmethods_page_splits counter
1545
-windows_mssql_accessmethods_page_splits{mssql_instance="SQLEXPRESS"} 429
1546
-# HELP windows_mssql_accessmethods_probe_scans (AccessMethods.ProbeScansPersec)
1547
-# TYPE windows_mssql_accessmethods_probe_scans counter
1548
-windows_mssql_accessmethods_probe_scans{mssql_instance="SQLEXPRESS"} 217563
1549
-# HELP windows_mssql_accessmethods_range_scans (AccessMethods.RangeScansPersec)
1550
-# TYPE windows_mssql_accessmethods_range_scans counter
1551
-windows_mssql_accessmethods_range_scans{mssql_instance="SQLEXPRESS"} 590779
1552
-# HELP windows_mssql_accessmethods_scan_point_revalidations (AccessMethods.ScanPointRevalidationsPersec)
1553
-# TYPE windows_mssql_accessmethods_scan_point_revalidations counter
1554
-windows_mssql_accessmethods_scan_point_revalidations{mssql_instance="SQLEXPRESS"} 5
1555
-# HELP windows_mssql_accessmethods_table_lock_escalations (AccessMethods.TableLockEscalationsPersec)
1556
-# TYPE windows_mssql_accessmethods_table_lock_escalations counter
1557
-windows_mssql_accessmethods_table_lock_escalations{mssql_instance="SQLEXPRESS"} 0
1558
-# HELP windows_mssql_accessmethods_tree_page_cookie_failures (AccessMethods.Failedtreepagecookie)
1559
-# TYPE windows_mssql_accessmethods_tree_page_cookie_failures counter
1560
-windows_mssql_accessmethods_tree_page_cookie_failures{mssql_instance="SQLEXPRESS"} 0
1561
-# HELP windows_mssql_accessmethods_tree_page_cookie_uses (AccessMethods.Usedtreepagecookie)
1562
-# TYPE windows_mssql_accessmethods_tree_page_cookie_uses counter
1563
-windows_mssql_accessmethods_tree_page_cookie_uses{mssql_instance="SQLEXPRESS"} 0
1564
-# HELP windows_mssql_accessmethods_workfile_creates (AccessMethods.WorkfilesCreatedPersec)
1565
-# TYPE windows_mssql_accessmethods_workfile_creates counter
1566
-windows_mssql_accessmethods_workfile_creates{mssql_instance="SQLEXPRESS"} 96
1567
-# HELP windows_mssql_accessmethods_worktables_creates (AccessMethods.WorktablesCreatedPersec)
1568
-# TYPE windows_mssql_accessmethods_worktables_creates counter
1569
-windows_mssql_accessmethods_worktables_creates{mssql_instance="SQLEXPRESS"} 557
1570
-# HELP windows_mssql_accessmethods_worktables_from_cache_hits (AccessMethods.WorktablesFromCacheRatio)
1571
-# TYPE windows_mssql_accessmethods_worktables_from_cache_hits counter
1572
-windows_mssql_accessmethods_worktables_from_cache_hits{mssql_instance="SQLEXPRESS"} 357
1573
-# HELP windows_mssql_accessmethods_worktables_from_cache_lookups (AccessMethods.WorktablesFromCacheRatio_Base)
1574
-# TYPE windows_mssql_accessmethods_worktables_from_cache_lookups counter
1575
-windows_mssql_accessmethods_worktables_from_cache_lookups{mssql_instance="SQLEXPRESS"} 364
1576
-# HELP windows_mssql_bufman_background_writer_pages (BufferManager.Backgroundwriterpages)
1577
-# TYPE windows_mssql_bufman_background_writer_pages counter
1578
-windows_mssql_bufman_background_writer_pages{mssql_instance="SQLEXPRESS"} 0
1579
-# HELP windows_mssql_bufman_buffer_cache_hits (BufferManager.Buffercachehitratio)
1580
-# TYPE windows_mssql_bufman_buffer_cache_hits gauge
1581
-windows_mssql_bufman_buffer_cache_hits{mssql_instance="SQLEXPRESS"} 86
1582
-# HELP windows_mssql_bufman_buffer_cache_lookups (BufferManager.Buffercachehitratio_Base)
1583
-# TYPE windows_mssql_bufman_buffer_cache_lookups gauge
1584
-windows_mssql_bufman_buffer_cache_lookups{mssql_instance="SQLEXPRESS"} 86
1585
-# HELP windows_mssql_bufman_checkpoint_pages (BufferManager.Checkpointpages)
1586
-# TYPE windows_mssql_bufman_checkpoint_pages counter
1587
-windows_mssql_bufman_checkpoint_pages{mssql_instance="SQLEXPRESS"} 82
1588
-# HELP windows_mssql_bufman_database_pages (BufferManager.Databasepages)
1589
-# TYPE windows_mssql_bufman_database_pages gauge
1590
-windows_mssql_bufman_database_pages{mssql_instance="SQLEXPRESS"} 829
1591
-# HELP windows_mssql_bufman_extension_allocated_pages (BufferManager.Extensionallocatedpages)
1592
-# TYPE windows_mssql_bufman_extension_allocated_pages gauge
1593
-windows_mssql_bufman_extension_allocated_pages{mssql_instance="SQLEXPRESS"} 0
1594
-# HELP windows_mssql_bufman_extension_free_pages (BufferManager.Extensionfreepages)
1595
-# TYPE windows_mssql_bufman_extension_free_pages gauge
1596
-windows_mssql_bufman_extension_free_pages{mssql_instance="SQLEXPRESS"} 0
1597
-# HELP windows_mssql_bufman_extension_in_use_as_percentage (BufferManager.Extensioninuseaspercentage)
1598
-# TYPE windows_mssql_bufman_extension_in_use_as_percentage gauge
1599
-windows_mssql_bufman_extension_in_use_as_percentage{mssql_instance="SQLEXPRESS"} 0
1600
-# HELP windows_mssql_bufman_extension_outstanding_io (BufferManager.ExtensionoutstandingIOcounter)
1601
-# TYPE windows_mssql_bufman_extension_outstanding_io gauge
1602
-windows_mssql_bufman_extension_outstanding_io{mssql_instance="SQLEXPRESS"} 0
1603
-# HELP windows_mssql_bufman_extension_page_evictions (BufferManager.Extensionpageevictions)
1604
-# TYPE windows_mssql_bufman_extension_page_evictions counter
1605
-windows_mssql_bufman_extension_page_evictions{mssql_instance="SQLEXPRESS"} 0
1606
-# HELP windows_mssql_bufman_extension_page_reads (BufferManager.Extensionpagereads)
1607
-# TYPE windows_mssql_bufman_extension_page_reads counter
1608
-windows_mssql_bufman_extension_page_reads{mssql_instance="SQLEXPRESS"} 0
1609
-# HELP windows_mssql_bufman_extension_page_unreferenced_seconds (BufferManager.Extensionpageunreferencedtime)
1610
-# TYPE windows_mssql_bufman_extension_page_unreferenced_seconds gauge
1611
-windows_mssql_bufman_extension_page_unreferenced_seconds{mssql_instance="SQLEXPRESS"} 0
1612
-# HELP windows_mssql_bufman_extension_page_writes (BufferManager.Extensionpagewrites)
1613
-# TYPE windows_mssql_bufman_extension_page_writes counter
1614
-windows_mssql_bufman_extension_page_writes{mssql_instance="SQLEXPRESS"} 0
1615
-# HELP windows_mssql_bufman_free_list_stalls (BufferManager.Freeliststalls)
1616
-# TYPE windows_mssql_bufman_free_list_stalls counter
1617
-windows_mssql_bufman_free_list_stalls{mssql_instance="SQLEXPRESS"} 0
1618
-# HELP windows_mssql_bufman_integral_controller_slope (BufferManager.IntegralControllerSlope)
1619
-# TYPE windows_mssql_bufman_integral_controller_slope gauge
1620
-windows_mssql_bufman_integral_controller_slope{mssql_instance="SQLEXPRESS"} 10
1621
-# HELP windows_mssql_bufman_lazywrites (BufferManager.Lazywrites)
1622
-# TYPE windows_mssql_bufman_lazywrites counter
1623
-windows_mssql_bufman_lazywrites{mssql_instance="SQLEXPRESS"} 0
1624
-# HELP windows_mssql_bufman_page_life_expectancy_seconds (BufferManager.Pagelifeexpectancy)
1625
-# TYPE windows_mssql_bufman_page_life_expectancy_seconds gauge
1626
-windows_mssql_bufman_page_life_expectancy_seconds{mssql_instance="SQLEXPRESS"} 191350
1627
-# HELP windows_mssql_bufman_page_lookups (BufferManager.Pagelookups)
1628
-# TYPE windows_mssql_bufman_page_lookups counter
1629
-windows_mssql_bufman_page_lookups{mssql_instance="SQLEXPRESS"} 1.699668e+06
1630
-# HELP windows_mssql_bufman_page_reads (BufferManager.Pagereads)
1631
-# TYPE windows_mssql_bufman_page_reads counter
1632
-windows_mssql_bufman_page_reads{mssql_instance="SQLEXPRESS"} 797
1633
-# HELP windows_mssql_bufman_page_writes (BufferManager.Pagewrites)
1634
-# TYPE windows_mssql_bufman_page_writes counter
1635
-windows_mssql_bufman_page_writes{mssql_instance="SQLEXPRESS"} 92
1636
-# HELP windows_mssql_bufman_read_ahead_issuing_seconds (BufferManager.Readaheadtime)
1637
-# TYPE windows_mssql_bufman_read_ahead_issuing_seconds counter
1638
-windows_mssql_bufman_read_ahead_issuing_seconds{mssql_instance="SQLEXPRESS"} 1292
1639
-# HELP windows_mssql_bufman_read_ahead_pages (BufferManager.Readaheadpages)
1640
-# TYPE windows_mssql_bufman_read_ahead_pages counter
1641
-windows_mssql_bufman_read_ahead_pages{mssql_instance="SQLEXPRESS"} 94
1642
-# HELP windows_mssql_bufman_target_pages (BufferManager.Targetpages)
1643
-# TYPE windows_mssql_bufman_target_pages gauge
1644
-windows_mssql_bufman_target_pages{mssql_instance="SQLEXPRESS"} 180480
1645
-# HELP windows_mssql_collector_duration_seconds windows_exporter: Duration of an mssql child collection.
1646
-# TYPE windows_mssql_collector_duration_seconds gauge
1647
-windows_mssql_collector_duration_seconds{collector="accessmethods",mssql_instance="SQLEXPRESS"} 0.0009723
1648
-windows_mssql_collector_duration_seconds{collector="availreplica",mssql_instance="SQLEXPRESS"} 0
1649
-windows_mssql_collector_duration_seconds{collector="bufman",mssql_instance="SQLEXPRESS"} 0
1650
-windows_mssql_collector_duration_seconds{collector="databases",mssql_instance="SQLEXPRESS"} 0
1651
-windows_mssql_collector_duration_seconds{collector="dbreplica",mssql_instance="SQLEXPRESS"} 0
1652
-windows_mssql_collector_duration_seconds{collector="genstats",mssql_instance="SQLEXPRESS"} 0
1653
-windows_mssql_collector_duration_seconds{collector="locks",mssql_instance="SQLEXPRESS"} 0
1654
-windows_mssql_collector_duration_seconds{collector="memmgr",mssql_instance="SQLEXPRESS"} 0
1655
-windows_mssql_collector_duration_seconds{collector="sqlerrors",mssql_instance="SQLEXPRESS"} 0
1656
-windows_mssql_collector_duration_seconds{collector="sqlstats",mssql_instance="SQLEXPRESS"} 0
1657
-windows_mssql_collector_duration_seconds{collector="transactions",mssql_instance="SQLEXPRESS"} 0
1658
-windows_mssql_collector_duration_seconds{collector="waitstats",mssql_instance="SQLEXPRESS"} 0.0012212
1659
-# HELP windows_mssql_collector_success windows_exporter: Whether a mssql child collector was successful.
1660
-# TYPE windows_mssql_collector_success gauge
1661
-windows_mssql_collector_success{collector="accessmethods",mssql_instance="SQLEXPRESS"} 1
1662
-windows_mssql_collector_success{collector="availreplica",mssql_instance="SQLEXPRESS"} 1
1663
-windows_mssql_collector_success{collector="bufman",mssql_instance="SQLEXPRESS"} 1
1664
-windows_mssql_collector_success{collector="databases",mssql_instance="SQLEXPRESS"} 1
1665
-windows_mssql_collector_success{collector="dbreplica",mssql_instance="SQLEXPRESS"} 1
1666
-windows_mssql_collector_success{collector="genstats",mssql_instance="SQLEXPRESS"} 1
1667
-windows_mssql_collector_success{collector="locks",mssql_instance="SQLEXPRESS"} 1
1668
-windows_mssql_collector_success{collector="memmgr",mssql_instance="SQLEXPRESS"} 1
1669
-windows_mssql_collector_success{collector="sqlerrors",mssql_instance="SQLEXPRESS"} 1
1670
-windows_mssql_collector_success{collector="sqlstats",mssql_instance="SQLEXPRESS"} 1
1671
-windows_mssql_collector_success{collector="transactions",mssql_instance="SQLEXPRESS"} 1
1672
-windows_mssql_collector_success{collector="waitstats",mssql_instance="SQLEXPRESS"} 1
1673
-# HELP windows_mssql_databases_active_parallel_redo_threads (Databases.ActiveParallelredothreads)
1674
-# TYPE windows_mssql_databases_active_parallel_redo_threads gauge
1675
-windows_mssql_databases_active_parallel_redo_threads{database="master",mssql_instance="SQLEXPRESS"} 0
1676
-windows_mssql_databases_active_parallel_redo_threads{database="model",mssql_instance="SQLEXPRESS"} 0
1677
-windows_mssql_databases_active_parallel_redo_threads{database="msdb",mssql_instance="SQLEXPRESS"} 0
1678
-windows_mssql_databases_active_parallel_redo_threads{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1679
-windows_mssql_databases_active_parallel_redo_threads{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1680
-# HELP windows_mssql_databases_active_transactions (Databases.ActiveTransactions)
1681
-# TYPE windows_mssql_databases_active_transactions gauge
1682
-windows_mssql_databases_active_transactions{database="master",mssql_instance="SQLEXPRESS"} 0
1683
-windows_mssql_databases_active_transactions{database="model",mssql_instance="SQLEXPRESS"} 0
1684
-windows_mssql_databases_active_transactions{database="msdb",mssql_instance="SQLEXPRESS"} 0
1685
-windows_mssql_databases_active_transactions{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1686
-windows_mssql_databases_active_transactions{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1687
-# HELP windows_mssql_databases_backup_restore_operations (Databases.BackupPerRestoreThroughput)
1688
-# TYPE windows_mssql_databases_backup_restore_operations counter
1689
-windows_mssql_databases_backup_restore_operations{database="master",mssql_instance="SQLEXPRESS"} 0
1690
-windows_mssql_databases_backup_restore_operations{database="model",mssql_instance="SQLEXPRESS"} 0
1691
-windows_mssql_databases_backup_restore_operations{database="msdb",mssql_instance="SQLEXPRESS"} 0
1692
-windows_mssql_databases_backup_restore_operations{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1693
-windows_mssql_databases_backup_restore_operations{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1694
-# HELP windows_mssql_databases_bulk_copy_bytes (Databases.BulkCopyThroughput)
1695
-# TYPE windows_mssql_databases_bulk_copy_bytes counter
1696
-windows_mssql_databases_bulk_copy_bytes{database="master",mssql_instance="SQLEXPRESS"} 0
1697
-windows_mssql_databases_bulk_copy_bytes{database="model",mssql_instance="SQLEXPRESS"} 0
1698
-windows_mssql_databases_bulk_copy_bytes{database="msdb",mssql_instance="SQLEXPRESS"} 0
1699
-windows_mssql_databases_bulk_copy_bytes{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1700
-windows_mssql_databases_bulk_copy_bytes{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1701
-# HELP windows_mssql_databases_bulk_copy_rows (Databases.BulkCopyRows)
1702
-# TYPE windows_mssql_databases_bulk_copy_rows counter
1703
-windows_mssql_databases_bulk_copy_rows{database="master",mssql_instance="SQLEXPRESS"} 0
1704
-windows_mssql_databases_bulk_copy_rows{database="model",mssql_instance="SQLEXPRESS"} 0
1705
-windows_mssql_databases_bulk_copy_rows{database="msdb",mssql_instance="SQLEXPRESS"} 0
1706
-windows_mssql_databases_bulk_copy_rows{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1707
-windows_mssql_databases_bulk_copy_rows{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1708
-# HELP windows_mssql_databases_commit_table_entries (Databases.Committableentries)
1709
-# TYPE windows_mssql_databases_commit_table_entries gauge
1710
-windows_mssql_databases_commit_table_entries{database="master",mssql_instance="SQLEXPRESS"} 0
1711
-windows_mssql_databases_commit_table_entries{database="model",mssql_instance="SQLEXPRESS"} 0
1712
-windows_mssql_databases_commit_table_entries{database="msdb",mssql_instance="SQLEXPRESS"} 0
1713
-windows_mssql_databases_commit_table_entries{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1714
-windows_mssql_databases_commit_table_entries{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1715
-# HELP windows_mssql_databases_data_files_size_bytes (Databases.DataFilesSizeKB)
1716
-# TYPE windows_mssql_databases_data_files_size_bytes gauge
1717
-windows_mssql_databases_data_files_size_bytes{database="master",mssql_instance="SQLEXPRESS"} 4.653056e+06
1718
-windows_mssql_databases_data_files_size_bytes{database="model",mssql_instance="SQLEXPRESS"} 8.388608e+06
1719
-windows_mssql_databases_data_files_size_bytes{database="msdb",mssql_instance="SQLEXPRESS"} 1.5466496e+07
1720
-windows_mssql_databases_data_files_size_bytes{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 4.194304e+07
1721
-windows_mssql_databases_data_files_size_bytes{database="tempdb",mssql_instance="SQLEXPRESS"} 8.388608e+06
1722
-# HELP windows_mssql_databases_dbcc_logical_scan_bytes (Databases.DBCCLogicalScanBytes)
1723
-# TYPE windows_mssql_databases_dbcc_logical_scan_bytes counter
1724
-windows_mssql_databases_dbcc_logical_scan_bytes{database="master",mssql_instance="SQLEXPRESS"} 0
1725
-windows_mssql_databases_dbcc_logical_scan_bytes{database="model",mssql_instance="SQLEXPRESS"} 0
1726
-windows_mssql_databases_dbcc_logical_scan_bytes{database="msdb",mssql_instance="SQLEXPRESS"} 0
1727
-windows_mssql_databases_dbcc_logical_scan_bytes{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1728
-windows_mssql_databases_dbcc_logical_scan_bytes{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1729
-# HELP windows_mssql_databases_group_commit_stall_seconds (Databases.GroupCommitTime)
1730
-# TYPE windows_mssql_databases_group_commit_stall_seconds counter
1731
-windows_mssql_databases_group_commit_stall_seconds{database="master",mssql_instance="SQLEXPRESS"} 0
1732
-windows_mssql_databases_group_commit_stall_seconds{database="model",mssql_instance="SQLEXPRESS"} 0
1733
-windows_mssql_databases_group_commit_stall_seconds{database="msdb",mssql_instance="SQLEXPRESS"} 0
1734
-windows_mssql_databases_group_commit_stall_seconds{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1735
-windows_mssql_databases_group_commit_stall_seconds{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1736
-# HELP windows_mssql_databases_log_cache_hits (Databases.LogCacheHitRatio)
1737
-# TYPE windows_mssql_databases_log_cache_hits gauge
1738
-windows_mssql_databases_log_cache_hits{database="master",mssql_instance="SQLEXPRESS"} 0
1739
-windows_mssql_databases_log_cache_hits{database="model",mssql_instance="SQLEXPRESS"} 0
1740
-windows_mssql_databases_log_cache_hits{database="msdb",mssql_instance="SQLEXPRESS"} 0
1741
-windows_mssql_databases_log_cache_hits{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1742
-windows_mssql_databases_log_cache_hits{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1743
-# HELP windows_mssql_databases_log_cache_lookups (Databases.LogCacheHitRatio_Base)
1744
-# TYPE windows_mssql_databases_log_cache_lookups gauge
1745
-windows_mssql_databases_log_cache_lookups{database="master",mssql_instance="SQLEXPRESS"} 0
1746
-windows_mssql_databases_log_cache_lookups{database="model",mssql_instance="SQLEXPRESS"} 0
1747
-windows_mssql_databases_log_cache_lookups{database="msdb",mssql_instance="SQLEXPRESS"} 0
1748
-windows_mssql_databases_log_cache_lookups{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1749
-windows_mssql_databases_log_cache_lookups{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1750
-# HELP windows_mssql_databases_log_cache_reads (Databases.LogCacheReads)
1751
-# TYPE windows_mssql_databases_log_cache_reads counter
1752
-windows_mssql_databases_log_cache_reads{database="master",mssql_instance="SQLEXPRESS"} 0
1753
-windows_mssql_databases_log_cache_reads{database="model",mssql_instance="SQLEXPRESS"} 0
1754
-windows_mssql_databases_log_cache_reads{database="msdb",mssql_instance="SQLEXPRESS"} 0
1755
-windows_mssql_databases_log_cache_reads{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1756
-windows_mssql_databases_log_cache_reads{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1757
-# HELP windows_mssql_databases_log_files_size_bytes (Databases.LogFilesSizeKB)
1758
-# TYPE windows_mssql_databases_log_files_size_bytes gauge
1759
-windows_mssql_databases_log_files_size_bytes{database="master",mssql_instance="SQLEXPRESS"} 2.08896e+06
1760
-windows_mssql_databases_log_files_size_bytes{database="model",mssql_instance="SQLEXPRESS"} 8.380416e+06
1761
-windows_mssql_databases_log_files_size_bytes{database="msdb",mssql_instance="SQLEXPRESS"} 778240
1762
-windows_mssql_databases_log_files_size_bytes{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 1.302528e+06
1763
-windows_mssql_databases_log_files_size_bytes{database="tempdb",mssql_instance="SQLEXPRESS"} 8.380416e+06
1764
-# HELP windows_mssql_databases_log_files_used_size_bytes (Databases.LogFilesUsedSizeKB)
1765
-# TYPE windows_mssql_databases_log_files_used_size_bytes gauge
1766
-windows_mssql_databases_log_files_used_size_bytes{database="master",mssql_instance="SQLEXPRESS"} 1.210368e+06
1767
-windows_mssql_databases_log_files_used_size_bytes{database="model",mssql_instance="SQLEXPRESS"} 585728
1768
-windows_mssql_databases_log_files_used_size_bytes{database="msdb",mssql_instance="SQLEXPRESS"} 532480
1769
-windows_mssql_databases_log_files_used_size_bytes{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 637952
1770
-windows_mssql_databases_log_files_used_size_bytes{database="tempdb",mssql_instance="SQLEXPRESS"} 565248
1771
-# HELP windows_mssql_databases_log_flush_wait_seconds (Databases.LogFlushWaitTime)
1772
-# TYPE windows_mssql_databases_log_flush_wait_seconds gauge
1773
-windows_mssql_databases_log_flush_wait_seconds{database="master",mssql_instance="SQLEXPRESS"} 0.226
1774
-windows_mssql_databases_log_flush_wait_seconds{database="model",mssql_instance="SQLEXPRESS"} 0.002
1775
-windows_mssql_databases_log_flush_wait_seconds{database="msdb",mssql_instance="SQLEXPRESS"} 0
1776
-windows_mssql_databases_log_flush_wait_seconds{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1777
-windows_mssql_databases_log_flush_wait_seconds{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1778
-# HELP windows_mssql_databases_log_flush_waits (Databases.LogFlushWaits)
1779
-# TYPE windows_mssql_databases_log_flush_waits counter
1780
-windows_mssql_databases_log_flush_waits{database="master",mssql_instance="SQLEXPRESS"} 245
1781
-windows_mssql_databases_log_flush_waits{database="model",mssql_instance="SQLEXPRESS"} 3
1782
-windows_mssql_databases_log_flush_waits{database="msdb",mssql_instance="SQLEXPRESS"} 0
1783
-windows_mssql_databases_log_flush_waits{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1784
-windows_mssql_databases_log_flush_waits{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1785
-# HELP windows_mssql_databases_log_flush_write_seconds (Databases.LogFlushWriteTimems)
1786
-# TYPE windows_mssql_databases_log_flush_write_seconds gauge
1787
-windows_mssql_databases_log_flush_write_seconds{database="master",mssql_instance="SQLEXPRESS"} 0.164
1788
-windows_mssql_databases_log_flush_write_seconds{database="model",mssql_instance="SQLEXPRESS"} 0.002
1789
-windows_mssql_databases_log_flush_write_seconds{database="msdb",mssql_instance="SQLEXPRESS"} 0
1790
-windows_mssql_databases_log_flush_write_seconds{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1791
-windows_mssql_databases_log_flush_write_seconds{database="tempdb",mssql_instance="SQLEXPRESS"} 0.002
1792
-# HELP windows_mssql_databases_log_flushed_bytes (Databases.LogBytesFlushed)
1793
-# TYPE windows_mssql_databases_log_flushed_bytes counter
1794
-windows_mssql_databases_log_flushed_bytes{database="master",mssql_instance="SQLEXPRESS"} 3.702784e+06
1795
-windows_mssql_databases_log_flushed_bytes{database="model",mssql_instance="SQLEXPRESS"} 12288
1796
-windows_mssql_databases_log_flushed_bytes{database="msdb",mssql_instance="SQLEXPRESS"} 0
1797
-windows_mssql_databases_log_flushed_bytes{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1798
-windows_mssql_databases_log_flushed_bytes{database="tempdb",mssql_instance="SQLEXPRESS"} 118784
1799
-# HELP windows_mssql_databases_log_flushes (Databases.LogFlushes)
1800
-# TYPE windows_mssql_databases_log_flushes counter
1801
-windows_mssql_databases_log_flushes{database="master",mssql_instance="SQLEXPRESS"} 252
1802
-windows_mssql_databases_log_flushes{database="model",mssql_instance="SQLEXPRESS"} 3
1803
-windows_mssql_databases_log_flushes{database="msdb",mssql_instance="SQLEXPRESS"} 0
1804
-windows_mssql_databases_log_flushes{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1805
-windows_mssql_databases_log_flushes{database="tempdb",mssql_instance="SQLEXPRESS"} 2
1806
-# HELP windows_mssql_databases_log_growths (Databases.LogGrowths)
1807
-# TYPE windows_mssql_databases_log_growths gauge
1808
-windows_mssql_databases_log_growths{database="master",mssql_instance="SQLEXPRESS"} 0
1809
-windows_mssql_databases_log_growths{database="model",mssql_instance="SQLEXPRESS"} 0
1810
-windows_mssql_databases_log_growths{database="msdb",mssql_instance="SQLEXPRESS"} 0
1811
-windows_mssql_databases_log_growths{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1812
-windows_mssql_databases_log_growths{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1813
-# HELP windows_mssql_databases_log_pool_cache_misses (Databases.LogPoolCacheMisses)
1814
-# TYPE windows_mssql_databases_log_pool_cache_misses counter
1815
-windows_mssql_databases_log_pool_cache_misses{database="master",mssql_instance="SQLEXPRESS"} 3
1816
-windows_mssql_databases_log_pool_cache_misses{database="model",mssql_instance="SQLEXPRESS"} 3
1817
-windows_mssql_databases_log_pool_cache_misses{database="msdb",mssql_instance="SQLEXPRESS"} 3
1818
-windows_mssql_databases_log_pool_cache_misses{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 3
1819
-windows_mssql_databases_log_pool_cache_misses{database="tempdb",mssql_instance="SQLEXPRESS"} 3
1820
-# HELP windows_mssql_databases_log_pool_disk_reads (Databases.LogPoolDiskReads)
1821
-# TYPE windows_mssql_databases_log_pool_disk_reads counter
1822
-windows_mssql_databases_log_pool_disk_reads{database="master",mssql_instance="SQLEXPRESS"} 2
1823
-windows_mssql_databases_log_pool_disk_reads{database="model",mssql_instance="SQLEXPRESS"} 2
1824
-windows_mssql_databases_log_pool_disk_reads{database="msdb",mssql_instance="SQLEXPRESS"} 2
1825
-windows_mssql_databases_log_pool_disk_reads{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 3
1826
-windows_mssql_databases_log_pool_disk_reads{database="tempdb",mssql_instance="SQLEXPRESS"} 2
1827
-# HELP windows_mssql_databases_log_pool_empty_free_pool_pushes (Databases.LogPoolPushEmptyFreePool)
1828
-# TYPE windows_mssql_databases_log_pool_empty_free_pool_pushes counter
1829
-windows_mssql_databases_log_pool_empty_free_pool_pushes{database="master",mssql_instance="SQLEXPRESS"} 3
1830
-windows_mssql_databases_log_pool_empty_free_pool_pushes{database="model",mssql_instance="SQLEXPRESS"} 3
1831
-windows_mssql_databases_log_pool_empty_free_pool_pushes{database="msdb",mssql_instance="SQLEXPRESS"} 3
1832
-windows_mssql_databases_log_pool_empty_free_pool_pushes{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 3
1833
-windows_mssql_databases_log_pool_empty_free_pool_pushes{database="tempdb",mssql_instance="SQLEXPRESS"} 1
1834
-# HELP windows_mssql_databases_log_pool_hash_deletes (Databases.LogPoolHashDeletes)
1835
-# TYPE windows_mssql_databases_log_pool_hash_deletes counter
1836
-windows_mssql_databases_log_pool_hash_deletes{database="master",mssql_instance="SQLEXPRESS"} 3
1837
-windows_mssql_databases_log_pool_hash_deletes{database="model",mssql_instance="SQLEXPRESS"} 3
1838
-windows_mssql_databases_log_pool_hash_deletes{database="msdb",mssql_instance="SQLEXPRESS"} 0
1839
-windows_mssql_databases_log_pool_hash_deletes{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1840
-windows_mssql_databases_log_pool_hash_deletes{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1841
-# HELP windows_mssql_databases_log_pool_hash_inserts (Databases.LogPoolHashInserts)
1842
-# TYPE windows_mssql_databases_log_pool_hash_inserts counter
1843
-windows_mssql_databases_log_pool_hash_inserts{database="master",mssql_instance="SQLEXPRESS"} 3
1844
-windows_mssql_databases_log_pool_hash_inserts{database="model",mssql_instance="SQLEXPRESS"} 3
1845
-windows_mssql_databases_log_pool_hash_inserts{database="msdb",mssql_instance="SQLEXPRESS"} 3
1846
-windows_mssql_databases_log_pool_hash_inserts{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 3
1847
-windows_mssql_databases_log_pool_hash_inserts{database="tempdb",mssql_instance="SQLEXPRESS"} 1
1848
-# HELP windows_mssql_databases_log_pool_invalid_hash_entries (Databases.LogPoolInvalidHashEntry)
1849
-# TYPE windows_mssql_databases_log_pool_invalid_hash_entries counter
1850
-windows_mssql_databases_log_pool_invalid_hash_entries{database="master",mssql_instance="SQLEXPRESS"} 0
1851
-windows_mssql_databases_log_pool_invalid_hash_entries{database="model",mssql_instance="SQLEXPRESS"} 0
1852
-windows_mssql_databases_log_pool_invalid_hash_entries{database="msdb",mssql_instance="SQLEXPRESS"} 0
1853
-windows_mssql_databases_log_pool_invalid_hash_entries{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1854
-windows_mssql_databases_log_pool_invalid_hash_entries{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1855
-# HELP windows_mssql_databases_log_pool_log_scan_pushes (Databases.LogPoolLogScanPushes)
1856
-# TYPE windows_mssql_databases_log_pool_log_scan_pushes counter
1857
-windows_mssql_databases_log_pool_log_scan_pushes{database="master",mssql_instance="SQLEXPRESS"} 3
1858
-windows_mssql_databases_log_pool_log_scan_pushes{database="model",mssql_instance="SQLEXPRESS"} 3
1859
-windows_mssql_databases_log_pool_log_scan_pushes{database="msdb",mssql_instance="SQLEXPRESS"} 3
1860
-windows_mssql_databases_log_pool_log_scan_pushes{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 3
1861
-windows_mssql_databases_log_pool_log_scan_pushes{database="tempdb",mssql_instance="SQLEXPRESS"} 1
1862
-# HELP windows_mssql_databases_log_pool_log_writer_pushes (Databases.LogPoolLogWriterPushes)
1863
-# TYPE windows_mssql_databases_log_pool_log_writer_pushes counter
1864
-windows_mssql_databases_log_pool_log_writer_pushes{database="master",mssql_instance="SQLEXPRESS"} 0
1865
-windows_mssql_databases_log_pool_log_writer_pushes{database="model",mssql_instance="SQLEXPRESS"} 0
1866
-windows_mssql_databases_log_pool_log_writer_pushes{database="msdb",mssql_instance="SQLEXPRESS"} 0
1867
-windows_mssql_databases_log_pool_log_writer_pushes{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1868
-windows_mssql_databases_log_pool_log_writer_pushes{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1869
-# HELP windows_mssql_databases_log_pool_low_memory_pushes (Databases.LogPoolPushLowMemory)
1870
-# TYPE windows_mssql_databases_log_pool_low_memory_pushes counter
1871
-windows_mssql_databases_log_pool_low_memory_pushes{database="master",mssql_instance="SQLEXPRESS"} 0
1872
-windows_mssql_databases_log_pool_low_memory_pushes{database="model",mssql_instance="SQLEXPRESS"} 0
1873
-windows_mssql_databases_log_pool_low_memory_pushes{database="msdb",mssql_instance="SQLEXPRESS"} 0
1874
-windows_mssql_databases_log_pool_low_memory_pushes{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1875
-windows_mssql_databases_log_pool_low_memory_pushes{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1876
-# HELP windows_mssql_databases_log_pool_no_free_buffer_pushes (Databases.LogPoolPushNoFreeBuffer)
1877
-# TYPE windows_mssql_databases_log_pool_no_free_buffer_pushes counter
1878
-windows_mssql_databases_log_pool_no_free_buffer_pushes{database="master",mssql_instance="SQLEXPRESS"} 0
1879
-windows_mssql_databases_log_pool_no_free_buffer_pushes{database="model",mssql_instance="SQLEXPRESS"} 0
1880
-windows_mssql_databases_log_pool_no_free_buffer_pushes{database="msdb",mssql_instance="SQLEXPRESS"} 0
1881
-windows_mssql_databases_log_pool_no_free_buffer_pushes{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1882
-windows_mssql_databases_log_pool_no_free_buffer_pushes{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1883
-# HELP windows_mssql_databases_log_pool_req_behind_trunc (Databases.LogPoolReqBehindTrunc)
1884
-# TYPE windows_mssql_databases_log_pool_req_behind_trunc counter
1885
-windows_mssql_databases_log_pool_req_behind_trunc{database="master",mssql_instance="SQLEXPRESS"} 0
1886
-windows_mssql_databases_log_pool_req_behind_trunc{database="model",mssql_instance="SQLEXPRESS"} 0
1887
-windows_mssql_databases_log_pool_req_behind_trunc{database="msdb",mssql_instance="SQLEXPRESS"} 0
1888
-windows_mssql_databases_log_pool_req_behind_trunc{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1889
-windows_mssql_databases_log_pool_req_behind_trunc{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1890
-# HELP windows_mssql_databases_log_pool_requests (Databases.LogPoolRequests)
1891
-# TYPE windows_mssql_databases_log_pool_requests counter
1892
-windows_mssql_databases_log_pool_requests{database="master",mssql_instance="SQLEXPRESS"} 8
1893
-windows_mssql_databases_log_pool_requests{database="model",mssql_instance="SQLEXPRESS"} 8
1894
-windows_mssql_databases_log_pool_requests{database="msdb",mssql_instance="SQLEXPRESS"} 8
1895
-windows_mssql_databases_log_pool_requests{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 8
1896
-windows_mssql_databases_log_pool_requests{database="tempdb",mssql_instance="SQLEXPRESS"} 4
1897
-# HELP windows_mssql_databases_log_pool_requests_old_vlf (Databases.LogPoolRequestsOldVLF)
1898
-# TYPE windows_mssql_databases_log_pool_requests_old_vlf counter
1899
-windows_mssql_databases_log_pool_requests_old_vlf{database="master",mssql_instance="SQLEXPRESS"} 4
1900
-windows_mssql_databases_log_pool_requests_old_vlf{database="model",mssql_instance="SQLEXPRESS"} 4
1901
-windows_mssql_databases_log_pool_requests_old_vlf{database="msdb",mssql_instance="SQLEXPRESS"} 4
1902
-windows_mssql_databases_log_pool_requests_old_vlf{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 4
1903
-windows_mssql_databases_log_pool_requests_old_vlf{database="tempdb",mssql_instance="SQLEXPRESS"} 2
1904
-# HELP windows_mssql_databases_log_pool_total_active_log_bytes (Databases.LogPoolTotalActiveLogSize)
1905
-# TYPE windows_mssql_databases_log_pool_total_active_log_bytes gauge
1906
-windows_mssql_databases_log_pool_total_active_log_bytes{database="master",mssql_instance="SQLEXPRESS"} 806912
1907
-windows_mssql_databases_log_pool_total_active_log_bytes{database="model",mssql_instance="SQLEXPRESS"} 1.855488e+06
1908
-windows_mssql_databases_log_pool_total_active_log_bytes{database="msdb",mssql_instance="SQLEXPRESS"} 118784
1909
-windows_mssql_databases_log_pool_total_active_log_bytes{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 107008
1910
-windows_mssql_databases_log_pool_total_active_log_bytes{database="tempdb",mssql_instance="SQLEXPRESS"} 2.142208e+06
1911
-# HELP windows_mssql_databases_log_pool_total_shared_pool_bytes (Databases.LogPoolTotalSharedPoolSize)
1912
-# TYPE windows_mssql_databases_log_pool_total_shared_pool_bytes gauge
1913
-windows_mssql_databases_log_pool_total_shared_pool_bytes{database="master",mssql_instance="SQLEXPRESS"} 0
1914
-windows_mssql_databases_log_pool_total_shared_pool_bytes{database="model",mssql_instance="SQLEXPRESS"} 0
1915
-windows_mssql_databases_log_pool_total_shared_pool_bytes{database="msdb",mssql_instance="SQLEXPRESS"} 16384
1916
-windows_mssql_databases_log_pool_total_shared_pool_bytes{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 67584
1917
-windows_mssql_databases_log_pool_total_shared_pool_bytes{database="tempdb",mssql_instance="SQLEXPRESS"} 4096
1918
-# HELP windows_mssql_databases_log_shrinks (Databases.LogShrinks)
1919
-# TYPE windows_mssql_databases_log_shrinks gauge
1920
-windows_mssql_databases_log_shrinks{database="master",mssql_instance="SQLEXPRESS"} 0
1921
-windows_mssql_databases_log_shrinks{database="model",mssql_instance="SQLEXPRESS"} 0
1922
-windows_mssql_databases_log_shrinks{database="msdb",mssql_instance="SQLEXPRESS"} 0
1923
-windows_mssql_databases_log_shrinks{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1924
-windows_mssql_databases_log_shrinks{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1925
-# HELP windows_mssql_databases_log_truncations (Databases.LogTruncations)
1926
-# TYPE windows_mssql_databases_log_truncations gauge
1927
-windows_mssql_databases_log_truncations{database="master",mssql_instance="SQLEXPRESS"} 3
1928
-windows_mssql_databases_log_truncations{database="model",mssql_instance="SQLEXPRESS"} 0
1929
-windows_mssql_databases_log_truncations{database="msdb",mssql_instance="SQLEXPRESS"} 0
1930
-windows_mssql_databases_log_truncations{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1931
-windows_mssql_databases_log_truncations{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1932
-# HELP windows_mssql_databases_log_used_percent (Databases.PercentLogUsed)
1933
-# TYPE windows_mssql_databases_log_used_percent gauge
1934
-windows_mssql_databases_log_used_percent{database="master",mssql_instance="SQLEXPRESS"} 57
1935
-windows_mssql_databases_log_used_percent{database="model",mssql_instance="SQLEXPRESS"} 6
1936
-windows_mssql_databases_log_used_percent{database="msdb",mssql_instance="SQLEXPRESS"} 68
1937
-windows_mssql_databases_log_used_percent{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 49
1938
-windows_mssql_databases_log_used_percent{database="tempdb",mssql_instance="SQLEXPRESS"} 6
1939
-# HELP windows_mssql_databases_pending_repl_transactions (Databases.ReplPendingTransactions)
1940
-# TYPE windows_mssql_databases_pending_repl_transactions gauge
1941
-windows_mssql_databases_pending_repl_transactions{database="master",mssql_instance="SQLEXPRESS"} 0
1942
-windows_mssql_databases_pending_repl_transactions{database="model",mssql_instance="SQLEXPRESS"} 0
1943
-windows_mssql_databases_pending_repl_transactions{database="msdb",mssql_instance="SQLEXPRESS"} 0
1944
-windows_mssql_databases_pending_repl_transactions{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1945
-windows_mssql_databases_pending_repl_transactions{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1946
-# HELP windows_mssql_databases_repl_transactions (Databases.ReplTranactions)
1947
-# TYPE windows_mssql_databases_repl_transactions counter
1948
-windows_mssql_databases_repl_transactions{database="master",mssql_instance="SQLEXPRESS"} 0
1949
-windows_mssql_databases_repl_transactions{database="model",mssql_instance="SQLEXPRESS"} 0
1950
-windows_mssql_databases_repl_transactions{database="msdb",mssql_instance="SQLEXPRESS"} 0
1951
-windows_mssql_databases_repl_transactions{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1952
-windows_mssql_databases_repl_transactions{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1953
-# HELP windows_mssql_databases_shrink_data_movement_bytes (Databases.ShrinkDataMovementBytes)
1954
-# TYPE windows_mssql_databases_shrink_data_movement_bytes counter
1955
-windows_mssql_databases_shrink_data_movement_bytes{database="master",mssql_instance="SQLEXPRESS"} 0
1956
-windows_mssql_databases_shrink_data_movement_bytes{database="model",mssql_instance="SQLEXPRESS"} 0
1957
-windows_mssql_databases_shrink_data_movement_bytes{database="msdb",mssql_instance="SQLEXPRESS"} 0
1958
-windows_mssql_databases_shrink_data_movement_bytes{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1959
-windows_mssql_databases_shrink_data_movement_bytes{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1960
-# HELP windows_mssql_databases_tracked_transactions (Databases.Trackedtransactions)
1961
-# TYPE windows_mssql_databases_tracked_transactions counter
1962
-windows_mssql_databases_tracked_transactions{database="master",mssql_instance="SQLEXPRESS"} 0
1963
-windows_mssql_databases_tracked_transactions{database="model",mssql_instance="SQLEXPRESS"} 0
1964
-windows_mssql_databases_tracked_transactions{database="msdb",mssql_instance="SQLEXPRESS"} 0
1965
-windows_mssql_databases_tracked_transactions{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1966
-windows_mssql_databases_tracked_transactions{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1967
-# HELP windows_mssql_databases_transactions (Databases.Transactions)
1968
-# TYPE windows_mssql_databases_transactions counter
1969
-windows_mssql_databases_transactions{database="master",mssql_instance="SQLEXPRESS"} 2183
1970
-windows_mssql_databases_transactions{database="model",mssql_instance="SQLEXPRESS"} 4467
1971
-windows_mssql_databases_transactions{database="msdb",mssql_instance="SQLEXPRESS"} 4582
1972
-windows_mssql_databases_transactions{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 2
1973
-windows_mssql_databases_transactions{database="tempdb",mssql_instance="SQLEXPRESS"} 1558
1974
-# HELP windows_mssql_databases_write_transactions (Databases.WriteTransactions)
1975
-# TYPE windows_mssql_databases_write_transactions counter
1976
-windows_mssql_databases_write_transactions{database="master",mssql_instance="SQLEXPRESS"} 236
1977
-windows_mssql_databases_write_transactions{database="model",mssql_instance="SQLEXPRESS"} 0
1978
-windows_mssql_databases_write_transactions{database="msdb",mssql_instance="SQLEXPRESS"} 0
1979
-windows_mssql_databases_write_transactions{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1980
-windows_mssql_databases_write_transactions{database="tempdb",mssql_instance="SQLEXPRESS"} 29
1981
-# HELP windows_mssql_databases_xtp_controller_dlc_fetch_latency_seconds (Databases.XTPControllerDLCLatencyPerFetch)
1982
-# TYPE windows_mssql_databases_xtp_controller_dlc_fetch_latency_seconds gauge
1983
-windows_mssql_databases_xtp_controller_dlc_fetch_latency_seconds{database="master",mssql_instance="SQLEXPRESS"} 0
1984
-windows_mssql_databases_xtp_controller_dlc_fetch_latency_seconds{database="model",mssql_instance="SQLEXPRESS"} 0
1985
-windows_mssql_databases_xtp_controller_dlc_fetch_latency_seconds{database="msdb",mssql_instance="SQLEXPRESS"} 0
1986
-windows_mssql_databases_xtp_controller_dlc_fetch_latency_seconds{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1987
-windows_mssql_databases_xtp_controller_dlc_fetch_latency_seconds{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1988
-# HELP windows_mssql_databases_xtp_controller_dlc_peak_latency_seconds (Databases.XTPControllerDLCPeakLatency)
1989
-# TYPE windows_mssql_databases_xtp_controller_dlc_peak_latency_seconds gauge
1990
-windows_mssql_databases_xtp_controller_dlc_peak_latency_seconds{database="master",mssql_instance="SQLEXPRESS"} 0
1991
-windows_mssql_databases_xtp_controller_dlc_peak_latency_seconds{database="model",mssql_instance="SQLEXPRESS"} 0
1992
-windows_mssql_databases_xtp_controller_dlc_peak_latency_seconds{database="msdb",mssql_instance="SQLEXPRESS"} 0
1993
-windows_mssql_databases_xtp_controller_dlc_peak_latency_seconds{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
1994
-windows_mssql_databases_xtp_controller_dlc_peak_latency_seconds{database="tempdb",mssql_instance="SQLEXPRESS"} 0
1995
-# HELP windows_mssql_databases_xtp_controller_log_processed_bytes (Databases.XTPControllerLogProcessed)
1996
-# TYPE windows_mssql_databases_xtp_controller_log_processed_bytes counter
1997
-windows_mssql_databases_xtp_controller_log_processed_bytes{database="master",mssql_instance="SQLEXPRESS"} 0
1998
-windows_mssql_databases_xtp_controller_log_processed_bytes{database="model",mssql_instance="SQLEXPRESS"} 0
1999
-windows_mssql_databases_xtp_controller_log_processed_bytes{database="msdb",mssql_instance="SQLEXPRESS"} 0
2000
-windows_mssql_databases_xtp_controller_log_processed_bytes{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
2001
-windows_mssql_databases_xtp_controller_log_processed_bytes{database="tempdb",mssql_instance="SQLEXPRESS"} 0
2002
-# HELP windows_mssql_databases_xtp_memory_used_bytes (Databases.XTPMemoryUsedKB)
2003
-# TYPE windows_mssql_databases_xtp_memory_used_bytes gauge
2004
-windows_mssql_databases_xtp_memory_used_bytes{database="master",mssql_instance="SQLEXPRESS"} 0
2005
-windows_mssql_databases_xtp_memory_used_bytes{database="model",mssql_instance="SQLEXPRESS"} 0
2006
-windows_mssql_databases_xtp_memory_used_bytes{database="msdb",mssql_instance="SQLEXPRESS"} 0
2007
-windows_mssql_databases_xtp_memory_used_bytes{database="mssqlsystemresource",mssql_instance="SQLEXPRESS"} 0
2008
-windows_mssql_databases_xtp_memory_used_bytes{database="tempdb",mssql_instance="SQLEXPRESS"} 0
2009
-# HELP windows_mssql_genstats_active_temp_tables (GeneralStatistics.ActiveTempTables)
2010
-# TYPE windows_mssql_genstats_active_temp_tables gauge
2011
-windows_mssql_genstats_active_temp_tables{mssql_instance="SQLEXPRESS"} 0
2012
-# HELP windows_mssql_genstats_blocked_processes (GeneralStatistics.Processesblocked)
2013
-# TYPE windows_mssql_genstats_blocked_processes gauge
2014
-windows_mssql_genstats_blocked_processes{mssql_instance="SQLEXPRESS"} 0
2015
-# HELP windows_mssql_genstats_connection_resets (GeneralStatistics.ConnectionReset)
2016
-# TYPE windows_mssql_genstats_connection_resets counter
2017
-windows_mssql_genstats_connection_resets{mssql_instance="SQLEXPRESS"} 1108
2018
-# HELP windows_mssql_genstats_event_notifications_delayed_drop (GeneralStatistics.EventNotificationsDelayedDrop)
2019
-# TYPE windows_mssql_genstats_event_notifications_delayed_drop gauge
2020
-windows_mssql_genstats_event_notifications_delayed_drop{mssql_instance="SQLEXPRESS"} 0
2021
-# HELP windows_mssql_genstats_http_authenticated_requests (GeneralStatistics.HTTPAuthenticatedRequests)
2022
-# TYPE windows_mssql_genstats_http_authenticated_requests gauge
2023
-windows_mssql_genstats_http_authenticated_requests{mssql_instance="SQLEXPRESS"} 0
2024
-# HELP windows_mssql_genstats_logical_connections (GeneralStatistics.LogicalConnections)
2025
-# TYPE windows_mssql_genstats_logical_connections gauge
2026
-windows_mssql_genstats_logical_connections{mssql_instance="SQLEXPRESS"} 1
2027
-# HELP windows_mssql_genstats_logins (GeneralStatistics.Logins)
2028
-# TYPE windows_mssql_genstats_logins counter
2029
-windows_mssql_genstats_logins{mssql_instance="SQLEXPRESS"} 378
2030
-# HELP windows_mssql_genstats_logouts (GeneralStatistics.Logouts)
2031
-# TYPE windows_mssql_genstats_logouts counter
2032
-windows_mssql_genstats_logouts{mssql_instance="SQLEXPRESS"} 377
2033
-# HELP windows_mssql_genstats_mars_deadlocks (GeneralStatistics.MarsDeadlocks)
2034
-# TYPE windows_mssql_genstats_mars_deadlocks gauge
2035
-windows_mssql_genstats_mars_deadlocks{mssql_instance="SQLEXPRESS"} 0
2036
-# HELP windows_mssql_genstats_non_atomic_yields (GeneralStatistics.Nonatomicyields)
2037
-# TYPE windows_mssql_genstats_non_atomic_yields counter
2038
-windows_mssql_genstats_non_atomic_yields{mssql_instance="SQLEXPRESS"} 0
2039
-# HELP windows_mssql_genstats_soap_empty_requests (GeneralStatistics.SOAPEmptyRequests)
2040
-# TYPE windows_mssql_genstats_soap_empty_requests gauge
2041
-windows_mssql_genstats_soap_empty_requests{mssql_instance="SQLEXPRESS"} 0
2042
-# HELP windows_mssql_genstats_soap_method_invocations (GeneralStatistics.SOAPMethodInvocations)
2043
-# TYPE windows_mssql_genstats_soap_method_invocations gauge
2044
-windows_mssql_genstats_soap_method_invocations{mssql_instance="SQLEXPRESS"} 0
2045
-# HELP windows_mssql_genstats_soap_session_initiate_requests (GeneralStatistics.SOAPSessionInitiateRequests)
2046
-# TYPE windows_mssql_genstats_soap_session_initiate_requests gauge
2047
-windows_mssql_genstats_soap_session_initiate_requests{mssql_instance="SQLEXPRESS"} 0
2048
-# HELP windows_mssql_genstats_soap_session_terminate_requests (GeneralStatistics.SOAPSessionTerminateRequests)
2049
-# TYPE windows_mssql_genstats_soap_session_terminate_requests gauge
2050
-windows_mssql_genstats_soap_session_terminate_requests{mssql_instance="SQLEXPRESS"} 0
2051
-# HELP windows_mssql_genstats_soapsql_requests (GeneralStatistics.SOAPSQLRequests)
2052
-# TYPE windows_mssql_genstats_soapsql_requests gauge
2053
-windows_mssql_genstats_soapsql_requests{mssql_instance="SQLEXPRESS"} 0
2054
-# HELP windows_mssql_genstats_soapwsdl_requests (GeneralStatistics.SOAPWSDLRequests)
2055
-# TYPE windows_mssql_genstats_soapwsdl_requests gauge
2056
-windows_mssql_genstats_soapwsdl_requests{mssql_instance="SQLEXPRESS"} 0
2057
-# HELP windows_mssql_genstats_sql_trace_io_provider_lock_waits (GeneralStatistics.SQLTraceIOProviderLockWaits)
2058
-# TYPE windows_mssql_genstats_sql_trace_io_provider_lock_waits gauge
2059
-windows_mssql_genstats_sql_trace_io_provider_lock_waits{mssql_instance="SQLEXPRESS"} 0
2060
-# HELP windows_mssql_genstats_temp_tables_awaiting_destruction (GeneralStatistics.TempTablesForDestruction)
2061
-# TYPE windows_mssql_genstats_temp_tables_awaiting_destruction gauge
2062
-windows_mssql_genstats_temp_tables_awaiting_destruction{mssql_instance="SQLEXPRESS"} 0
2063
-# HELP windows_mssql_genstats_temp_tables_creations (GeneralStatistics.TempTablesCreations)
2064
-# TYPE windows_mssql_genstats_temp_tables_creations counter
2065
-windows_mssql_genstats_temp_tables_creations{mssql_instance="SQLEXPRESS"} 4
2066
-# HELP windows_mssql_genstats_tempdb_recovery_unit_ids_generated (GeneralStatistics.Tempdbrecoveryunitid)
2067
-# TYPE windows_mssql_genstats_tempdb_recovery_unit_ids_generated gauge
2068
-windows_mssql_genstats_tempdb_recovery_unit_ids_generated{mssql_instance="SQLEXPRESS"} 0
2069
-# HELP windows_mssql_genstats_tempdb_rowset_ids_generated (GeneralStatistics.Tempdbrowsetid)
2070
-# TYPE windows_mssql_genstats_tempdb_rowset_ids_generated gauge
2071
-windows_mssql_genstats_tempdb_rowset_ids_generated{mssql_instance="SQLEXPRESS"} 0
2072
-# HELP windows_mssql_genstats_trace_event_notification_queue_size (GeneralStatistics.TraceEventNotificationQueue)
2073
-# TYPE windows_mssql_genstats_trace_event_notification_queue_size gauge
2074
-windows_mssql_genstats_trace_event_notification_queue_size{mssql_instance="SQLEXPRESS"} 0
2075
-# HELP windows_mssql_genstats_transactions (GeneralStatistics.Transactions)
2076
-# TYPE windows_mssql_genstats_transactions gauge
2077
-windows_mssql_genstats_transactions{mssql_instance="SQLEXPRESS"} 0
2078
-# HELP windows_mssql_genstats_user_connections (GeneralStatistics.UserConnections)
2079
-# TYPE windows_mssql_genstats_user_connections gauge
2080
-windows_mssql_genstats_user_connections{mssql_instance="SQLEXPRESS"} 1
2081
-# HELP windows_mssql_locks_count (Locks.AverageWaitTimems_Base count of how often requests have run into locks)
2082
-# TYPE windows_mssql_locks_count gauge
2083
-windows_mssql_locks_count{mssql_instance="SQLEXPRESS",resource="AllocUnit"} 0
2084
-windows_mssql_locks_count{mssql_instance="SQLEXPRESS",resource="Application"} 0
2085
-windows_mssql_locks_count{mssql_instance="SQLEXPRESS",resource="Database"} 0.002
2086
-windows_mssql_locks_count{mssql_instance="SQLEXPRESS",resource="Extent"} 0
2087
-windows_mssql_locks_count{mssql_instance="SQLEXPRESS",resource="File"} 0
2088
-windows_mssql_locks_count{mssql_instance="SQLEXPRESS",resource="HoBT"} 0
2089
-windows_mssql_locks_count{mssql_instance="SQLEXPRESS",resource="Key"} 0
2090
-windows_mssql_locks_count{mssql_instance="SQLEXPRESS",resource="Metadata"} 0.001
2091
-windows_mssql_locks_count{mssql_instance="SQLEXPRESS",resource="OIB"} 0
2092
-windows_mssql_locks_count{mssql_instance="SQLEXPRESS",resource="Object"} 0
2093
-windows_mssql_locks_count{mssql_instance="SQLEXPRESS",resource="Page"} 0
2094
-windows_mssql_locks_count{mssql_instance="SQLEXPRESS",resource="RID"} 0
2095
-windows_mssql_locks_count{mssql_instance="SQLEXPRESS",resource="RowGroup"} 0
2096
-windows_mssql_locks_count{mssql_instance="SQLEXPRESS",resource="Xact"} 0
2097
-# HELP windows_mssql_locks_deadlocks (Locks.NumberofDeadlocks)
2098
-# TYPE windows_mssql_locks_deadlocks counter
2099
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="AllocUnit"} 0
2100
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="Application"} 0
2101
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="Database"} 0
2102
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="Extent"} 0
2103
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="File"} 0
2104
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="HoBT"} 0
2105
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="Key"} 0
2106
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="Metadata"} 0
2107
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="OIB"} 0
2108
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="Object"} 0
2109
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="Page"} 0
2110
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="RID"} 0
2111
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="RowGroup"} 0
2112
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="Xact"} 0
2113
-# HELP windows_mssql_locks_lock_requests (Locks.LockRequests)
2114
-# TYPE windows_mssql_locks_lock_requests counter
2115
-windows_mssql_locks_lock_requests{mssql_instance="SQLEXPRESS",resource="AllocUnit"} 0
2116
-windows_mssql_locks_lock_requests{mssql_instance="SQLEXPRESS",resource="Application"} 0
2117
-windows_mssql_locks_lock_requests{mssql_instance="SQLEXPRESS",resource="Database"} 204467
2118
-windows_mssql_locks_lock_requests{mssql_instance="SQLEXPRESS",resource="Extent"} 402
2119
-windows_mssql_locks_lock_requests{mssql_instance="SQLEXPRESS",resource="File"} 19
2120
-windows_mssql_locks_lock_requests{mssql_instance="SQLEXPRESS",resource="HoBT"} 28
2121
-windows_mssql_locks_lock_requests{mssql_instance="SQLEXPRESS",resource="Key"} 1.681875e+06
2122
-windows_mssql_locks_lock_requests{mssql_instance="SQLEXPRESS",resource="Metadata"} 25785
2123
-windows_mssql_locks_lock_requests{mssql_instance="SQLEXPRESS",resource="OIB"} 0
2124
-windows_mssql_locks_lock_requests{mssql_instance="SQLEXPRESS",resource="Object"} 760875
2125
-windows_mssql_locks_lock_requests{mssql_instance="SQLEXPRESS",resource="Page"} 757
2126
-windows_mssql_locks_lock_requests{mssql_instance="SQLEXPRESS",resource="RID"} 123
2127
-windows_mssql_locks_lock_requests{mssql_instance="SQLEXPRESS",resource="RowGroup"} 0
2128
-windows_mssql_locks_lock_requests{mssql_instance="SQLEXPRESS",resource="Xact"} 0
2129
-# HELP windows_mssql_locks_lock_timeouts (Locks.LockTimeouts)
2130
-# TYPE windows_mssql_locks_lock_timeouts counter
2131
-windows_mssql_locks_lock_timeouts{mssql_instance="SQLEXPRESS",resource="AllocUnit"} 0
2132
-windows_mssql_locks_lock_timeouts{mssql_instance="SQLEXPRESS",resource="Application"} 0
2133
-windows_mssql_locks_lock_timeouts{mssql_instance="SQLEXPRESS",resource="Database"} 4
2134
-windows_mssql_locks_lock_timeouts{mssql_instance="SQLEXPRESS",resource="Extent"} 0
2135
-windows_mssql_locks_lock_timeouts{mssql_instance="SQLEXPRESS",resource="File"} 0
2136
-windows_mssql_locks_lock_timeouts{mssql_instance="SQLEXPRESS",resource="HoBT"} 0
2137
-windows_mssql_locks_lock_timeouts{mssql_instance="SQLEXPRESS",resource="Key"} 216
2138
-windows_mssql_locks_lock_timeouts{mssql_instance="SQLEXPRESS",resource="Metadata"} 0
2139
-windows_mssql_locks_lock_timeouts{mssql_instance="SQLEXPRESS",resource="OIB"} 0
2140
-windows_mssql_locks_lock_timeouts{mssql_instance="SQLEXPRESS",resource="Object"} 0
2141
-windows_mssql_locks_lock_timeouts{mssql_instance="SQLEXPRESS",resource="Page"} 0
2142
-windows_mssql_locks_lock_timeouts{mssql_instance="SQLEXPRESS",resource="RID"} 0
2143
-windows_mssql_locks_lock_timeouts{mssql_instance="SQLEXPRESS",resource="RowGroup"} 0
2144
-windows_mssql_locks_lock_timeouts{mssql_instance="SQLEXPRESS",resource="Xact"} 0
2145
-# HELP windows_mssql_locks_lock_timeouts_excluding_NOWAIT (Locks.LockTimeoutstimeout0)
2146
-# TYPE windows_mssql_locks_lock_timeouts_excluding_NOWAIT counter
2147
-windows_mssql_locks_lock_timeouts_excluding_NOWAIT{mssql_instance="SQLEXPRESS",resource="AllocUnit"} 0
2148
-windows_mssql_locks_lock_timeouts_excluding_NOWAIT{mssql_instance="SQLEXPRESS",resource="Application"} 0
2149
-windows_mssql_locks_lock_timeouts_excluding_NOWAIT{mssql_instance="SQLEXPRESS",resource="Database"} 0
2150
-windows_mssql_locks_lock_timeouts_excluding_NOWAIT{mssql_instance="SQLEXPRESS",resource="Extent"} 0
2151
-windows_mssql_locks_lock_timeouts_excluding_NOWAIT{mssql_instance="SQLEXPRESS",resource="File"} 0
2152
-windows_mssql_locks_lock_timeouts_excluding_NOWAIT{mssql_instance="SQLEXPRESS",resource="HoBT"} 0
2153
-windows_mssql_locks_lock_timeouts_excluding_NOWAIT{mssql_instance="SQLEXPRESS",resource="Key"} 0
2154
-windows_mssql_locks_lock_timeouts_excluding_NOWAIT{mssql_instance="SQLEXPRESS",resource="Metadata"} 0
2155
-windows_mssql_locks_lock_timeouts_excluding_NOWAIT{mssql_instance="SQLEXPRESS",resource="OIB"} 0
2156
-windows_mssql_locks_lock_timeouts_excluding_NOWAIT{mssql_instance="SQLEXPRESS",resource="Object"} 0
2157
-windows_mssql_locks_lock_timeouts_excluding_NOWAIT{mssql_instance="SQLEXPRESS",resource="Page"} 0
2158
-windows_mssql_locks_lock_timeouts_excluding_NOWAIT{mssql_instance="SQLEXPRESS",resource="RID"} 0
2159
-windows_mssql_locks_lock_timeouts_excluding_NOWAIT{mssql_instance="SQLEXPRESS",resource="RowGroup"} 0
2160
-windows_mssql_locks_lock_timeouts_excluding_NOWAIT{mssql_instance="SQLEXPRESS",resource="Xact"} 0
2161
-# HELP windows_mssql_locks_lock_wait_seconds (Locks.LockWaitTimems)
2162
-# TYPE windows_mssql_locks_lock_wait_seconds gauge
2163
-windows_mssql_locks_lock_wait_seconds{mssql_instance="SQLEXPRESS",resource="AllocUnit"} 0
2164
-windows_mssql_locks_lock_wait_seconds{mssql_instance="SQLEXPRESS",resource="Application"} 0
2165
-windows_mssql_locks_lock_wait_seconds{mssql_instance="SQLEXPRESS",resource="Database"} 0.391
2166
-windows_mssql_locks_lock_wait_seconds{mssql_instance="SQLEXPRESS",resource="Extent"} 0
2167
-windows_mssql_locks_lock_wait_seconds{mssql_instance="SQLEXPRESS",resource="File"} 0
2168
-windows_mssql_locks_lock_wait_seconds{mssql_instance="SQLEXPRESS",resource="HoBT"} 0
2169
-windows_mssql_locks_lock_wait_seconds{mssql_instance="SQLEXPRESS",resource="Key"} 0
2170
-windows_mssql_locks_lock_wait_seconds{mssql_instance="SQLEXPRESS",resource="Metadata"} 0.015
2171
-windows_mssql_locks_lock_wait_seconds{mssql_instance="SQLEXPRESS",resource="OIB"} 0
2172
-windows_mssql_locks_lock_wait_seconds{mssql_instance="SQLEXPRESS",resource="Object"} 0
2173
-windows_mssql_locks_lock_wait_seconds{mssql_instance="SQLEXPRESS",resource="Page"} 0
2174
-windows_mssql_locks_lock_wait_seconds{mssql_instance="SQLEXPRESS",resource="RID"} 0
2175
-windows_mssql_locks_lock_wait_seconds{mssql_instance="SQLEXPRESS",resource="RowGroup"} 0
2176
-windows_mssql_locks_lock_wait_seconds{mssql_instance="SQLEXPRESS",resource="Xact"} 0
2177
-# HELP windows_mssql_locks_lock_waits (Locks.LockWaits)
2178
-# TYPE windows_mssql_locks_lock_waits counter
2179
-windows_mssql_locks_lock_waits{mssql_instance="SQLEXPRESS",resource="AllocUnit"} 0
2180
-windows_mssql_locks_lock_waits{mssql_instance="SQLEXPRESS",resource="Application"} 0
2181
-windows_mssql_locks_lock_waits{mssql_instance="SQLEXPRESS",resource="Database"} 2
2182
-windows_mssql_locks_lock_waits{mssql_instance="SQLEXPRESS",resource="Extent"} 0
2183
-windows_mssql_locks_lock_waits{mssql_instance="SQLEXPRESS",resource="File"} 0
2184
-windows_mssql_locks_lock_waits{mssql_instance="SQLEXPRESS",resource="HoBT"} 0
2185
-windows_mssql_locks_lock_waits{mssql_instance="SQLEXPRESS",resource="Key"} 0
2186
-windows_mssql_locks_lock_waits{mssql_instance="SQLEXPRESS",resource="Metadata"} 1
2187
-windows_mssql_locks_lock_waits{mssql_instance="SQLEXPRESS",resource="OIB"} 0
2188
-windows_mssql_locks_lock_waits{mssql_instance="SQLEXPRESS",resource="Object"} 0
2189
-windows_mssql_locks_lock_waits{mssql_instance="SQLEXPRESS",resource="Page"} 0
2190
-windows_mssql_locks_lock_waits{mssql_instance="SQLEXPRESS",resource="RID"} 0
2191
-windows_mssql_locks_lock_waits{mssql_instance="SQLEXPRESS",resource="RowGroup"} 0
2192
-windows_mssql_locks_lock_waits{mssql_instance="SQLEXPRESS",resource="Xact"} 0
2193
-# HELP windows_mssql_locks_deadlocks (Locks.NumberofDeadlocks)
2194
-# TYPE windows_mssql_locks_deadlocks counter
2195
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="AllocUnit"} 0
2196
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="Application"} 0
2197
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="Database"} 0
2198
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="Extent"} 0
2199
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="File"} 0
2200
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="HoBT"} 0
2201
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="Key"} 0
2202
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="Metadata"} 0
2203
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="OIB"} 0
2204
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="Object"} 0
2205
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="Page"} 0
2206
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="RID"} 0
2207
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="RowGroup"} 0
2208
-windows_mssql_locks_deadlocks{mssql_instance="SQLEXPRESS",resource="Xact"} 0
2209
-# HELP windows_mssql_locks_wait_time_seconds (Locks.AverageWaitTimems Total time in seconds which locks have been holding resources)
2210
-# TYPE windows_mssql_locks_wait_time_seconds gauge
2211
-windows_mssql_locks_wait_time_seconds{mssql_instance="SQLEXPRESS",resource="AllocUnit"} 0
2212
-windows_mssql_locks_wait_time_seconds{mssql_instance="SQLEXPRESS",resource="Application"} 0
2213
-windows_mssql_locks_wait_time_seconds{mssql_instance="SQLEXPRESS",resource="Database"} 0.391
2214
-windows_mssql_locks_wait_time_seconds{mssql_instance="SQLEXPRESS",resource="Extent"} 0
2215
-windows_mssql_locks_wait_time_seconds{mssql_instance="SQLEXPRESS",resource="File"} 0
2216
-windows_mssql_locks_wait_time_seconds{mssql_instance="SQLEXPRESS",resource="HoBT"} 0
2217
-windows_mssql_locks_wait_time_seconds{mssql_instance="SQLEXPRESS",resource="Key"} 0
2218
-windows_mssql_locks_wait_time_seconds{mssql_instance="SQLEXPRESS",resource="Metadata"} 0.015
2219
-windows_mssql_locks_wait_time_seconds{mssql_instance="SQLEXPRESS",resource="OIB"} 0
2220
-windows_mssql_locks_wait_time_seconds{mssql_instance="SQLEXPRESS",resource="Object"} 0
2221
-windows_mssql_locks_wait_time_seconds{mssql_instance="SQLEXPRESS",resource="Page"} 0
2222
-windows_mssql_locks_wait_time_seconds{mssql_instance="SQLEXPRESS",resource="RID"} 0
2223
-windows_mssql_locks_wait_time_seconds{mssql_instance="SQLEXPRESS",resource="RowGroup"} 0
2224
-windows_mssql_locks_wait_time_seconds{mssql_instance="SQLEXPRESS",resource="Xact"} 0
2225
-# HELP windows_mssql_memmgr_allocated_lock_blocks (MemoryManager.LockBlocksAllocated)
2226
-# TYPE windows_mssql_memmgr_allocated_lock_blocks gauge
2227
-windows_mssql_memmgr_allocated_lock_blocks{mssql_instance="SQLEXPRESS"} 0
2228
-# HELP windows_mssql_memmgr_allocated_lock_owner_blocks (MemoryManager.LockOwnerBlocksAllocated)
2229
-# TYPE windows_mssql_memmgr_allocated_lock_owner_blocks gauge
2230
-windows_mssql_memmgr_allocated_lock_owner_blocks{mssql_instance="SQLEXPRESS"} 0
2231
-# HELP windows_mssql_memmgr_connection_memory_bytes (MemoryManager.ConnectionMemoryKB)
2232
-# TYPE windows_mssql_memmgr_connection_memory_bytes gauge
2233
-windows_mssql_memmgr_connection_memory_bytes{mssql_instance="SQLEXPRESS"} 1.015808e+06
2234
-# HELP windows_mssql_memmgr_database_cache_memory_bytes (MemoryManager.DatabaseCacheMemoryKB)
2235
-# TYPE windows_mssql_memmgr_database_cache_memory_bytes gauge
2236
-windows_mssql_memmgr_database_cache_memory_bytes{mssql_instance="SQLEXPRESS"} 6.791168e+06
2237
-# HELP windows_mssql_memmgr_external_benefit_of_memory (MemoryManager.Externalbenefitofmemory)
2238
-# TYPE windows_mssql_memmgr_external_benefit_of_memory gauge
2239
-windows_mssql_memmgr_external_benefit_of_memory{mssql_instance="SQLEXPRESS"} 0
2240
-# HELP windows_mssql_memmgr_free_memory_bytes (MemoryManager.FreeMemoryKB)
2241
-# TYPE windows_mssql_memmgr_free_memory_bytes gauge
2242
-windows_mssql_memmgr_free_memory_bytes{mssql_instance="SQLEXPRESS"} 1.9234816e+07
2243
-# HELP windows_mssql_memmgr_granted_workspace_memory_bytes (MemoryManager.GrantedWorkspaceMemoryKB)
2244
-# TYPE windows_mssql_memmgr_granted_workspace_memory_bytes gauge
2245
-windows_mssql_memmgr_granted_workspace_memory_bytes{mssql_instance="SQLEXPRESS"} 0
2246
-# HELP windows_mssql_memmgr_lock_blocks (MemoryManager.LockBlocks)
2247
-# TYPE windows_mssql_memmgr_lock_blocks gauge
2248
-windows_mssql_memmgr_lock_blocks{mssql_instance="SQLEXPRESS"} 0
2249
-# HELP windows_mssql_memmgr_lock_memory_bytes (MemoryManager.LockMemoryKB)
2250
-# TYPE windows_mssql_memmgr_lock_memory_bytes gauge
2251
-windows_mssql_memmgr_lock_memory_bytes{mssql_instance="SQLEXPRESS"} 663552
2252
-# HELP windows_mssql_memmgr_lock_owner_blocks (MemoryManager.LockOwnerBlocks)
2253
-# TYPE windows_mssql_memmgr_lock_owner_blocks gauge
2254
-windows_mssql_memmgr_lock_owner_blocks{mssql_instance="SQLEXPRESS"} 0
2255
-# HELP windows_mssql_memmgr_log_pool_memory_bytes (MemoryManager.LogPoolMemoryKB)
2256
-# TYPE windows_mssql_memmgr_log_pool_memory_bytes gauge
2257
-windows_mssql_memmgr_log_pool_memory_bytes{mssql_instance="SQLEXPRESS"} 2.834432e+06
2258
-# HELP windows_mssql_memmgr_maximum_workspace_memory_bytes (MemoryManager.MaximumWorkspaceMemoryKB)
2259
-# TYPE windows_mssql_memmgr_maximum_workspace_memory_bytes gauge
2260
-windows_mssql_memmgr_maximum_workspace_memory_bytes{mssql_instance="SQLEXPRESS"} 1.36482816e+09
2261
-# HELP windows_mssql_memmgr_optimizer_memory_bytes (MemoryManager.OptimizerMemoryKB)
2262
-# TYPE windows_mssql_memmgr_optimizer_memory_bytes gauge
2263
-windows_mssql_memmgr_optimizer_memory_bytes{mssql_instance="SQLEXPRESS"} 1.007616e+06
2264
-# HELP windows_mssql_memmgr_outstanding_memory_grants (MemoryManager.MemoryGrantsOutstanding)
2265
-# TYPE windows_mssql_memmgr_outstanding_memory_grants gauge
2266
-windows_mssql_memmgr_outstanding_memory_grants{mssql_instance="SQLEXPRESS"} 0
2267
-# HELP windows_mssql_memmgr_pending_memory_grants (MemoryManager.MemoryGrantsPending)
2268
-# TYPE windows_mssql_memmgr_pending_memory_grants gauge
2269
-windows_mssql_memmgr_pending_memory_grants{mssql_instance="SQLEXPRESS"} 0
2270
-# HELP windows_mssql_memmgr_reserved_server_memory_bytes (MemoryManager.ReservedServerMemoryKB)
2271
-# TYPE windows_mssql_memmgr_reserved_server_memory_bytes gauge
2272
-windows_mssql_memmgr_reserved_server_memory_bytes{mssql_instance="SQLEXPRESS"} 0
2273
-# HELP windows_mssql_memmgr_sql_cache_memory_bytes (MemoryManager.SQLCacheMemoryKB)
2274
-# TYPE windows_mssql_memmgr_sql_cache_memory_bytes gauge
2275
-windows_mssql_memmgr_sql_cache_memory_bytes{mssql_instance="SQLEXPRESS"} 1.728512e+06
2276
-# HELP windows_mssql_memmgr_stolen_server_memory_bytes (MemoryManager.StolenServerMemoryKB)
2277
-# TYPE windows_mssql_memmgr_stolen_server_memory_bytes gauge
2278
-windows_mssql_memmgr_stolen_server_memory_bytes{mssql_instance="SQLEXPRESS"} 1.7281024e+08
2279
-# HELP windows_mssql_memmgr_target_server_memory_bytes (MemoryManager.TargetServerMemoryKB)
2280
-# TYPE windows_mssql_memmgr_target_server_memory_bytes gauge
2281
-windows_mssql_memmgr_target_server_memory_bytes{mssql_instance="SQLEXPRESS"} 1.816387584e+09
2282
-# HELP windows_mssql_memmgr_total_server_memory_bytes (MemoryManager.TotalServerMemoryKB)
2283
-# TYPE windows_mssql_memmgr_total_server_memory_bytes gauge
2284
-windows_mssql_memmgr_total_server_memory_bytes{mssql_instance="SQLEXPRESS"} 1.98836224e+08
2285
-# HELP windows_mssql_sql_errors_total (SQLErrors.Total)
2286
-# TYPE windows_mssql_sql_errors_total counter
2287
-windows_mssql_sql_errors_total{mssql_instance="SQLEXPRESS",resource="DB Offline Errors"} 0
2288
-windows_mssql_sql_errors_total{mssql_instance="SQLEXPRESS",resource="Info Errors"} 766
2289
-windows_mssql_sql_errors_total{mssql_instance="SQLEXPRESS",resource="Kill Connection Errors"} 0
2290
-windows_mssql_sql_errors_total{mssql_instance="SQLEXPRESS",resource="User Errors"} 29
2291
-# HELP windows_mssql_sqlstats_auto_parameterization_attempts (SQLStatistics.AutoParamAttempts)
2292
-# TYPE windows_mssql_sqlstats_auto_parameterization_attempts counter
2293
-windows_mssql_sqlstats_auto_parameterization_attempts{mssql_instance="SQLEXPRESS"} 37
2294
-# HELP windows_mssql_sqlstats_batch_requests (SQLStatistics.BatchRequests)
2295
-# TYPE windows_mssql_sqlstats_batch_requests counter
2296
-windows_mssql_sqlstats_batch_requests{mssql_instance="SQLEXPRESS"} 2972
2297
-# HELP windows_mssql_sqlstats_failed_auto_parameterization_attempts (SQLStatistics.FailedAutoParams)
2298
-# TYPE windows_mssql_sqlstats_failed_auto_parameterization_attempts counter
2299
-windows_mssql_sqlstats_failed_auto_parameterization_attempts{mssql_instance="SQLEXPRESS"} 29
2300
-# HELP windows_mssql_sqlstats_forced_parameterizations (SQLStatistics.ForcedParameterizations)
2301
-# TYPE windows_mssql_sqlstats_forced_parameterizations counter
2302
-windows_mssql_sqlstats_forced_parameterizations{mssql_instance="SQLEXPRESS"} 0
2303
-# HELP windows_mssql_sqlstats_guided_plan_executions (SQLStatistics.Guidedplanexecutions)
2304
-# TYPE windows_mssql_sqlstats_guided_plan_executions counter
2305
-windows_mssql_sqlstats_guided_plan_executions{mssql_instance="SQLEXPRESS"} 0
2306
-# HELP windows_mssql_sqlstats_misguided_plan_executions (SQLStatistics.Misguidedplanexecutions)
2307
-# TYPE windows_mssql_sqlstats_misguided_plan_executions counter
2308
-windows_mssql_sqlstats_misguided_plan_executions{mssql_instance="SQLEXPRESS"} 0
2309
-# HELP windows_mssql_sqlstats_safe_auto_parameterization_attempts (SQLStatistics.SafeAutoParams)
2310
-# TYPE windows_mssql_sqlstats_safe_auto_parameterization_attempts counter
2311
-windows_mssql_sqlstats_safe_auto_parameterization_attempts{mssql_instance="SQLEXPRESS"} 2
2312
-# HELP windows_mssql_sqlstats_sql_attentions (SQLStatistics.SQLAttentions)
2313
-# TYPE windows_mssql_sqlstats_sql_attentions counter
2314
-windows_mssql_sqlstats_sql_attentions{mssql_instance="SQLEXPRESS"} 0
2315
-# HELP windows_mssql_sqlstats_sql_compilations (SQLStatistics.SQLCompilations)
2316
-# TYPE windows_mssql_sqlstats_sql_compilations counter
2317
-windows_mssql_sqlstats_sql_compilations{mssql_instance="SQLEXPRESS"} 376
2318
-# HELP windows_mssql_sqlstats_sql_recompilations (SQLStatistics.SQLReCompilations)
2319
-# TYPE windows_mssql_sqlstats_sql_recompilations counter
2320
-windows_mssql_sqlstats_sql_recompilations{mssql_instance="SQLEXPRESS"} 8
2321
-# HELP windows_mssql_sqlstats_unsafe_auto_parameterization_attempts (SQLStatistics.UnsafeAutoParams)
2322
-# TYPE windows_mssql_sqlstats_unsafe_auto_parameterization_attempts counter
2323
-windows_mssql_sqlstats_unsafe_auto_parameterization_attempts{mssql_instance="SQLEXPRESS"} 6
2324
-# HELP windows_mssql_transactions_active (Transactions.Transactions)
2325
-# TYPE windows_mssql_transactions_active gauge
2326
-windows_mssql_transactions_active{mssql_instance="SQLEXPRESS"} 6
2327
-# HELP windows_mssql_transactions_longest_transaction_running_seconds (Transactions.LongestTransactionRunningTime)
2328
-# TYPE windows_mssql_transactions_longest_transaction_running_seconds gauge
2329
-windows_mssql_transactions_longest_transaction_running_seconds{mssql_instance="SQLEXPRESS"} 0
2330
-# HELP windows_mssql_transactions_nonsnapshot_version_active_total (Transactions.NonSnapshotVersionTransactions)
2331
-# TYPE windows_mssql_transactions_nonsnapshot_version_active_total counter
2332
-windows_mssql_transactions_nonsnapshot_version_active_total{mssql_instance="SQLEXPRESS"} 0
2333
-# HELP windows_mssql_transactions_snapshot_active_total (Transactions.SnapshotTransactions)
2334
-# TYPE windows_mssql_transactions_snapshot_active_total counter
2335
-windows_mssql_transactions_snapshot_active_total{mssql_instance="SQLEXPRESS"} 0
2336
-# HELP windows_mssql_transactions_tempdb_free_space_bytes (Transactions.FreeSpaceInTempDbKB)
2337
-# TYPE windows_mssql_transactions_tempdb_free_space_bytes gauge
2338
-windows_mssql_transactions_tempdb_free_space_bytes{mssql_instance="SQLEXPRESS"} 5.046272e+06
2339
-# HELP windows_mssql_transactions_update_conflicts_total (Transactions.UpdateConflictRatio)
2340
-# TYPE windows_mssql_transactions_update_conflicts_total counter
2341
-windows_mssql_transactions_update_conflicts_total{mssql_instance="SQLEXPRESS"} 0
2342
-# HELP windows_mssql_transactions_update_snapshot_active_total (Transactions.UpdateSnapshotTransactions)
2343
-# TYPE windows_mssql_transactions_update_snapshot_active_total counter
2344
-windows_mssql_transactions_update_snapshot_active_total{mssql_instance="SQLEXPRESS"} 0
2345
-# HELP windows_mssql_transactions_version_cleanup_rate_bytes (Transactions.VersionCleanupRateKBs)
2346
-# TYPE windows_mssql_transactions_version_cleanup_rate_bytes gauge
2347
-windows_mssql_transactions_version_cleanup_rate_bytes{mssql_instance="SQLEXPRESS"} 0
2348
-# HELP windows_mssql_transactions_version_generation_rate_bytes (Transactions.VersionGenerationRateKBs)
2349
-# TYPE windows_mssql_transactions_version_generation_rate_bytes gauge
2350
-windows_mssql_transactions_version_generation_rate_bytes{mssql_instance="SQLEXPRESS"} 0
2351
-# HELP windows_mssql_transactions_version_store_creation_units (Transactions.VersionStoreUnitCreation)
2352
-# TYPE windows_mssql_transactions_version_store_creation_units counter
2353
-windows_mssql_transactions_version_store_creation_units{mssql_instance="SQLEXPRESS"} 2
2354
-# HELP windows_mssql_transactions_version_store_size_bytes (Transactions.VersionStoreSizeKB)
2355
-# TYPE windows_mssql_transactions_version_store_size_bytes gauge
2356
-windows_mssql_transactions_version_store_size_bytes{mssql_instance="SQLEXPRESS"} 0
2357
-# HELP windows_mssql_transactions_version_store_truncation_units (Transactions.VersionStoreUnitTruncation)
2358
-# TYPE windows_mssql_transactions_version_store_truncation_units counter
2359
-windows_mssql_transactions_version_store_truncation_units{mssql_instance="SQLEXPRESS"} 0
2360
-# HELP windows_mssql_transactions_version_store_units (Transactions.VersionStoreUnitCount)
2361
-# TYPE windows_mssql_transactions_version_store_units counter
2362
-windows_mssql_transactions_version_store_units{mssql_instance="SQLEXPRESS"} 2
2363
-# HELP windows_mssql_waitstats_lock_waits (WaitStats.LockWaits)
2364
-# TYPE windows_mssql_waitstats_lock_waits counter
2365
-windows_mssql_waitstats_lock_waits{item="Average wait time (ms)",mssql_instance="SQLEXPRESS"} 0
2366
-windows_mssql_waitstats_lock_waits{item="Cumulative wait time (ms) per second",mssql_instance="SQLEXPRESS"} 0
2367
-windows_mssql_waitstats_lock_waits{item="Waits in progress",mssql_instance="SQLEXPRESS"} 0
2368
-windows_mssql_waitstats_lock_waits{item="Waits started per second",mssql_instance="SQLEXPRESS"} 0
2369
-# HELP windows_mssql_waitstats_log_buffer_waits (WaitStats.LogBufferWaits)
2370
-# TYPE windows_mssql_waitstats_log_buffer_waits counter
2371
-windows_mssql_waitstats_log_buffer_waits{item="Average wait time (ms)",mssql_instance="SQLEXPRESS"} 0
2372
-windows_mssql_waitstats_log_buffer_waits{item="Cumulative wait time (ms) per second",mssql_instance="SQLEXPRESS"} 0
2373
-windows_mssql_waitstats_log_buffer_waits{item="Waits in progress",mssql_instance="SQLEXPRESS"} 0
2374
-windows_mssql_waitstats_log_buffer_waits{item="Waits started per second",mssql_instance="SQLEXPRESS"} 0
2375
-# HELP windows_mssql_waitstats_log_write_waits (WaitStats.LogWriteWaits)
2376
-# TYPE windows_mssql_waitstats_log_write_waits counter
2377
-windows_mssql_waitstats_log_write_waits{item="Average wait time (ms)",mssql_instance="SQLEXPRESS"} 0
2378
-windows_mssql_waitstats_log_write_waits{item="Cumulative wait time (ms) per second",mssql_instance="SQLEXPRESS"} 0
2379
-windows_mssql_waitstats_log_write_waits{item="Waits in progress",mssql_instance="SQLEXPRESS"} 0
2380
-windows_mssql_waitstats_log_write_waits{item="Waits started per second",mssql_instance="SQLEXPRESS"} 0
2381
-# HELP windows_mssql_waitstats_memory_grant_queue_waits (WaitStats.MemoryGrantQueueWaits)
2382
-# TYPE windows_mssql_waitstats_memory_grant_queue_waits counter
2383
-windows_mssql_waitstats_memory_grant_queue_waits{item="Average wait time (ms)",mssql_instance="SQLEXPRESS"} 0
2384
-windows_mssql_waitstats_memory_grant_queue_waits{item="Cumulative wait time (ms) per second",mssql_instance="SQLEXPRESS"} 0
2385
-windows_mssql_waitstats_memory_grant_queue_waits{item="Waits in progress",mssql_instance="SQLEXPRESS"} 0
2386
-windows_mssql_waitstats_memory_grant_queue_waits{item="Waits started per second",mssql_instance="SQLEXPRESS"} 0
2387
-# HELP windows_mssql_waitstats_network_io_waits (WaitStats.NetworkIOWaits)
2388
-# TYPE windows_mssql_waitstats_network_io_waits counter
2389
-windows_mssql_waitstats_network_io_waits{item="Average wait time (ms)",mssql_instance="SQLEXPRESS"} 0
2390
-windows_mssql_waitstats_network_io_waits{item="Cumulative wait time (ms) per second",mssql_instance="SQLEXPRESS"} 0
2391
-windows_mssql_waitstats_network_io_waits{item="Waits in progress",mssql_instance="SQLEXPRESS"} 0
2392
-windows_mssql_waitstats_network_io_waits{item="Waits started per second",mssql_instance="SQLEXPRESS"} 0
2393
-# HELP windows_mssql_waitstats_nonpage_latch_waits (WaitStats.NonpageLatchWaits)
2394
-# TYPE windows_mssql_waitstats_nonpage_latch_waits counter
2395
-windows_mssql_waitstats_nonpage_latch_waits{item="Average wait time (ms)",mssql_instance="SQLEXPRESS"} 0
2396
-windows_mssql_waitstats_nonpage_latch_waits{item="Cumulative wait time (ms) per second",mssql_instance="SQLEXPRESS"} 0
2397
-windows_mssql_waitstats_nonpage_latch_waits{item="Waits in progress",mssql_instance="SQLEXPRESS"} 0
2398
-windows_mssql_waitstats_nonpage_latch_waits{item="Waits started per second",mssql_instance="SQLEXPRESS"} 0
2399
-# HELP windows_mssql_waitstats_page_io_latch_waits (WaitStats.PageIOLatchWaits)
2400
-# TYPE windows_mssql_waitstats_page_io_latch_waits counter
2401
-windows_mssql_waitstats_page_io_latch_waits{item="Average wait time (ms)",mssql_instance="SQLEXPRESS"} 0
2402
-windows_mssql_waitstats_page_io_latch_waits{item="Cumulative wait time (ms) per second",mssql_instance="SQLEXPRESS"} 0
2403
-windows_mssql_waitstats_page_io_latch_waits{item="Waits in progress",mssql_instance="SQLEXPRESS"} 0
2404
-windows_mssql_waitstats_page_io_latch_waits{item="Waits started per second",mssql_instance="SQLEXPRESS"} 0
2405
-# HELP windows_mssql_waitstats_page_latch_waits (WaitStats.PageLatchWaits)
2406
-# TYPE windows_mssql_waitstats_page_latch_waits counter
2407
-windows_mssql_waitstats_page_latch_waits{item="Average wait time (ms)",mssql_instance="SQLEXPRESS"} 0
2408
-windows_mssql_waitstats_page_latch_waits{item="Cumulative wait time (ms) per second",mssql_instance="SQLEXPRESS"} 0
2409
-windows_mssql_waitstats_page_latch_waits{item="Waits in progress",mssql_instance="SQLEXPRESS"} 0
2410
-windows_mssql_waitstats_page_latch_waits{item="Waits started per second",mssql_instance="SQLEXPRESS"} 0
2411
-# HELP windows_mssql_waitstats_thread_safe_memory_objects_waits (WaitStats.ThreadSafeMemoryObjectsWaits)
2412
-# TYPE windows_mssql_waitstats_thread_safe_memory_objects_waits counter
2413
-windows_mssql_waitstats_thread_safe_memory_objects_waits{item="Average wait time (ms)",mssql_instance="SQLEXPRESS"} 0
2414
-windows_mssql_waitstats_thread_safe_memory_objects_waits{item="Cumulative wait time (ms) per second",mssql_instance="SQLEXPRESS"} 0
2415
-windows_mssql_waitstats_thread_safe_memory_objects_waits{item="Waits in progress",mssql_instance="SQLEXPRESS"} 0
2416
-windows_mssql_waitstats_thread_safe_memory_objects_waits{item="Waits started per second",mssql_instance="SQLEXPRESS"} 0
2417
-# HELP windows_mssql_waitstats_transaction_ownership_waits (WaitStats.TransactionOwnershipWaits)
2418
-# TYPE windows_mssql_waitstats_transaction_ownership_waits counter
2419
-windows_mssql_waitstats_transaction_ownership_waits{item="Average wait time (ms)",mssql_instance="SQLEXPRESS"} 0
2420
-windows_mssql_waitstats_transaction_ownership_waits{item="Cumulative wait time (ms) per second",mssql_instance="SQLEXPRESS"} 0
2421
-windows_mssql_waitstats_transaction_ownership_waits{item="Waits in progress",mssql_instance="SQLEXPRESS"} 0
2422
-windows_mssql_waitstats_transaction_ownership_waits{item="Waits started per second",mssql_instance="SQLEXPRESS"} 0
2423
-# HELP windows_mssql_waitstats_wait_for_the_worker_waits (WaitStats.WaitForTheWorkerWaits)
2424
-# TYPE windows_mssql_waitstats_wait_for_the_worker_waits counter
2425
-windows_mssql_waitstats_wait_for_the_worker_waits{item="Average wait time (ms)",mssql_instance="SQLEXPRESS"} 0
2426
-windows_mssql_waitstats_wait_for_the_worker_waits{item="Cumulative wait time (ms) per second",mssql_instance="SQLEXPRESS"} 0
2427
-windows_mssql_waitstats_wait_for_the_worker_waits{item="Waits in progress",mssql_instance="SQLEXPRESS"} 0
2428
-windows_mssql_waitstats_wait_for_the_worker_waits{item="Waits started per second",mssql_instance="SQLEXPRESS"} 0
2429
-# HELP windows_mssql_waitstats_workspace_synchronization_waits (WaitStats.WorkspaceSynchronizationWaits)
2430
-# TYPE windows_mssql_waitstats_workspace_synchronization_waits counter
2431
-windows_mssql_waitstats_workspace_synchronization_waits{item="Average wait time (ms)",mssql_instance="SQLEXPRESS"} 0
2432
-windows_mssql_waitstats_workspace_synchronization_waits{item="Cumulative wait time (ms) per second",mssql_instance="SQLEXPRESS"} 0
2433
-windows_mssql_waitstats_workspace_synchronization_waits{item="Waits in progress",mssql_instance="SQLEXPRESS"} 0
2434
-windows_mssql_waitstats_workspace_synchronization_waits{item="Waits started per second",mssql_instance="SQLEXPRESS"} 0
2435
-# HELP windows_net_bytes_received_total (Network.BytesReceivedPerSec)
2436
-# TYPE windows_net_bytes_received_total counter
2437
-windows_net_bytes_received_total{nic="Intel_R__PRO_1000_MT_Network_Connection"} 4.786344482e+09
2438
-# HELP windows_net_bytes_sent_total (Network.BytesSentPerSec)
2439
-# TYPE windows_net_bytes_sent_total counter
2440
-windows_net_bytes_sent_total{nic="Intel_R__PRO_1000_MT_Network_Connection"} 1.026395688e+09
2441
-# HELP windows_net_bytes_total (Network.BytesTotalPerSec)
2442
-# TYPE windows_net_bytes_total counter
2443
-windows_net_bytes_total{nic="Intel_R__PRO_1000_MT_Network_Connection"} 5.81274017e+09
2444
-# HELP windows_net_current_bandwidth_bytes (Network.CurrentBandwidth)
2445
-# TYPE windows_net_current_bandwidth_bytes gauge
2446
-windows_net_current_bandwidth_bytes{nic="Intel_R__PRO_1000_MT_Network_Connection"} 1.25e+08
2447
-# HELP windows_net_packets_outbound_discarded_total (Network.PacketsOutboundDiscarded)
2448
-# TYPE windows_net_packets_outbound_discarded_total counter
2449
-windows_net_packets_outbound_discarded_total{nic="Intel_R__PRO_1000_MT_Network_Connection"} 0
2450
-# HELP windows_net_packets_outbound_errors_total (Network.PacketsOutboundErrors)
2451
-# TYPE windows_net_packets_outbound_errors_total counter
2452
-windows_net_packets_outbound_errors_total{nic="Intel_R__PRO_1000_MT_Network_Connection"} 0
2453
-# HELP windows_net_packets_received_discarded_total (Network.PacketsReceivedDiscarded)
2454
-# TYPE windows_net_packets_received_discarded_total counter
2455
-windows_net_packets_received_discarded_total{nic="Intel_R__PRO_1000_MT_Network_Connection"} 0
2456
-# HELP windows_net_packets_received_errors_total (Network.PacketsReceivedErrors)
2457
-# TYPE windows_net_packets_received_errors_total counter
2458
-windows_net_packets_received_errors_total{nic="Intel_R__PRO_1000_MT_Network_Connection"} 0
2459
-# HELP windows_net_packets_received_total (Network.PacketsReceivedPerSec)
2460
-# TYPE windows_net_packets_received_total counter
2461
-windows_net_packets_received_total{nic="Intel_R__PRO_1000_MT_Network_Connection"} 4.120869e+06
2462
-# HELP windows_net_packets_received_unknown_total (Network.PacketsReceivedUnknown)
2463
-# TYPE windows_net_packets_received_unknown_total counter
2464
-windows_net_packets_received_unknown_total{nic="Intel_R__PRO_1000_MT_Network_Connection"} 0
2465
-# HELP windows_net_packets_sent_total (Network.PacketsSentPerSec)
2466
-# TYPE windows_net_packets_sent_total counter
2467
-windows_net_packets_sent_total{nic="Intel_R__PRO_1000_MT_Network_Connection"} 1.332466e+06
2468
-# HELP windows_net_packets_total (Network.PacketsPerSec)
2469
-# TYPE windows_net_packets_total counter
2470
-windows_net_packets_total{nic="Intel_R__PRO_1000_MT_Network_Connection"} 5.453335e+06
2471
-# HELP windows_netframework_clrexceptions_exceptions_filters_total Displays the total number of .NET exception filters executed. An exception filter evaluates regardless of whether an exception is handled.
2472
-# TYPE windows_netframework_clrexceptions_exceptions_filters_total counter
2473
-windows_netframework_clrexceptions_exceptions_filters_total{process="WMSvc"} 0
2474
-windows_netframework_clrexceptions_exceptions_filters_total{process="powershell"} 0
2475
-# HELP windows_netframework_clrexceptions_exceptions_finallys_total Displays the total number of finally blocks executed. Only the finally blocks executed for an exception are counted; finally blocks on normal code paths are not counted by this counter.
2476
-# TYPE windows_netframework_clrexceptions_exceptions_finallys_total counter
2477
-windows_netframework_clrexceptions_exceptions_finallys_total{process="WMSvc"} 0
2478
-windows_netframework_clrexceptions_exceptions_finallys_total{process="powershell"} 56
2479
-# HELP windows_netframework_clrexceptions_exceptions_thrown_total Displays the total number of exceptions thrown since the application started. This includes both .NET exceptions and unmanaged exceptions that are converted into .NET exceptions.
2480
-# TYPE windows_netframework_clrexceptions_exceptions_thrown_total counter
2481
-windows_netframework_clrexceptions_exceptions_thrown_total{process="WMSvc"} 0
2482
-windows_netframework_clrexceptions_exceptions_thrown_total{process="powershell"} 37
2483
-# HELP windows_netframework_clrexceptions_throw_to_catch_depth_total Displays the total number of stack frames traversed, from the frame that threw the exception to the frame that handled the exception.
2484
-# TYPE windows_netframework_clrexceptions_throw_to_catch_depth_total counter
2485
-windows_netframework_clrexceptions_throw_to_catch_depth_total{process="WMSvc"} 0
2486
-windows_netframework_clrexceptions_throw_to_catch_depth_total{process="powershell"} 140
2487
-# HELP windows_netframework_clrinterop_com_callable_wrappers_total Displays the current number of COM callable wrappers (CCWs). A CCW is a proxy for a managed object being referenced from an unmanaged COM client.
2488
-# TYPE windows_netframework_clrinterop_com_callable_wrappers_total counter
2489
-windows_netframework_clrinterop_com_callable_wrappers_total{process="WMSvc"} 2
2490
-windows_netframework_clrinterop_com_callable_wrappers_total{process="powershell"} 5
2491
-# HELP windows_netframework_clrinterop_interop_marshalling_total Displays the total number of times arguments and return values have been marshaled from managed to unmanaged code, and vice versa, since the application started.
2492
-# TYPE windows_netframework_clrinterop_interop_marshalling_total counter
2493
-windows_netframework_clrinterop_interop_marshalling_total{process="WMSvc"} 0
2494
-windows_netframework_clrinterop_interop_marshalling_total{process="powershell"} 0
2495
-# HELP windows_netframework_clrinterop_interop_stubs_created_total Displays the current number of stubs created by the common language runtime. Stubs are responsible for marshaling arguments and return values from managed to unmanaged code, and vice versa, during a COM interop call or a platform invoke call.
2496
-# TYPE windows_netframework_clrinterop_interop_stubs_created_total counter
2497
-windows_netframework_clrinterop_interop_stubs_created_total{process="WMSvc"} 29
2498
-windows_netframework_clrinterop_interop_stubs_created_total{process="powershell"} 345
2499
-# HELP windows_netframework_clrjit_jit_il_bytes_total Displays the total number of Microsoft intermediate language (MSIL) bytes compiled by the just-in-time (JIT) compiler since the application started
2500
-# TYPE windows_netframework_clrjit_jit_il_bytes_total counter
2501
-windows_netframework_clrjit_jit_il_bytes_total{process="WMSvc"} 4007
2502
-windows_netframework_clrjit_jit_il_bytes_total{process="powershell"} 47021
2503
-# HELP windows_netframework_clrjit_jit_methods_total Displays the total number of methods JIT-compiled since the application started. This counter does not include pre-JIT-compiled methods.
2504
-# TYPE windows_netframework_clrjit_jit_methods_total counter
2505
-windows_netframework_clrjit_jit_methods_total{process="WMSvc"} 27
2506
-windows_netframework_clrjit_jit_methods_total{process="powershell"} 344
2507
-# HELP windows_netframework_clrjit_jit_standard_failures_total Displays the peak number of methods the JIT compiler has failed to compile since the application started. This failure can occur if the MSIL cannot be verified or if there is an internal error in the JIT compiler.
2508
-# TYPE windows_netframework_clrjit_jit_standard_failures_total gauge
2509
-windows_netframework_clrjit_jit_standard_failures_total{process="WMSvc"} 0
2510
-windows_netframework_clrjit_jit_standard_failures_total{process="powershell"} 0
2511
-# HELP windows_netframework_clrjit_jit_time_percent Displays the percentage of time spent in JIT compilation. This counter is updated at the end of every JIT compilation phase. A JIT compilation phase occurs when a method and its dependencies are compiled.
2512
-# TYPE windows_netframework_clrjit_jit_time_percent gauge
2513
-windows_netframework_clrjit_jit_time_percent{process="WMSvc"} 0
2514
-windows_netframework_clrjit_jit_time_percent{process="powershell"} 0
2515
-# HELP windows_netframework_clrloading_appdomains_loaded_current Displays the current number of application domains loaded in this application.
2516
-# TYPE windows_netframework_clrloading_appdomains_loaded_current gauge
2517
-windows_netframework_clrloading_appdomains_loaded_current{process="WMSvc"} 1
2518
-windows_netframework_clrloading_appdomains_loaded_current{process="powershell"} 1
2519
-# HELP windows_netframework_clrloading_appdomains_loaded_total Displays the peak number of application domains loaded since the application started.
2520
-# TYPE windows_netframework_clrloading_appdomains_loaded_total counter
2521
-windows_netframework_clrloading_appdomains_loaded_total{process="WMSvc"} 1
2522
-windows_netframework_clrloading_appdomains_loaded_total{process="powershell"} 1
2523
-# HELP windows_netframework_clrloading_appdomains_unloaded_total Displays the total number of application domains unloaded since the application started. If an application domain is loaded and unloaded multiple times, this counter increments each time the application domain is unloaded.
2524
-# TYPE windows_netframework_clrloading_appdomains_unloaded_total counter
2525
-windows_netframework_clrloading_appdomains_unloaded_total{process="WMSvc"} 0
2526
-windows_netframework_clrloading_appdomains_unloaded_total{process="powershell"} 0
2527
-# HELP windows_netframework_clrloading_assemblies_loaded_current Displays the current number of assemblies loaded across all application domains in the currently running application. If the assembly is loaded as domain-neutral from multiple application domains, this counter is incremented only once.
2528
-# TYPE windows_netframework_clrloading_assemblies_loaded_current gauge
2529
-windows_netframework_clrloading_assemblies_loaded_current{process="WMSvc"} 5
2530
-windows_netframework_clrloading_assemblies_loaded_current{process="powershell"} 20
2531
-# HELP windows_netframework_clrloading_assemblies_loaded_total Displays the total number of assemblies loaded since the application started. If the assembly is loaded as domain-neutral from multiple application domains, this counter is incremented only once.
2532
-# TYPE windows_netframework_clrloading_assemblies_loaded_total counter
2533
-windows_netframework_clrloading_assemblies_loaded_total{process="WMSvc"} 5
2534
-windows_netframework_clrloading_assemblies_loaded_total{process="powershell"} 20
2535
-# HELP windows_netframework_clrloading_class_load_failures_total Displays the peak number of classes that have failed to load since the application started.
2536
-# TYPE windows_netframework_clrloading_class_load_failures_total counter
2537
-windows_netframework_clrloading_class_load_failures_total{process="WMSvc"} 0
2538
-windows_netframework_clrloading_class_load_failures_total{process="powershell"} 1
2539
-# HELP windows_netframework_clrloading_classes_loaded_current Displays the current number of classes loaded in all assemblies.
2540
-# TYPE windows_netframework_clrloading_classes_loaded_current gauge
2541
-windows_netframework_clrloading_classes_loaded_current{process="WMSvc"} 18
2542
-windows_netframework_clrloading_classes_loaded_current{process="powershell"} 477
2543
-# HELP windows_netframework_clrloading_classes_loaded_total Displays the cumulative number of classes loaded in all assemblies since the application started.
2544
-# TYPE windows_netframework_clrloading_classes_loaded_total counter
2545
-windows_netframework_clrloading_classes_loaded_total{process="WMSvc"} 18
2546
-windows_netframework_clrloading_classes_loaded_total{process="powershell"} 477
2547
-# HELP windows_netframework_clrloading_loader_heap_size_bytes Displays the current size, in bytes, of the memory committed by the class loader across all application domains. Committed memory is the physical space reserved in the disk paging file.
2548
-# TYPE windows_netframework_clrloading_loader_heap_size_bytes gauge
2549
-windows_netframework_clrloading_loader_heap_size_bytes{process="WMSvc"} 270336
2550
-windows_netframework_clrloading_loader_heap_size_bytes{process="powershell"} 2.285568e+06
2551
-# HELP windows_netframework_clrlocksandthreads_contentions_total Displays the total number of times that threads in the runtime have attempted to acquire a managed lock unsuccessfully.
2552
-# TYPE windows_netframework_clrlocksandthreads_contentions_total counter
2553
-windows_netframework_clrlocksandthreads_contentions_total{process="WMSvc"} 0
2554
-windows_netframework_clrlocksandthreads_contentions_total{process="powershell"} 10
2555
-# HELP windows_netframework_clrlocksandthreads_current_logical_threads Displays the number of current managed thread objects in the application. This counter maintains the count of both running and stopped threads.
2556
-# TYPE windows_netframework_clrlocksandthreads_current_logical_threads gauge
2557
-windows_netframework_clrlocksandthreads_current_logical_threads{process="WMSvc"} 2
2558
-windows_netframework_clrlocksandthreads_current_logical_threads{process="powershell"} 16
2559
-# HELP windows_netframework_clrlocksandthreads_current_queue_length Displays the total number of threads that are currently waiting to acquire a managed lock in the application.
2560
-# TYPE windows_netframework_clrlocksandthreads_current_queue_length gauge
2561
-windows_netframework_clrlocksandthreads_current_queue_length{process="WMSvc"} 0
2562
-windows_netframework_clrlocksandthreads_current_queue_length{process="powershell"} 0
2563
-# HELP windows_netframework_clrlocksandthreads_physical_threads_current Displays the number of native operating system threads created and owned by the common language runtime to act as underlying threads for managed thread objects. This counter's value does not include the threads used by the runtime in its internal operations; it is a subset of the threads in the operating system process.
2564
-# TYPE windows_netframework_clrlocksandthreads_physical_threads_current gauge
2565
-windows_netframework_clrlocksandthreads_physical_threads_current{process="WMSvc"} 1
2566
-windows_netframework_clrlocksandthreads_physical_threads_current{process="powershell"} 13
2567
-# HELP windows_netframework_clrlocksandthreads_queue_length_total Displays the total number of threads that waited to acquire a managed lock since the application started.
2568
-# TYPE windows_netframework_clrlocksandthreads_queue_length_total counter
2569
-windows_netframework_clrlocksandthreads_queue_length_total{process="WMSvc"} 0
2570
-windows_netframework_clrlocksandthreads_queue_length_total{process="powershell"} 3
2571
-# HELP windows_netframework_clrlocksandthreads_recognized_threads_current Displays the number of threads that are currently recognized by the runtime. These threads are associated with a corresponding managed thread object. The runtime does not create these threads, but they have run inside the runtime at least once.
2572
-# TYPE windows_netframework_clrlocksandthreads_recognized_threads_current gauge
2573
-windows_netframework_clrlocksandthreads_recognized_threads_current{process="WMSvc"} 1
2574
-windows_netframework_clrlocksandthreads_recognized_threads_current{process="powershell"} 3
2575
-# HELP windows_netframework_clrlocksandthreads_recognized_threads_total Displays the total number of threads that have been recognized by the runtime since the application started. These threads are associated with a corresponding managed thread object. The runtime does not create these threads, but they have run inside the runtime at least once.
2576
-# TYPE windows_netframework_clrlocksandthreads_recognized_threads_total counter
2577
-windows_netframework_clrlocksandthreads_recognized_threads_total{process="WMSvc"} 1
2578
-windows_netframework_clrlocksandthreads_recognized_threads_total{process="powershell"} 6
2579
-# HELP windows_netframework_clrmemory_allocated_bytes_total Displays the total number of bytes allocated on the garbage collection heap.
2580
-# TYPE windows_netframework_clrmemory_allocated_bytes_total counter
2581
-windows_netframework_clrmemory_allocated_bytes_total{process="WMSvc"} 227792
2582
-windows_netframework_clrmemory_allocated_bytes_total{process="powershell"} 4.63338e+07
2583
-# HELP windows_netframework_clrmemory_collections_total Displays the number of times the generation objects are garbage collected since the application started.
2584
-# TYPE windows_netframework_clrmemory_collections_total counter
2585
-windows_netframework_clrmemory_collections_total{area="Gen0",process="WMSvc"} 1
2586
-windows_netframework_clrmemory_collections_total{area="Gen0",process="powershell"} 7
2587
-windows_netframework_clrmemory_collections_total{area="Gen1",process="WMSvc"} 1
2588
-windows_netframework_clrmemory_collections_total{area="Gen1",process="powershell"} 3
2589
-windows_netframework_clrmemory_collections_total{area="Gen2",process="WMSvc"} 0
2590
-windows_netframework_clrmemory_collections_total{area="Gen2",process="powershell"} 1
2591
-# HELP windows_netframework_clrmemory_committed_bytes Displays the amount of virtual memory, in bytes, currently committed by the garbage collector. Committed memory is the physical memory for which space has been reserved in the disk paging file.
2592
-# TYPE windows_netframework_clrmemory_committed_bytes gauge
2593
-windows_netframework_clrmemory_committed_bytes{process="WMSvc"} 270336
2594
-windows_netframework_clrmemory_committed_bytes{process="powershell"} 2.0475904e+07
2595
-# HELP windows_netframework_clrmemory_finalization_survivors Displays the number of garbage-collected objects that survive a collection because they are waiting to be finalized.
2596
-# TYPE windows_netframework_clrmemory_finalization_survivors gauge
2597
-windows_netframework_clrmemory_finalization_survivors{process="WMSvc"} 7
2598
-windows_netframework_clrmemory_finalization_survivors{process="powershell"} 244
2599
-# HELP windows_netframework_clrmemory_gc_time_percent Displays the percentage of time that was spent performing a garbage collection in the last sample.
2600
-# TYPE windows_netframework_clrmemory_gc_time_percent gauge
2601
-windows_netframework_clrmemory_gc_time_percent{process="WMSvc"} 0
2602
-windows_netframework_clrmemory_gc_time_percent{process="powershell"} 0.00027784979937050934
2603
-# HELP windows_netframework_clrmemory_heap_size_bytes Displays the maximum bytes that can be allocated; it does not indicate the current number of bytes allocated.
2604
-# TYPE windows_netframework_clrmemory_heap_size_bytes gauge
2605
-windows_netframework_clrmemory_heap_size_bytes{area="Gen0",process="WMSvc"} 4.194304e+06
2606
-windows_netframework_clrmemory_heap_size_bytes{area="Gen0",process="powershell"} 2.6417392e+07
2607
-windows_netframework_clrmemory_heap_size_bytes{area="Gen1",process="WMSvc"} 50200
2608
-windows_netframework_clrmemory_heap_size_bytes{area="Gen1",process="powershell"} 122776
2609
-windows_netframework_clrmemory_heap_size_bytes{area="Gen2",process="WMSvc"} 24
2610
-windows_netframework_clrmemory_heap_size_bytes{area="Gen2",process="powershell"} 6.71388e+06
2611
-windows_netframework_clrmemory_heap_size_bytes{area="LOH",process="WMSvc"} 68168
2612
-windows_netframework_clrmemory_heap_size_bytes{area="LOH",process="powershell"} 1.457824e+06
2613
-# HELP windows_netframework_clrmemory_induced_gc_total Displays the peak number of times garbage collection was performed because of an explicit call to GC.Collect.
2614
-# TYPE windows_netframework_clrmemory_induced_gc_total counter
2615
-windows_netframework_clrmemory_induced_gc_total{process="WMSvc"} 0
2616
-windows_netframework_clrmemory_induced_gc_total{process="powershell"} 0
2617
-# HELP windows_netframework_clrmemory_number_gc_handles Displays the current number of garbage collection handles in use. Garbage collection handles are handles to resources external to the common language runtime and the managed environment.
2618
-# TYPE windows_netframework_clrmemory_number_gc_handles gauge
2619
-windows_netframework_clrmemory_number_gc_handles{process="WMSvc"} 24
2620
-windows_netframework_clrmemory_number_gc_handles{process="powershell"} 834
2621
-# HELP windows_netframework_clrmemory_number_pinned_objects Displays the number of pinned objects encountered in the last garbage collection.
2622
-# TYPE windows_netframework_clrmemory_number_pinned_objects gauge
2623
-windows_netframework_clrmemory_number_pinned_objects{process="WMSvc"} 1
2624
-windows_netframework_clrmemory_number_pinned_objects{process="powershell"} 0
2625
-# HELP windows_netframework_clrmemory_number_sink_blocksinuse Displays the current number of synchronization blocks in use. Synchronization blocks are per-object data structures allocated for storing synchronization information. They hold weak references to managed objects and must be scanned by the garbage collector.
2626
-# TYPE windows_netframework_clrmemory_number_sink_blocksinuse gauge
2627
-windows_netframework_clrmemory_number_sink_blocksinuse{process="WMSvc"} 1
2628
-windows_netframework_clrmemory_number_sink_blocksinuse{process="powershell"} 42
2629
-# HELP windows_netframework_clrmemory_promoted_bytes Displays the bytes that were promoted from the generation to the next one during the last GC. Memory is promoted when it survives a garbage collection.
2630
-# TYPE windows_netframework_clrmemory_promoted_bytes gauge
2631
-windows_netframework_clrmemory_promoted_bytes{area="Gen0",process="WMSvc"} 49720
2632
-windows_netframework_clrmemory_promoted_bytes{area="Gen0",process="powershell"} 107352
2633
-windows_netframework_clrmemory_promoted_bytes{area="Gen1",process="WMSvc"} 0
2634
-windows_netframework_clrmemory_promoted_bytes{area="Gen1",process="powershell"} 0
2635
-# HELP windows_netframework_clrmemory_reserved_bytes Displays the amount of virtual memory, in bytes, currently reserved by the garbage collector. Reserved memory is the virtual memory space reserved for the application when no disk or main memory pages have been used.
2636
-# TYPE windows_netframework_clrmemory_reserved_bytes gauge
2637
-windows_netframework_clrmemory_reserved_bytes{process="WMSvc"} 4.02644992e+08
2638
-windows_netframework_clrmemory_reserved_bytes{process="powershell"} 4.02644992e+08
2639
-# HELP windows_netframework_clrremoting_channels_total Displays the total number of remoting channels registered across all application domains since application started.
2640
-# TYPE windows_netframework_clrremoting_channels_total counter
2641
-windows_netframework_clrremoting_channels_total{process="WMSvc"} 0
2642
-windows_netframework_clrremoting_channels_total{process="powershell"} 0
2643
-# HELP windows_netframework_clrremoting_context_bound_classes_loaded Displays the current number of context-bound classes that are loaded.
2644
-# TYPE windows_netframework_clrremoting_context_bound_classes_loaded gauge
2645
-windows_netframework_clrremoting_context_bound_classes_loaded{process="WMSvc"} 0
2646
-windows_netframework_clrremoting_context_bound_classes_loaded{process="powershell"} 0
2647
-# HELP windows_netframework_clrremoting_context_bound_objects_total Displays the total number of context-bound objects allocated.
2648
-# TYPE windows_netframework_clrremoting_context_bound_objects_total counter
2649
-windows_netframework_clrremoting_context_bound_objects_total{process="WMSvc"} 0
2650
-windows_netframework_clrremoting_context_bound_objects_total{process="powershell"} 0
2651
-# HELP windows_netframework_clrremoting_context_proxies_total Displays the total number of remoting proxy objects in this process since it started.
2652
-# TYPE windows_netframework_clrremoting_context_proxies_total counter
2653
-windows_netframework_clrremoting_context_proxies_total{process="WMSvc"} 0
2654
-windows_netframework_clrremoting_context_proxies_total{process="powershell"} 0
2655
-# HELP windows_netframework_clrremoting_contexts Displays the current number of remoting contexts in the application.
2656
-# TYPE windows_netframework_clrremoting_contexts gauge
2657
-windows_netframework_clrremoting_contexts{process="WMSvc"} 1
2658
-windows_netframework_clrremoting_contexts{process="powershell"} 1
2659
-# HELP windows_netframework_clrremoting_remote_calls_total Displays the total number of remote procedure calls invoked since the application started.
2660
-# TYPE windows_netframework_clrremoting_remote_calls_total counter
2661
-windows_netframework_clrremoting_remote_calls_total{process="WMSvc"} 0
2662
-windows_netframework_clrremoting_remote_calls_total{process="powershell"} 0
2663
-# HELP windows_netframework_clrsecurity_link_time_checks_total Displays the total number of link-time code access security checks since the application started.
2664
-# TYPE windows_netframework_clrsecurity_link_time_checks_total counter
2665
-windows_netframework_clrsecurity_link_time_checks_total{process="WMSvc"} 0
2666
-windows_netframework_clrsecurity_link_time_checks_total{process="powershell"} 0
2667
-# HELP windows_netframework_clrsecurity_rt_checks_time_percent Displays the percentage of time spent performing runtime code access security checks in the last sample.
2668
-# TYPE windows_netframework_clrsecurity_rt_checks_time_percent gauge
2669
-windows_netframework_clrsecurity_rt_checks_time_percent{process="WMSvc"} 0
2670
-windows_netframework_clrsecurity_rt_checks_time_percent{process="powershell"} 0
2671
-# HELP windows_netframework_clrsecurity_runtime_checks_total Displays the total number of runtime code access security checks performed since the application started.
2672
-# TYPE windows_netframework_clrsecurity_runtime_checks_total counter
2673
-windows_netframework_clrsecurity_runtime_checks_total{process="WMSvc"} 3
2674
-windows_netframework_clrsecurity_runtime_checks_total{process="powershell"} 4386
2675
-# HELP windows_netframework_clrsecurity_stack_walk_depth Displays the depth of the stack during that last runtime code access security check.
2676
-# TYPE windows_netframework_clrsecurity_stack_walk_depth gauge
2677
-windows_netframework_clrsecurity_stack_walk_depth{process="WMSvc"} 1
2678
-windows_netframework_clrsecurity_stack_walk_depth{process="powershell"} 1
2679
-# HELP windows_os_info OperatingSystem.Caption, OperatingSystem.Version
2680
-# TYPE windows_os_info gauge
2681
-windows_os_info{build_number="22621",major_version="10",minor_version="0",product="Microsoft Windows 10 Pro",version="10.0.22621"} 1
2682
-# HELP windows_os_paging_free_bytes OperatingSystem.FreeSpaceInPagingFiles
2683
-# TYPE windows_os_paging_free_bytes gauge
2684
-windows_os_paging_free_bytes 1.414107136e+09
2685
-# HELP windows_os_paging_limit_bytes OperatingSystem.SizeStoredInPagingFiles
2686
-# TYPE windows_os_paging_limit_bytes gauge
2687
-windows_os_paging_limit_bytes 1.476395008e+09
2688
-# HELP windows_os_physical_memory_free_bytes OperatingSystem.FreePhysicalMemory
2689
-# TYPE windows_os_physical_memory_free_bytes gauge
2690
-windows_os_physical_memory_free_bytes 1.379946496e+09
2691
-# HELP windows_os_process_memory_limit_bytes OperatingSystem.MaxProcessMemorySize
2692
-# TYPE windows_os_process_memory_limit_bytes gauge
2693
-windows_os_process_memory_limit_bytes 1.40737488224256e+14
2694
-# HELP windows_os_processes OperatingSystem.NumberOfProcesses
2695
-# TYPE windows_os_processes gauge
2696
-windows_os_processes 152
2697
-# HELP windows_os_processes_limit OperatingSystem.MaxNumberOfProcesses
2698
-# TYPE windows_os_processes_limit gauge
2699
-windows_os_processes_limit 4.294967295e+09
2700
-# HELP windows_os_time OperatingSystem.LocalDateTime
2701
-# TYPE windows_os_time gauge
2702
-windows_os_time 1.667508748e+09
2703
-# HELP windows_os_timezone OperatingSystem.LocalDateTime
2704
-# TYPE windows_os_timezone gauge
2705
-windows_os_timezone{timezone="EET"} 1
2706
-# HELP windows_os_users OperatingSystem.NumberOfUsers
2707
-# TYPE windows_os_users gauge
2708
-windows_os_users 2
2709
-# HELP windows_os_virtual_memory_bytes OperatingSystem.TotalVirtualMemorySize
2710
-# TYPE windows_os_virtual_memory_bytes gauge
2711
-windows_os_virtual_memory_bytes 5.733113856e+09
2712
-# HELP windows_os_virtual_memory_free_bytes OperatingSystem.FreeVirtualMemory
2713
-# TYPE windows_os_virtual_memory_free_bytes gauge
2714
-windows_os_virtual_memory_free_bytes 2.285674496e+09
2715
-# HELP windows_os_visible_memory_bytes OperatingSystem.TotalVisibleMemorySize
2716
-# TYPE windows_os_visible_memory_bytes gauge
2717
-windows_os_visible_memory_bytes 4.256718848e+09
2718
-# HELP windows_process_cpu_time_total Returns elapsed time that all of the threads of this process used the processor to execute instructions by mode (privileged, user).
2719
-# TYPE windows_process_cpu_time_total counter
2720
-windows_process_cpu_time_total{creating_process_id="4300",mode="privileged",process="msedge",process_id="6032"} 21.78125
2721
-windows_process_cpu_time_total{creating_process_id="4300",mode="user",process="msedge",process_id="6032"} 31.46875
2722
-windows_process_cpu_time_total{creating_process_id="6032",mode="privileged",process="msedge",process_id="1204"} 0.09375
2723
-windows_process_cpu_time_total{creating_process_id="6032",mode="privileged",process="msedge",process_id="2296"} 0.203125
2724
-windows_process_cpu_time_total{creating_process_id="6032",mode="privileged",process="msedge",process_id="3044"} 0.15625
2725
-windows_process_cpu_time_total{creating_process_id="6032",mode="privileged",process="msedge",process_id="3728"} 0.28125
2726
-windows_process_cpu_time_total{creating_process_id="6032",mode="privileged",process="msedge",process_id="5060"} 110.171875
2727
-windows_process_cpu_time_total{creating_process_id="6032",mode="privileged",process="msedge",process_id="5904"} 0.359375
2728
-windows_process_cpu_time_total{creating_process_id="6032",mode="privileged",process="msedge",process_id="5936"} 37.40625
2729
-windows_process_cpu_time_total{creating_process_id="6032",mode="privileged",process="msedge",process_id="7800"} 0.03125
2730
-windows_process_cpu_time_total{creating_process_id="6032",mode="privileged",process="msedge",process_id="844"} 1.765625
2731
-windows_process_cpu_time_total{creating_process_id="6032",mode="privileged",process="msedge",process_id="8512"} 0.40625
2732
-windows_process_cpu_time_total{creating_process_id="6032",mode="privileged",process="msedge",process_id="8736"} 47.796875
2733
-windows_process_cpu_time_total{creating_process_id="6032",mode="privileged",process="msedge",process_id="896"} 69.1875
2734
-windows_process_cpu_time_total{creating_process_id="6032",mode="privileged",process="msedge",process_id="900"} 0.265625
2735
-windows_process_cpu_time_total{creating_process_id="6032",mode="user",process="msedge",process_id="1204"} 0.171875
2736
-windows_process_cpu_time_total{creating_process_id="6032",mode="user",process="msedge",process_id="2296"} 0.28125
2737
-windows_process_cpu_time_total{creating_process_id="6032",mode="user",process="msedge",process_id="3044"} 0.734375
2738
-windows_process_cpu_time_total{creating_process_id="6032",mode="user",process="msedge",process_id="3728"} 0.734375
2739
-windows_process_cpu_time_total{creating_process_id="6032",mode="user",process="msedge",process_id="5060"} 1281.59375
2740
-windows_process_cpu_time_total{creating_process_id="6032",mode="user",process="msedge",process_id="5904"} 0.84375
2741
-windows_process_cpu_time_total{creating_process_id="6032",mode="user",process="msedge",process_id="5936"} 52.515625
2742
-windows_process_cpu_time_total{creating_process_id="6032",mode="user",process="msedge",process_id="7800"} 0.015625
2743
-windows_process_cpu_time_total{creating_process_id="6032",mode="user",process="msedge",process_id="844"} 10.109375
2744
-windows_process_cpu_time_total{creating_process_id="6032",mode="user",process="msedge",process_id="8512"} 1.203125
2745
-windows_process_cpu_time_total{creating_process_id="6032",mode="user",process="msedge",process_id="8736"} 85.71875
2746
-windows_process_cpu_time_total{creating_process_id="6032",mode="user",process="msedge",process_id="896"} 163.78125
2747
-windows_process_cpu_time_total{creating_process_id="6032",mode="user",process="msedge",process_id="900"} 0.828125
2748
-# HELP windows_process_handles Total number of handles the process has open. This number is the sum of the handles currently open by each thread in the process.
2749
-# TYPE windows_process_handles gauge
2750
-windows_process_handles{creating_process_id="4300",process="msedge",process_id="6032"} 1868
2751
-windows_process_handles{creating_process_id="6032",process="msedge",process_id="1204"} 227
2752
-windows_process_handles{creating_process_id="6032",process="msedge",process_id="2296"} 254
2753
-windows_process_handles{creating_process_id="6032",process="msedge",process_id="3044"} 285
2754
-windows_process_handles{creating_process_id="6032",process="msedge",process_id="3728"} 220
2755
-windows_process_handles{creating_process_id="6032",process="msedge",process_id="5060"} 443
2756
-windows_process_handles{creating_process_id="6032",process="msedge",process_id="5904"} 271
2757
-windows_process_handles{creating_process_id="6032",process="msedge",process_id="5936"} 298
2758
-windows_process_handles{creating_process_id="6032",process="msedge",process_id="7800"} 204
2759
-windows_process_handles{creating_process_id="6032",process="msedge",process_id="844"} 379
2760
-windows_process_handles{creating_process_id="6032",process="msedge",process_id="8512"} 274
2761
-windows_process_handles{creating_process_id="6032",process="msedge",process_id="8736"} 245
2762
-windows_process_handles{creating_process_id="6032",process="msedge",process_id="896"} 488
2763
-windows_process_handles{creating_process_id="6032",process="msedge",process_id="900"} 323
2764
-# HELP windows_process_io_bytes_total Bytes issued to I/O operations in different modes (read, write, other).
2765
-# TYPE windows_process_io_bytes_total counter
2766
-windows_process_io_bytes_total{creating_process_id="4300",mode="other",process="msedge",process_id="6032"} 4.348941e+06
2767
-windows_process_io_bytes_total{creating_process_id="4300",mode="read",process="msedge",process_id="6032"} 3.30817247e+08
2768
-windows_process_io_bytes_total{creating_process_id="4300",mode="write",process="msedge",process_id="6032"} 4.71331306e+08
2769
-windows_process_io_bytes_total{creating_process_id="6032",mode="other",process="msedge",process_id="1204"} 26082
2770
-windows_process_io_bytes_total{creating_process_id="6032",mode="other",process="msedge",process_id="2296"} 26144
2771
-windows_process_io_bytes_total{creating_process_id="6032",mode="other",process="msedge",process_id="3044"} 26078
2772
-windows_process_io_bytes_total{creating_process_id="6032",mode="other",process="msedge",process_id="3728"} 23912
2773
-windows_process_io_bytes_total{creating_process_id="6032",mode="other",process="msedge",process_id="5060"} 26596
2774
-windows_process_io_bytes_total{creating_process_id="6032",mode="other",process="msedge",process_id="5904"} 30800
2775
-windows_process_io_bytes_total{creating_process_id="6032",mode="other",process="msedge",process_id="5936"} 1.83334e+06
2776
-windows_process_io_bytes_total{creating_process_id="6032",mode="other",process="msedge",process_id="7800"} 5128
2777
-windows_process_io_bytes_total{creating_process_id="6032",mode="other",process="msedge",process_id="844"} 26598
2778
-windows_process_io_bytes_total{creating_process_id="6032",mode="other",process="msedge",process_id="8512"} 26174
2779
-windows_process_io_bytes_total{creating_process_id="6032",mode="other",process="msedge",process_id="8736"} 26268
2780
-windows_process_io_bytes_total{creating_process_id="6032",mode="other",process="msedge",process_id="896"} 188254
2781
-windows_process_io_bytes_total{creating_process_id="6032",mode="other",process="msedge",process_id="900"} 26142
2782
-windows_process_io_bytes_total{creating_process_id="6032",mode="read",process="msedge",process_id="1204"} 68868
2783
-windows_process_io_bytes_total{creating_process_id="6032",mode="read",process="msedge",process_id="2296"} 261004
2784
-windows_process_io_bytes_total{creating_process_id="6032",mode="read",process="msedge",process_id="3044"} 400260
2785
-windows_process_io_bytes_total{creating_process_id="6032",mode="read",process="msedge",process_id="3728"} 734626
2786
-windows_process_io_bytes_total{creating_process_id="6032",mode="read",process="msedge",process_id="5060"} 7.35770137e+08
2787
-windows_process_io_bytes_total{creating_process_id="6032",mode="read",process="msedge",process_id="5904"} 45529
2788
-windows_process_io_bytes_total{creating_process_id="6032",mode="read",process="msedge",process_id="5936"} 2.72541538e+08
2789
-windows_process_io_bytes_total{creating_process_id="6032",mode="read",process="msedge",process_id="7800"} 8804
2790
-windows_process_io_bytes_total{creating_process_id="6032",mode="read",process="msedge",process_id="844"} 2.4573337e+07
2791
-windows_process_io_bytes_total{creating_process_id="6032",mode="read",process="msedge",process_id="8512"} 1.0120572e+07
2792
-windows_process_io_bytes_total{creating_process_id="6032",mode="read",process="msedge",process_id="8736"} 7.202112e+06
2793
-windows_process_io_bytes_total{creating_process_id="6032",mode="read",process="msedge",process_id="896"} 5.49114536e+08
2794
-windows_process_io_bytes_total{creating_process_id="6032",mode="read",process="msedge",process_id="900"} 656823
2795
-windows_process_io_bytes_total{creating_process_id="6032",mode="write",process="msedge",process_id="1204"} 249336
2796
-windows_process_io_bytes_total{creating_process_id="6032",mode="write",process="msedge",process_id="2296"} 576080
2797
-windows_process_io_bytes_total{creating_process_id="6032",mode="write",process="msedge",process_id="3044"} 1.7264e+06
2798
-windows_process_io_bytes_total{creating_process_id="6032",mode="write",process="msedge",process_id="3728"} 1.257063e+06
2799
-windows_process_io_bytes_total{creating_process_id="6032",mode="write",process="msedge",process_id="5060"} 7.54045349e+08
2800
-windows_process_io_bytes_total{creating_process_id="6032",mode="write",process="msedge",process_id="5904"} 217248
2801
-windows_process_io_bytes_total{creating_process_id="6032",mode="write",process="msedge",process_id="5936"} 4.55388644e+08
2802
-windows_process_io_bytes_total{creating_process_id="6032",mode="write",process="msedge",process_id="7800"} 1128
2803
-windows_process_io_bytes_total{creating_process_id="6032",mode="write",process="msedge",process_id="844"} 1.5475693e+07
2804
-windows_process_io_bytes_total{creating_process_id="6032",mode="write",process="msedge",process_id="8512"} 3.635552e+06
2805
-windows_process_io_bytes_total{creating_process_id="6032",mode="write",process="msedge",process_id="8736"} 7.987096e+06
2806
-windows_process_io_bytes_total{creating_process_id="6032",mode="write",process="msedge",process_id="896"} 3.26369864e+08
2807
-windows_process_io_bytes_total{creating_process_id="6032",mode="write",process="msedge",process_id="900"} 1.010769e+06
2808
-# HELP windows_process_io_operations_total I/O operations issued in different modes (read, write, other).
2809
-# TYPE windows_process_io_operations_total counter
2810
-windows_process_io_operations_total{creating_process_id="4300",mode="other",process="msedge",process_id="6032"} 113456
2811
-windows_process_io_operations_total{creating_process_id="4300",mode="read",process="msedge",process_id="6032"} 294229
2812
-windows_process_io_operations_total{creating_process_id="4300",mode="write",process="msedge",process_id="6032"} 200349
2813
-windows_process_io_operations_total{creating_process_id="6032",mode="other",process="msedge",process_id="1204"} 331
2814
-windows_process_io_operations_total{creating_process_id="6032",mode="other",process="msedge",process_id="2296"} 335
2815
-windows_process_io_operations_total{creating_process_id="6032",mode="other",process="msedge",process_id="3044"} 349
2816
-windows_process_io_operations_total{creating_process_id="6032",mode="other",process="msedge",process_id="3728"} 327
2817
-windows_process_io_operations_total{creating_process_id="6032",mode="other",process="msedge",process_id="5060"} 399
2818
-windows_process_io_operations_total{creating_process_id="6032",mode="other",process="msedge",process_id="5904"} 395
2819
-windows_process_io_operations_total{creating_process_id="6032",mode="other",process="msedge",process_id="5936"} 78519
2820
-windows_process_io_operations_total{creating_process_id="6032",mode="other",process="msedge",process_id="7800"} 673
2821
-windows_process_io_operations_total{creating_process_id="6032",mode="other",process="msedge",process_id="844"} 359
2822
-windows_process_io_operations_total{creating_process_id="6032",mode="other",process="msedge",process_id="8512"} 340
2823
-windows_process_io_operations_total{creating_process_id="6032",mode="other",process="msedge",process_id="8736"} 394
2824
-windows_process_io_operations_total{creating_process_id="6032",mode="other",process="msedge",process_id="896"} 4069
2825
-windows_process_io_operations_total{creating_process_id="6032",mode="other",process="msedge",process_id="900"} 337
2826
-windows_process_io_operations_total{creating_process_id="6032",mode="read",process="msedge",process_id="1204"} 74
2827
-windows_process_io_operations_total{creating_process_id="6032",mode="read",process="msedge",process_id="2296"} 732
2828
-windows_process_io_operations_total{creating_process_id="6032",mode="read",process="msedge",process_id="3044"} 950
2829
-windows_process_io_operations_total{creating_process_id="6032",mode="read",process="msedge",process_id="3728"} 1447
2830
-windows_process_io_operations_total{creating_process_id="6032",mode="read",process="msedge",process_id="5060"} 3.995322e+06
2831
-windows_process_io_operations_total{creating_process_id="6032",mode="read",process="msedge",process_id="5904"} 124
2832
-windows_process_io_operations_total{creating_process_id="6032",mode="read",process="msedge",process_id="5936"} 1.571962e+06
2833
-windows_process_io_operations_total{creating_process_id="6032",mode="read",process="msedge",process_id="7800"} 102
2834
-windows_process_io_operations_total{creating_process_id="6032",mode="read",process="msedge",process_id="844"} 20686
2835
-windows_process_io_operations_total{creating_process_id="6032",mode="read",process="msedge",process_id="8512"} 6686
2836
-windows_process_io_operations_total{creating_process_id="6032",mode="read",process="msedge",process_id="8736"} 1.788249e+06
2837
-windows_process_io_operations_total{creating_process_id="6032",mode="read",process="msedge",process_id="896"} 537551
2838
-windows_process_io_operations_total{creating_process_id="6032",mode="read",process="msedge",process_id="900"} 1519
2839
-windows_process_io_operations_total{creating_process_id="6032",mode="write",process="msedge",process_id="1204"} 114
2840
-windows_process_io_operations_total{creating_process_id="6032",mode="write",process="msedge",process_id="2296"} 437
2841
-windows_process_io_operations_total{creating_process_id="6032",mode="write",process="msedge",process_id="3044"} 1405
2842
-windows_process_io_operations_total{creating_process_id="6032",mode="write",process="msedge",process_id="3728"} 3705
2843
-windows_process_io_operations_total{creating_process_id="6032",mode="write",process="msedge",process_id="5060"} 3.848906e+06
2844
-windows_process_io_operations_total{creating_process_id="6032",mode="write",process="msedge",process_id="5904"} 118
2845
-windows_process_io_operations_total{creating_process_id="6032",mode="write",process="msedge",process_id="5936"} 1.701602e+06
2846
-windows_process_io_operations_total{creating_process_id="6032",mode="write",process="msedge",process_id="7800"} 94
2847
-windows_process_io_operations_total{creating_process_id="6032",mode="write",process="msedge",process_id="844"} 24678
2848
-windows_process_io_operations_total{creating_process_id="6032",mode="write",process="msedge",process_id="8512"} 9689
2849
-windows_process_io_operations_total{creating_process_id="6032",mode="write",process="msedge",process_id="8736"} 1.790946e+06
2850
-windows_process_io_operations_total{creating_process_id="6032",mode="write",process="msedge",process_id="896"} 734759
2851
-windows_process_io_operations_total{creating_process_id="6032",mode="write",process="msedge",process_id="900"} 1924
2852
-# HELP windows_process_page_faults_total Page faults by the threads executing in this process.
2853
-# TYPE windows_process_page_faults_total counter
2854
-windows_process_page_faults_total{creating_process_id="4300",process="msedge",process_id="6032"} 296027
2855
-windows_process_page_faults_total{creating_process_id="6032",process="msedge",process_id="1204"} 7965
2856
-windows_process_page_faults_total{creating_process_id="6032",process="msedge",process_id="2296"} 11749
2857
-windows_process_page_faults_total{creating_process_id="6032",process="msedge",process_id="3044"} 41335
2858
-windows_process_page_faults_total{creating_process_id="6032",process="msedge",process_id="3728"} 9529
2859
-windows_process_page_faults_total{creating_process_id="6032",process="msedge",process_id="5060"} 3.750099e+06
2860
-windows_process_page_faults_total{creating_process_id="6032",process="msedge",process_id="5904"} 8101
2861
-windows_process_page_faults_total{creating_process_id="6032",process="msedge",process_id="5936"} 533380
2862
-windows_process_page_faults_total{creating_process_id="6032",process="msedge",process_id="7800"} 2636
2863
-windows_process_page_faults_total{creating_process_id="6032",process="msedge",process_id="844"} 402098
2864
-windows_process_page_faults_total{creating_process_id="6032",process="msedge",process_id="8512"} 35487
2865
-windows_process_page_faults_total{creating_process_id="6032",process="msedge",process_id="8736"} 9427
2866
-windows_process_page_faults_total{creating_process_id="6032",process="msedge",process_id="896"} 205035
2867
-windows_process_page_faults_total{creating_process_id="6032",process="msedge",process_id="900"} 43073
2868
-# HELP windows_process_page_file_bytes Current number of bytes this process has used in the paging file(s).
2869
-# TYPE windows_process_page_file_bytes gauge
2870
-windows_process_page_file_bytes{creating_process_id="4300",process="msedge",process_id="6032"} 7.041024e+07
2871
-windows_process_page_file_bytes{creating_process_id="6032",process="msedge",process_id="1204"} 1.3561856e+07
2872
-windows_process_page_file_bytes{creating_process_id="6032",process="msedge",process_id="2296"} 1.5511552e+07
2873
-windows_process_page_file_bytes{creating_process_id="6032",process="msedge",process_id="3044"} 3.0756864e+07
2874
-windows_process_page_file_bytes{creating_process_id="6032",process="msedge",process_id="3728"} 8.298496e+06
2875
-windows_process_page_file_bytes{creating_process_id="6032",process="msedge",process_id="5060"} 3.32230656e+08
2876
-windows_process_page_file_bytes{creating_process_id="6032",process="msedge",process_id="5904"} 8.97024e+06
2877
-windows_process_page_file_bytes{creating_process_id="6032",process="msedge",process_id="5936"} 1.3877248e+07
2878
-windows_process_page_file_bytes{creating_process_id="6032",process="msedge",process_id="7800"} 2.060288e+06
2879
-windows_process_page_file_bytes{creating_process_id="6032",process="msedge",process_id="844"} 9.2012544e+07
2880
-windows_process_page_file_bytes{creating_process_id="6032",process="msedge",process_id="8512"} 2.0672512e+07
2881
-windows_process_page_file_bytes{creating_process_id="6032",process="msedge",process_id="8736"} 8.126464e+06
2882
-windows_process_page_file_bytes{creating_process_id="6032",process="msedge",process_id="896"} 4.1484288e+07
2883
-windows_process_page_file_bytes{creating_process_id="6032",process="msedge",process_id="900"} 2.3629824e+07
2884
-# HELP windows_process_pool_bytes Pool Bytes is the last observed number of bytes in the paged or nonpaged pool.
2885
-# TYPE windows_process_pool_bytes gauge
2886
-windows_process_pool_bytes{creating_process_id="4300",pool="nonpaged",process="msedge",process_id="6032"} 72072
2887
-windows_process_pool_bytes{creating_process_id="4300",pool="paged",process="msedge",process_id="6032"} 1.262872e+06
2888
-windows_process_pool_bytes{creating_process_id="6032",pool="nonpaged",process="msedge",process_id="1204"} 15544
2889
-windows_process_pool_bytes{creating_process_id="6032",pool="nonpaged",process="msedge",process_id="2296"} 16024
2890
-windows_process_pool_bytes{creating_process_id="6032",pool="nonpaged",process="msedge",process_id="3044"} 17816
2891
-windows_process_pool_bytes{creating_process_id="6032",pool="nonpaged",process="msedge",process_id="3728"} 14544
2892
-windows_process_pool_bytes{creating_process_id="6032",pool="nonpaged",process="msedge",process_id="5060"} 24600
2893
-windows_process_pool_bytes{creating_process_id="6032",pool="nonpaged",process="msedge",process_id="5904"} 16992
2894
-windows_process_pool_bytes{creating_process_id="6032",pool="nonpaged",process="msedge",process_id="5936"} 19088
2895
-windows_process_pool_bytes{creating_process_id="6032",pool="nonpaged",process="msedge",process_id="7800"} 9920
2896
-windows_process_pool_bytes{creating_process_id="6032",pool="nonpaged",process="msedge",process_id="844"} 18472
2897
-windows_process_pool_bytes{creating_process_id="6032",pool="nonpaged",process="msedge",process_id="8512"} 18536
2898
-windows_process_pool_bytes{creating_process_id="6032",pool="nonpaged",process="msedge",process_id="8736"} 15944
2899
-windows_process_pool_bytes{creating_process_id="6032",pool="nonpaged",process="msedge",process_id="896"} 34464
2900
-windows_process_pool_bytes{creating_process_id="6032",pool="nonpaged",process="msedge",process_id="900"} 17040
2901
-windows_process_pool_bytes{creating_process_id="6032",pool="paged",process="msedge",process_id="1204"} 651472
2902
-windows_process_pool_bytes{creating_process_id="6032",pool="paged",process="msedge",process_id="2296"} 665496
2903
-windows_process_pool_bytes{creating_process_id="6032",pool="paged",process="msedge",process_id="3044"} 674248
2904
-windows_process_pool_bytes{creating_process_id="6032",pool="paged",process="msedge",process_id="3728"} 656216
2905
-windows_process_pool_bytes{creating_process_id="6032",pool="paged",process="msedge",process_id="5060"} 849040
2906
-windows_process_pool_bytes{creating_process_id="6032",pool="paged",process="msedge",process_id="5904"} 722296
2907
-windows_process_pool_bytes{creating_process_id="6032",pool="paged",process="msedge",process_id="5936"} 705232
2908
-windows_process_pool_bytes{creating_process_id="6032",pool="paged",process="msedge",process_id="7800"} 140256
2909
-windows_process_pool_bytes{creating_process_id="6032",pool="paged",process="msedge",process_id="844"} 680896
2910
-windows_process_pool_bytes{creating_process_id="6032",pool="paged",process="msedge",process_id="8512"} 679648
2911
-windows_process_pool_bytes{creating_process_id="6032",pool="paged",process="msedge",process_id="8736"} 677152
2912
-windows_process_pool_bytes{creating_process_id="6032",pool="paged",process="msedge",process_id="896"} 839128
2913
-windows_process_pool_bytes{creating_process_id="6032",pool="paged",process="msedge",process_id="900"} 682408
2914
-# HELP windows_process_priority_base Current base priority of this process. Threads within a process can raise and lower their own base priority relative to the process base priority of the process.
2915
-# TYPE windows_process_priority_base gauge
2916
-windows_process_priority_base{creating_process_id="4300",process="msedge",process_id="6032"} 8
2917
-windows_process_priority_base{creating_process_id="6032",process="msedge",process_id="1204"} 4
2918
-windows_process_priority_base{creating_process_id="6032",process="msedge",process_id="2296"} 4
2919
-windows_process_priority_base{creating_process_id="6032",process="msedge",process_id="3044"} 8
2920
-windows_process_priority_base{creating_process_id="6032",process="msedge",process_id="3728"} 8
2921
-windows_process_priority_base{creating_process_id="6032",process="msedge",process_id="5060"} 8
2922
-windows_process_priority_base{creating_process_id="6032",process="msedge",process_id="5904"} 8
2923
-windows_process_priority_base{creating_process_id="6032",process="msedge",process_id="5936"} 8
2924
-windows_process_priority_base{creating_process_id="6032",process="msedge",process_id="7800"} 8
2925
-windows_process_priority_base{creating_process_id="6032",process="msedge",process_id="844"} 4
2926
-windows_process_priority_base{creating_process_id="6032",process="msedge",process_id="8512"} 8
2927
-windows_process_priority_base{creating_process_id="6032",process="msedge",process_id="8736"} 8
2928
-windows_process_priority_base{creating_process_id="6032",process="msedge",process_id="896"} 10
2929
-windows_process_priority_base{creating_process_id="6032",process="msedge",process_id="900"} 4
2930
-# HELP windows_process_private_bytes Current number of bytes this process has allocated that cannot be shared with other processes.
2931
-# TYPE windows_process_private_bytes gauge
2932
-windows_process_private_bytes{creating_process_id="4300",process="msedge",process_id="6032"} 7.041024e+07
2933
-windows_process_private_bytes{creating_process_id="6032",process="msedge",process_id="1204"} 1.3561856e+07
2934
-windows_process_private_bytes{creating_process_id="6032",process="msedge",process_id="2296"} 1.5511552e+07
2935
-windows_process_private_bytes{creating_process_id="6032",process="msedge",process_id="3044"} 3.0756864e+07
2936
-windows_process_private_bytes{creating_process_id="6032",process="msedge",process_id="3728"} 8.298496e+06
2937
-windows_process_private_bytes{creating_process_id="6032",process="msedge",process_id="5060"} 3.32230656e+08
2938
-windows_process_private_bytes{creating_process_id="6032",process="msedge",process_id="5904"} 8.97024e+06
2939
-windows_process_private_bytes{creating_process_id="6032",process="msedge",process_id="5936"} 1.3877248e+07
2940
-windows_process_private_bytes{creating_process_id="6032",process="msedge",process_id="7800"} 2.060288e+06
2941
-windows_process_private_bytes{creating_process_id="6032",process="msedge",process_id="844"} 9.2012544e+07
2942
-windows_process_private_bytes{creating_process_id="6032",process="msedge",process_id="8512"} 2.0672512e+07
2943
-windows_process_private_bytes{creating_process_id="6032",process="msedge",process_id="8736"} 8.126464e+06
2944
-windows_process_private_bytes{creating_process_id="6032",process="msedge",process_id="896"} 4.1484288e+07
2945
-windows_process_private_bytes{creating_process_id="6032",process="msedge",process_id="900"} 2.3629824e+07
2946
-# HELP windows_process_start_time Time of process start.
2947
-# TYPE windows_process_start_time gauge
2948
-windows_process_start_time{creating_process_id="4300",process="msedge",process_id="6032"} 1.6674729863403437e+09
2949
-windows_process_start_time{creating_process_id="6032",process="msedge",process_id="1204"} 1.667489261506441e+09
2950
-windows_process_start_time{creating_process_id="6032",process="msedge",process_id="2296"} 1.6674729883723967e+09
2951
-windows_process_start_time{creating_process_id="6032",process="msedge",process_id="3044"} 1.6674892546961231e+09
2952
-windows_process_start_time{creating_process_id="6032",process="msedge",process_id="3728"} 1.667472986486918e+09
2953
-windows_process_start_time{creating_process_id="6032",process="msedge",process_id="5060"} 1.6674729865421767e+09
2954
-windows_process_start_time{creating_process_id="6032",process="msedge",process_id="5904"} 1.6674730465087523e+09
2955
-windows_process_start_time{creating_process_id="6032",process="msedge",process_id="5936"} 1.6674729864704254e+09
2956
-windows_process_start_time{creating_process_id="6032",process="msedge",process_id="7800"} 1.667472986365871e+09
2957
-windows_process_start_time{creating_process_id="6032",process="msedge",process_id="844"} 1.6674729865463045e+09
2958
-windows_process_start_time{creating_process_id="6032",process="msedge",process_id="8512"} 1.6674729970112965e+09
2959
-windows_process_start_time{creating_process_id="6032",process="msedge",process_id="8736"} 1.667472989342484e+09
2960
-windows_process_start_time{creating_process_id="6032",process="msedge",process_id="896"} 1.667472986462684e+09
2961
-windows_process_start_time{creating_process_id="6032",process="msedge",process_id="900"} 1.667472995850073e+09
2962
-# HELP windows_process_threads Number of threads currently active in this process.
2963
-# TYPE windows_process_threads gauge
2964
-windows_process_threads{creating_process_id="4300",process="msedge",process_id="6032"} 38
2965
-windows_process_threads{creating_process_id="6032",process="msedge",process_id="1204"} 12
2966
-windows_process_threads{creating_process_id="6032",process="msedge",process_id="2296"} 15
2967
-windows_process_threads{creating_process_id="6032",process="msedge",process_id="3044"} 15
2968
-windows_process_threads{creating_process_id="6032",process="msedge",process_id="3728"} 9
2969
-windows_process_threads{creating_process_id="6032",process="msedge",process_id="5060"} 21
2970
-windows_process_threads{creating_process_id="6032",process="msedge",process_id="5904"} 9
2971
-windows_process_threads{creating_process_id="6032",process="msedge",process_id="5936"} 12
2972
-windows_process_threads{creating_process_id="6032",process="msedge",process_id="7800"} 7
2973
-windows_process_threads{creating_process_id="6032",process="msedge",process_id="844"} 17
2974
-windows_process_threads{creating_process_id="6032",process="msedge",process_id="8512"} 15
2975
-windows_process_threads{creating_process_id="6032",process="msedge",process_id="8736"} 9
2976
-windows_process_threads{creating_process_id="6032",process="msedge",process_id="896"} 19
2977
-windows_process_threads{creating_process_id="6032",process="msedge",process_id="900"} 15
2978
-# HELP windows_process_virtual_bytes Current size, in bytes, of the virtual address space that the process is using.
2979
-# TYPE windows_process_virtual_bytes gauge
2980
-windows_process_virtual_bytes{creating_process_id="4300",process="msedge",process_id="6032"} 2.341704609792e+12
2981
-windows_process_virtual_bytes{creating_process_id="6032",process="msedge",process_id="1204"} 3.48529324032e+12
2982
-windows_process_virtual_bytes{creating_process_id="6032",process="msedge",process_id="2296"} 3.485321392128e+12
2983
-windows_process_virtual_bytes{creating_process_id="6032",process="msedge",process_id="3044"} 3.48532901888e+12
2984
-windows_process_virtual_bytes{creating_process_id="6032",process="msedge",process_id="3728"} 2.306839302144e+12
2985
-windows_process_virtual_bytes{creating_process_id="6032",process="msedge",process_id="5060"} 3.485494009856e+12
2986
-windows_process_virtual_bytes{creating_process_id="6032",process="msedge",process_id="5904"} 2.306863792128e+12
2987
-windows_process_virtual_bytes{creating_process_id="6032",process="msedge",process_id="5936"} 2.30688589824e+12
2988
-windows_process_virtual_bytes{creating_process_id="6032",process="msedge",process_id="7800"} 2.272204521472e+12
2989
-windows_process_virtual_bytes{creating_process_id="6032",process="msedge",process_id="844"} 3.486428184576e+12
2990
-windows_process_virtual_bytes{creating_process_id="6032",process="msedge",process_id="8512"} 3.485333880832e+12
2991
-windows_process_virtual_bytes{creating_process_id="6032",process="msedge",process_id="8736"} 2.306843000832e+12
2992
-windows_process_virtual_bytes{creating_process_id="6032",process="msedge",process_id="896"} 2.307077632e+12
2993
-windows_process_virtual_bytes{creating_process_id="6032",process="msedge",process_id="900"} 3.485325856768e+12
2994
-# HELP windows_process_working_set_bytes Maximum number of bytes in the working set of this process at any point in time. The working set is the set of memory pages touched recently by the threads in the process.
2995
-# TYPE windows_process_working_set_bytes gauge
2996
-windows_process_working_set_bytes{creating_process_id="4300",process="msedge",process_id="6032"} 1.59309824e+08
2997
-windows_process_working_set_bytes{creating_process_id="6032",process="msedge",process_id="1204"} 2.7205632e+07
2998
-windows_process_working_set_bytes{creating_process_id="6032",process="msedge",process_id="2296"} 3.65568e+07
2999
-windows_process_working_set_bytes{creating_process_id="6032",process="msedge",process_id="3044"} 7.5198464e+07
3000
-windows_process_working_set_bytes{creating_process_id="6032",process="msedge",process_id="3728"} 1.7866752e+07
3001
-windows_process_working_set_bytes{creating_process_id="6032",process="msedge",process_id="5060"} 3.79973632e+08
3002
-windows_process_working_set_bytes{creating_process_id="6032",process="msedge",process_id="5904"} 2.3228416e+07
3003
-windows_process_working_set_bytes{creating_process_id="6032",process="msedge",process_id="5936"} 3.6646912e+07
3004
-windows_process_working_set_bytes{creating_process_id="6032",process="msedge",process_id="7800"} 6.950912e+06
3005
-windows_process_working_set_bytes{creating_process_id="6032",process="msedge",process_id="844"} 1.32747264e+08
3006
-windows_process_working_set_bytes{creating_process_id="6032",process="msedge",process_id="8512"} 5.5025664e+07
3007
-windows_process_working_set_bytes{creating_process_id="6032",process="msedge",process_id="8736"} 1.9361792e+07
3008
-windows_process_working_set_bytes{creating_process_id="6032",process="msedge",process_id="896"} 5.873664e+07
3009
-windows_process_working_set_bytes{creating_process_id="6032",process="msedge",process_id="900"} 5.6283136e+07
3010
-# HELP windows_process_working_set_peak_bytes Maximum size, in bytes, of the Working Set of this process at any point in time. The Working Set is the set of memory pages touched recently by the threads in the process.
3011
-# TYPE windows_process_working_set_peak_bytes gauge
3012
-windows_process_working_set_peak_bytes{creating_process_id="4300",process="msedge",process_id="6032"} 1.73211648e+08
3013
-windows_process_working_set_peak_bytes{creating_process_id="6032",process="msedge",process_id="1204"} 2.7205632e+07
3014
-windows_process_working_set_peak_bytes{creating_process_id="6032",process="msedge",process_id="2296"} 4.1439232e+07
3015
-windows_process_working_set_peak_bytes{creating_process_id="6032",process="msedge",process_id="3044"} 9.2250112e+07
3016
-windows_process_working_set_peak_bytes{creating_process_id="6032",process="msedge",process_id="3728"} 1.9263488e+07
3017
-windows_process_working_set_peak_bytes{creating_process_id="6032",process="msedge",process_id="5060"} 4.54914048e+08
3018
-windows_process_working_set_peak_bytes{creating_process_id="6032",process="msedge",process_id="5904"} 2.4363008e+07
3019
-windows_process_working_set_peak_bytes{creating_process_id="6032",process="msedge",process_id="5936"} 4.2278912e+07
3020
-windows_process_working_set_peak_bytes{creating_process_id="6032",process="msedge",process_id="7800"} 7.626752e+06
3021
-windows_process_working_set_peak_bytes{creating_process_id="6032",process="msedge",process_id="844"} 2.28954112e+08
3022
-windows_process_working_set_peak_bytes{creating_process_id="6032",process="msedge",process_id="8512"} 5.9830272e+07
3023
-windows_process_working_set_peak_bytes{creating_process_id="6032",process="msedge",process_id="8736"} 2.0250624e+07
3024
-windows_process_working_set_peak_bytes{creating_process_id="6032",process="msedge",process_id="896"} 7.835648e+07
3025
-windows_process_working_set_peak_bytes{creating_process_id="6032",process="msedge",process_id="900"} 5.943296e+07
3026
-# HELP windows_process_working_set_private_bytes Size of the working set, in bytes, that is use for this process only and not shared nor shareable by other processes.
3027
-# TYPE windows_process_working_set_private_bytes gauge
3028
-windows_process_working_set_private_bytes{creating_process_id="4300",process="msedge",process_id="6032"} 3.6057088e+07
3029
-windows_process_working_set_private_bytes{creating_process_id="6032",process="msedge",process_id="1204"} 5.373952e+06
3030
-windows_process_working_set_private_bytes{creating_process_id="6032",process="msedge",process_id="2296"} 2.072576e+06
3031
-windows_process_working_set_private_bytes{creating_process_id="6032",process="msedge",process_id="3044"} 1.9554304e+07
3032
-windows_process_working_set_private_bytes{creating_process_id="6032",process="msedge",process_id="3728"} 1.691648e+06
3033
-windows_process_working_set_private_bytes{creating_process_id="6032",process="msedge",process_id="5060"} 2.96091648e+08
3034
-windows_process_working_set_private_bytes{creating_process_id="6032",process="msedge",process_id="5904"} 1.654784e+06
3035
-windows_process_working_set_private_bytes{creating_process_id="6032",process="msedge",process_id="5936"} 6.49216e+06
3036
-windows_process_working_set_private_bytes{creating_process_id="6032",process="msedge",process_id="7800"} 421888
3037
-windows_process_working_set_private_bytes{creating_process_id="6032",process="msedge",process_id="844"} 6.250496e+07
3038
-windows_process_working_set_private_bytes{creating_process_id="6032",process="msedge",process_id="8512"} 7.59808e+06
3039
-windows_process_working_set_private_bytes{creating_process_id="6032",process="msedge",process_id="8736"} 1.449984e+06
3040
-windows_process_working_set_private_bytes{creating_process_id="6032",process="msedge",process_id="896"} 8.429568e+06
3041
-windows_process_working_set_private_bytes{creating_process_id="6032",process="msedge",process_id="900"} 1.1952128e+07
3042
-# HELP windows_service_info A metric with a constant '1' value labeled with service information
3043
-# TYPE windows_service_info gauge
3044
-windows_service_info{display_name="DHCP Client",name="dhcp",process_id="1908",run_as="NT Authority\\LocalService"} 1
3045
-# HELP windows_service_start_mode The start mode of the service (StartMode)
3046
-# TYPE windows_service_start_mode gauge
3047
-windows_service_start_mode{name="dhcp",start_mode="auto"} 1
3048
-windows_service_start_mode{name="dhcp",start_mode="boot"} 0
3049
-windows_service_start_mode{name="dhcp",start_mode="disabled"} 0
3050
-windows_service_start_mode{name="dhcp",start_mode="manual"} 0
3051
-windows_service_start_mode{name="dhcp",start_mode="system"} 0
3052
-# HELP windows_service_state The state of the service (State)
3053
-# TYPE windows_service_state gauge
3054
-windows_service_state{name="dhcp",state="continue pending"} 0
3055
-windows_service_state{name="dhcp",state="pause pending"} 0
3056
-windows_service_state{name="dhcp",state="paused"} 0
3057
-windows_service_state{name="dhcp",state="running"} 1
3058
-windows_service_state{name="dhcp",state="start pending"} 0
3059
-windows_service_state{name="dhcp",state="stop pending"} 0
3060
-windows_service_state{name="dhcp",state="stopped"} 0
3061
-windows_service_state{name="dhcp",state="unknown"} 0
3062
-# HELP windows_service_status The status of the service (Status)
3063
-# TYPE windows_service_status gauge
3064
-windows_service_status{name="dhcp",status="degraded"} 0
3065
-windows_service_status{name="dhcp",status="error"} 0
3066
-windows_service_status{name="dhcp",status="lost comm"} 0
3067
-windows_service_status{name="dhcp",status="no contact"} 0
3068
-windows_service_status{name="dhcp",status="nonrecover"} 0
3069
-windows_service_status{name="dhcp",status="ok"} 1
3070
-windows_service_status{name="dhcp",status="pred fail"} 0
3071
-windows_service_status{name="dhcp",status="service"} 0
3072
-windows_service_status{name="dhcp",status="starting"} 0
3073
-windows_service_status{name="dhcp",status="stopping"} 0
3074
-windows_service_status{name="dhcp",status="stressed"} 0
3075
-windows_service_status{name="dhcp",status="unknown"} 0
3076
-# HELP windows_system_context_switches_total Total number of context switches (WMI source: PerfOS_System.ContextSwitchesPersec)
3077
-# TYPE windows_system_context_switches_total counter
3078
-windows_system_context_switches_total 4.8655033e+08
3079
-# HELP windows_system_exception_dispatches_total Total number of exceptions dispatched (WMI source: PerfOS_System.ExceptionDispatchesPersec)
3080
-# TYPE windows_system_exception_dispatches_total counter
3081
-windows_system_exception_dispatches_total 160348
3082
-# HELP windows_system_processor_queue_length Length of processor queue (WMI source: PerfOS_System.ProcessorQueueLength)
3083
-# TYPE windows_system_processor_queue_length gauge
3084
-windows_system_processor_queue_length 0
3085
-# HELP windows_system_system_calls_total Total number of system calls (WMI source: PerfOS_System.SystemCallsPersec)
3086
-# TYPE windows_system_system_calls_total counter
3087
-windows_system_system_calls_total 1.886567439e+09
3088
-# HELP windows_system_system_up_time System boot time (WMI source: PerfOS_System.SystemUpTime)
3089
-# TYPE windows_system_system_up_time gauge
3090
-windows_system_system_up_time 1.6673440377290363e+09
3091
-# HELP windows_system_threads Current number of threads (WMI source: PerfOS_System.Threads)
3092
-# TYPE windows_system_threads gauge
3093
-windows_system_threads 1559
3094
-# HELP windows_tcp_connection_failures_total (TCP.ConnectionFailures)
3095
-# TYPE windows_tcp_connection_failures_total counter
3096
-windows_tcp_connection_failures_total{af="ipv4"} 137
3097
-windows_tcp_connection_failures_total{af="ipv6"} 214
3098
-# HELP windows_tcp_connections_active_total (TCP.ConnectionsActive)
3099
-# TYPE windows_tcp_connections_active_total counter
3100
-windows_tcp_connections_active_total{af="ipv4"} 4301
3101
-windows_tcp_connections_active_total{af="ipv6"} 214
3102
-# HELP windows_tcp_connections_established (TCP.ConnectionsEstablished)
3103
-# TYPE windows_tcp_connections_established gauge
3104
-windows_tcp_connections_established{af="ipv4"} 7
3105
-windows_tcp_connections_established{af="ipv6"} 0
3106
-# HELP windows_tcp_connections_passive_total (TCP.ConnectionsPassive)
3107
-# TYPE windows_tcp_connections_passive_total counter
3108
-windows_tcp_connections_passive_total{af="ipv4"} 501
3109
-windows_tcp_connections_passive_total{af="ipv6"} 0
3110
-# HELP windows_tcp_connections_reset_total (TCP.ConnectionsReset)
3111
-# TYPE windows_tcp_connections_reset_total counter
3112
-windows_tcp_connections_reset_total{af="ipv4"} 1282
3113
-windows_tcp_connections_reset_total{af="ipv6"} 0
3114
-# HELP windows_tcp_segments_received_total (TCP.SegmentsReceivedTotal)
3115
-# TYPE windows_tcp_segments_received_total counter
3116
-windows_tcp_segments_received_total{af="ipv4"} 676388
3117
-windows_tcp_segments_received_total{af="ipv6"} 1284
3118
-# HELP windows_tcp_segments_retransmitted_total (TCP.SegmentsRetransmittedTotal)
3119
-# TYPE windows_tcp_segments_retransmitted_total counter
3120
-windows_tcp_segments_retransmitted_total{af="ipv4"} 2120
3121
-windows_tcp_segments_retransmitted_total{af="ipv6"} 428
3122
-# HELP windows_tcp_segments_sent_total (TCP.SegmentsSentTotal)
3123
-# TYPE windows_tcp_segments_sent_total counter
3124
-windows_tcp_segments_sent_total{af="ipv4"} 871379
3125
-windows_tcp_segments_sent_total{af="ipv6"} 856
3126
-# HELP windows_tcp_segments_total (TCP.SegmentsTotal)
3127
-# TYPE windows_tcp_segments_total counter
3128
-windows_tcp_segments_total{af="ipv4"} 1.547767e+06
3129
-windows_tcp_segments_total{af="ipv6"} 2140
src/go/plugin/go.d/config/go.d.conf
-1
@@ -128,7 +128,6 @@ modules:
128
# web_log: yes
129
# wireguard: yes
130
# whoisquery: yes
131
-# windows: yes
131
# x509check: yes
132
# zfspool: yes
133
# zookeeper: yes
src/go/plugin/go.d/config/go.d/windows.conf
deleted
-8
@@ -1,8 +0,0 @@
1
-## All available configuration options, their descriptions and default values:
2
-## https://github.com/netdata/netdata/tree/master/src/go/plugin/go.d/collector/windows#readme
3
-
4
-#jobs:
5
-# - name: win_server1
6
-# url: http://10.0.0.1:9182/metrics
7
-# - name: win_server2
8
-# url: http://10.0.0.2:9182/metrics
src/health/health.d/windows.conf
deleted
-108
@@ -1,108 +0,0 @@
1
-## CPU
2
-
3
- template: windows_10min_cpu_usage
4
- on: windows.cpu_utilization_total
5
- class: Utilization
6
- type: Windows
7
-component: CPU
8
- lookup: average -10m unaligned match-names of dpc,user,privileged,interrupt
9
- units: %
10
- every: 1m
11
- warn: $this > (($status >= $WARNING) ? (75) : (85))
12
- crit: $this > (($status == $CRITICAL) ? (85) : (95))
13
- delay: down 15m multiplier 1.5 max 1h
14
- summary: CPU utilization
15
- info: Average CPU utilization over the last 10 minutes
16
- to: silent
17
-
18
-## Memory
19
-
20
- template: windows_ram_in_use
21
- on: windows.memory_utilization
22
- class: Utilization
23
- type: Windows
24
-component: Memory
25
- calc: ($used) * 100 / ($used + $available)
26
- units: %
27
- every: 10s
28
- warn: $this > (($status >= $WARNING) ? (80) : (90))
29
- crit: $this > (($status == $CRITICAL) ? (90) : (98))
30
- delay: down 15m multiplier 1.5 max 1h
31
- summary: Ram utilization
32
- info: Memory utilization
33
- to: sysadmin
34
-
35
-## Network
36
-
37
- template: windows_inbound_packets_discarded
38
- on: windows.net_nic_discarded
39
- class: Errors
40
- type: Windows
41
-component: Network
42
- lookup: sum -10m unaligned absolute match-names of inbound
43
- units: packets
44
- every: 1m
45
- warn: $this >= 5
46
- delay: down 1h multiplier 1.5 max 2h
47
- summary: Inbound network packets discarded
48
- info: Number of inbound discarded packets for the network interface in the last 10 minutes
49
- to: silent
50
-
51
- template: windows_outbound_packets_discarded
52
- on: windows.net_nic_discarded
53
- class: Errors
54
- type: Windows
55
-component: Network
56
- lookup: sum -10m unaligned absolute match-names of outbound
57
- units: packets
58
- every: 1m
59
- warn: $this >= 5
60
- delay: down 1h multiplier 1.5 max 2h
61
- summary: Outbound network packets discarded
62
- info: Number of outbound discarded packets for the network interface in the last 10 minutes
63
- to: silent
64
-
65
- template: windows_inbound_packets_errors
66
- on: windows.net_nic_errors
67
- class: Errors
68
- type: Windows
69
-component: Network
70
- lookup: sum -10m unaligned absolute match-names of inbound
71
- units: packets
72
- every: 1m
73
- warn: $this >= 5
74
- delay: down 1h multiplier 1.5 max 2h
75
- summary: Inbound network errors
76
- info: Number of inbound errors for the network interface in the last 10 minutes
77
- to: silent
78
-
79
- template: windows_outbound_packets_errors
80
- on: windows.net_nic_errors
81
- class: Errors
82
- type: Windows
83
-component: Network
84
- lookup: sum -10m unaligned absolute match-names of outbound
85
- units: packets
86
- every: 1m
87
- warn: $this >= 5
88
- delay: down 1h multiplier 1.5 max 2h
89
- summary: Outbound network errors
90
- info: Number of outbound errors for the network interface in the last 10 minutes
91
- to: silent
92
-
93
-## Disk
94
-
95
- template: windows_disk_in_use
96
- on: windows.logical_disk_space_usage
97
- class: Utilization
98
- type: Windows
99
-component: Disk
100
- calc: ($used) * 100 / ($used + $free)
101
- units: %
102
- every: 10s
103
- warn: $this > (($status >= $WARNING) ? (80) : (90))
104
- crit: $this > (($status == $CRITICAL) ? (90) : (98))
105
- delay: down 15m multiplier 1.5 max 1h
106
- summary: Disk space usage
107
- info: Disk space utilization
108
- to: sysadmin