windows_exporter/collector
Tatenda Zifudzi 9adefdceeb fix: Resolve missing container network metrics by querying from HNS
This fix ensures that network stats for containerd on Windows are successfully collected. Before this change, other container stats such as CPU and memory are successfully collected, but network stats are failing for containerd.

The root cause is that the code for collecting network stats was originally written to work with docker which relies on v1 schema. After dockershim removal as Kubernetes's container runtime, containerd adoption has increased and this error is more frequently encountered when using containerd as  the runtime. containerd uses v2 schema whereby the network stats need to be queried from the HNS component.

Signed-off-by: Tatenda Zifudzi <tzifudzi@amazon.com>
2023-07-20 11:22:29 -07:00
..
ad.go fix lint 2023-07-09 22:42:00 +02:00
ad_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
adcs.go fix lint 2023-07-09 22:42:00 +02:00
adcs_test.go Initial commit for ADCS collector 2022-01-02 01:24:11 -05:00
adfs.go switch to go-kit logger 2023-07-09 22:37:27 +02:00
adfs_test.go Add benchmark for each collector 2021-04-01 22:28:54 +10:00
cache.go fix lint 2023-07-09 22:42:00 +02:00
collector.go fix lint 2023-07-09 22:42:00 +02:00
collector_test.go switch to go-kit logger 2023-07-09 22:37:27 +02:00
container.go fix: Resolve missing container network metrics by querying from HNS 2023-07-20 11:22:29 -07:00
container_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
cpu.go switch to go-kit logger 2023-07-09 22:37:27 +02:00
cpu_info.go fix lint 2023-07-09 22:42:00 +02:00
cpu_test.go Add benchmark for each collector 2021-04-01 22:28:54 +10:00
cs.go fix lint 2023-07-09 22:42:00 +02:00
cs_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
dfsr.go fix lint 2023-07-09 22:42:00 +02:00
dfsr_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
dhcp.go switch to go-kit logger 2023-07-09 22:37:27 +02:00
dhcp_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
diskdrive.go fix lint 2023-07-09 22:42:00 +02:00
diskdrive_test.go Removed commented benchmark 2023-01-12 17:08:59 -05:00
dns.go fix lint 2023-07-09 22:42:00 +02:00
dns_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
exchange.go fix lint 2023-07-09 22:42:00 +02:00
exchange_test.go Add benchmark for each collector 2021-04-01 22:28:54 +10:00
fsrmquota.go fix lint 2023-07-09 22:42:00 +02:00
fsrmquota_test.go Add benchmark for each collector 2021-04-01 22:28:54 +10:00
hyperv.go fix lint 2023-07-09 22:42:00 +02:00
hyperv_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
iis.go fix lint 2023-07-09 22:42:00 +02:00
iis_test.go fix: Ignore duplicate IIS entries from Perflib 2023-05-07 20:12:32 +10:00
init.go feat: Update NPS collector for go-kit logging 2023-07-11 06:23:10 +10:00
logical_disk.go fix lint 2023-07-09 22:42:00 +02:00
logical_disk_test.go feat!: Deprecate whitelist/blacklist flags 2023-04-19 06:11:23 +10:00
logon.go fix lint 2023-07-09 22:42:00 +02:00
logon_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
memory.go fix lint 2023-07-09 22:42:00 +02:00
memory_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
mscluster_cluster.go switch to go-kit logger 2023-07-09 22:37:27 +02:00
mscluster_network.go switch to go-kit logger 2023-07-09 22:37:27 +02:00
mscluster_node.go switch to go-kit logger 2023-07-09 22:37:27 +02:00
mscluster_resource.go switch to go-kit logger 2023-07-09 22:37:27 +02:00
mscluster_resourcegroup.go switch to go-kit logger 2023-07-09 22:37:27 +02:00
msmq.go fix lint 2023-07-09 22:42:00 +02:00
msmq_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
mssql.go fix lint 2023-07-09 22:42:00 +02:00
mssql_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
net.go fix lint 2023-07-09 22:42:00 +02:00
net_test.go feat!: Deprecate whitelist/blacklist flags 2023-04-19 06:11:23 +10:00
netframework_clrexceptions.go fix lint 2023-07-09 22:42:00 +02:00
netframework_clrexceptions_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
netframework_clrinterop.go fix lint 2023-07-09 22:42:00 +02:00
netframework_clrinterop_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
netframework_clrjit.go fix lint 2023-07-09 22:42:00 +02:00
netframework_clrjit_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
netframework_clrloading.go fix lint 2023-07-09 22:42:00 +02:00
netframework_clrloading_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
netframework_clrlocksandthreads.go fix lint 2023-07-09 22:42:00 +02:00
netframework_clrlocksandthreads_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
netframework_clrmemory.go fix lint 2023-07-09 22:42:00 +02:00
netframework_clrmemory_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
netframework_clrremoting.go fix lint 2023-07-09 22:42:00 +02:00
netframework_clrremoting_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
netframework_clrsecurity.go fix lint 2023-07-09 22:42:00 +02:00
netframework_clrsecurity_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
nps.go feat: Update NPS collector for go-kit logging 2023-07-11 06:23:10 +10:00
nps_test.go NPS(feature): add nps collector 2023-07-11 06:04:12 +10:00
os.go fix lint 2023-07-09 22:42:00 +02:00
os_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
perflib.go fix lint 2023-07-09 22:42:00 +02:00
perflib_test.go switch to go-kit logger 2023-07-09 22:37:27 +02:00
process.go fix lint 2023-07-09 22:42:00 +02:00
process_test.go feat!: Deprecate whitelist/blacklist flags 2023-04-19 06:11:23 +10:00
prometheus.go fix lint 2023-07-09 22:42:00 +02:00
remote_fx.go fix lint 2023-07-09 22:42:00 +02:00
remote_fx_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
scheduled_task.go fix lint 2023-07-09 22:42:00 +02:00
scheduled_task_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
service.go fix lint 2023-07-09 22:42:00 +02:00
service_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
smtp.go fix lint 2023-07-09 22:42:00 +02:00
smtp_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
system.go fix lint 2023-07-09 22:42:00 +02:00
system_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
tcp.go fix lint 2023-07-09 22:42:00 +02:00
tcp_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
teradici_pcoip.go fix lint 2023-07-09 22:42:00 +02:00
teradici_pcoip_test.go Returning test functions to public 2023-02-08 10:12:15 +00:00
terminal_services.go remove known session name 2023-07-10 12:00:40 +10:00
terminal_services_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
textfile.go fix lint 2023-07-09 22:42:00 +02:00
textfile_test.go switch to go-kit logger 2023-07-09 22:37:27 +02:00
thermalzone.go fix lint 2023-07-09 22:42:00 +02:00
thermalzone_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
time.go revert fix on newTimeCollector 2023-07-10 00:44:30 +02:00
time_test.go Add benchmark for each collector 2021-04-01 22:28:54 +10:00
vmware.go fix lint 2023-07-09 22:42:00 +02:00
vmware_blast.go fix lint 2023-07-09 22:42:00 +02:00
vmware_blast_test.go Returning test functions to public 2023-02-08 10:12:15 +00:00
vmware_test.go chore: Ensure collector build funcs are private 2023-04-01 17:54:41 +10:00
wmi.go fix lint 2023-07-09 22:42:00 +02:00
wmi_test.go switch to go-kit logger 2023-07-09 22:37:27 +02:00