package
1.13.2
Repository: https://github.com/weaveworks/scope.git
Documentation: pkg.go.dev

# Functions

NewReporter returns a Reporter which produces a report containing host topology for this host.
NewTagger tags each node with a foreign key linking it to its origin host in the host topology.

# Constants

Keys for use in Node.Latest.
Control IDs used by the host integration.
Keys for use in Node.Latest.
Keys for use in Node.Latest.
Keys for use in Node.Latest.
Keys for use in Node.Latest.
Keys for use in Node.Latest.
Keys for use in Node.Latest.
Exposed for testing.
Exposed for testing.
Exposed for testing.
Exposed for testing.
Control IDs used by the host integration.
Keys for use in Node.Latest.
Keys for use in Node.Latest.
Keys for use in Node.Latest.

# Variables

GetCPUUsagePercent returns the percent cpu usage and max (i.e.
GetKernelReleaseAndVersion returns the kernel version as reported by uname.
GetLoad returns the current load averages as metrics.
GetLocalNetworks is exported for mocking.
GetMemoryUsageBytes returns the bytes memory usage and max.
GetUptime returns the uptime of the host.
Exposed for testing.
Exposed for testing.
Uname is swappable for mocking in tests.

# Structs

Reporter generates Reports containing the host topology.
Tagger tags each node in each topology of a report with the origin host node ID of this (probe) host.