mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-08 19:46:35 +00:00
tcp: use GetExtendedTcpTable to display states Closed, Listening, SynSent, SynRcvd, CloseWait, TimeWait ... (#1638)
Co-authored-by: Jan-Otto Kröpke <github@jkroepke.de> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jan-Otto Kröpke <joe@cloudeteer.de>
This commit is contained in:
@@ -3,6 +3,7 @@ package tcp
|
||||
// Win32_PerfRawData_Tcpip_TCPv4 docs
|
||||
// - https://msdn.microsoft.com/en-us/library/aa394341(v=vs.85).aspx
|
||||
// The TCPv6 performance object uses the same fields.
|
||||
// https://learn.microsoft.com/en-us/dotnet/api/system.net.networkinformation.tcpstate?view=net-8.0.
|
||||
const (
|
||||
connectionFailures = "Connection Failures"
|
||||
connectionsActive = "Connections Active"
|
||||
|
||||
Reference in New Issue
Block a user