Skip to content

Commit

Permalink
terminal_services: refactor collector (#1729)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkroepke authored Nov 13, 2024
1 parent b4f50c5 commit f332361
Show file tree
Hide file tree
Showing 5 changed files with 158 additions and 111 deletions.
23 changes: 23 additions & 0 deletions internal/collector/terminal_services/const.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package terminal_services

const (
HandleCount = "Handle Count"
PageFaultsPersec = "Page Faults/sec"
PageFileBytes = "Page File Bytes"
PageFileBytesPeak = "Page File Bytes Peak"
PercentPrivilegedTime = "% Privileged Time"
PercentProcessorTime = "% Processor Time"
PercentUserTime = "% User Time"
PoolNonpagedBytes = "Pool Nonpaged Bytes"
PoolPagedBytes = "Pool Paged Bytes"
PrivateBytes = "Private Bytes"
ThreadCount = "Thread Count"
VirtualBytes = "Virtual Bytes"
VirtualBytesPeak = "Virtual Bytes Peak"
WorkingSet = "Working Set"
WorkingSetPeak = "Working Set Peak"

SuccessfulConnections = "Successful Connections"
PendingConnections = "Pending Connections"
FailedConnections = "Failed Connections"
)
Loading

0 comments on commit f332361

Please sign in to comment.