mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-10 12:36:37 +00:00
chore: Move private packages to internal (#1664)
This commit is contained in:
17
internal/collector/tcp/const.go
Normal file
17
internal/collector/tcp/const.go
Normal file
@@ -0,0 +1,17 @@
|
||||
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"
|
||||
connectionsEstablished = "Connections Established"
|
||||
connectionsPassive = "Connections Passive"
|
||||
connectionsReset = "Connections Reset"
|
||||
segmentsPerSec = "Segments/sec"
|
||||
segmentsReceivedPerSec = "Segments Received/sec"
|
||||
segmentsRetransmittedPerSec = "Segments Retransmitted/sec"
|
||||
segmentsSentPerSec = "Segments Sent/sec"
|
||||
)
|
||||
Reference in New Issue
Block a user