# Functions
AddLocalBridge records the subnet address associated with the bridge name supplied, such that MakeAddressNodeID will scope addresses in this subnet as local.
CensorRawReport removes any sensitive data from the raw report based on the request query params.
ContainingIPv4Network determines the smallest network containing the given IPv4 addresses.
ExtractHostID extracts the host id from Node.
GetCensorConfigFromRequest extracts censor config from request query params.
GetLocalNetworks returns all the local networks.
IsCommandEntry returns true iff the entry comes from a command line that might need to be conditionally censored.
IsEnvironmentVarsEntry returns true if the entry might expose some environment variables data might need to be conditionally censored.
IsLoopback ascertains if an address comes from a loopback interface.
IsPauseImageName indicates whether an image name corresponds to a kubernetes pause container image.
LocalAddresses returns a list of the local IP addresses.
MakeAddressNodeID produces an address node ID from its composite parts.
MakeAddressNodeIDB produces an address node ID from its composite parts, in binary not string.
MakeECSServiceNodeID produces an ECS Service node ID from its composite parts.
MakeEndpointNodeID produces an endpoint node ID from its composite parts.
MakeEndpointNodeIDB produces an endpoint node ID from its composite parts in binary, not strings.
MakeFromBinary constructs a Report from binary data.
MakeFromFile construct a Report from a file, with the encoding determined by the extension (".msgpack" or ".json", with an optional ".gz").
MakeIDList makes a new IDList.
MakeMetric makes a new Metric from unique samples incrementally ordered in time.
MakeNetworks creates a datastructure representing a set of networks.
MakeNode creates a new Node with no initial metadata.
MakeNodeSet makes a new NodeSet with the given nodes.
MakeNodeWith creates a new Node with the supplied map.
MakeOverlayNodeID produces an overlay topology node ID from a router peer's prefix and name, which is assumed to be globally unique.
MakeProcessNodeID produces a process node ID from its composite parts.
MakeReport makes a clean report, ready to Merge() other reports into.
MakeScopedAddressNodeID is like MakeAddressNodeID, but it always prefixes the ID witha scope.
MakeScopedEndpointNodeID is like MakeEndpointNodeID, but it always prefixes the ID with a scope.
MakeSets returns EmptySets.
MakeSingletonMetric makes a metric with a single value.
MakeStringLatestMap makes an empty StringLatestMap.
MakeStringSet makes a new StringSet with the given strings.
MakeTopology gives you a Topology.
ParseAddressNodeID produces the host ID, address from an address node ID.
ParseECSServiceNodeID produces the cluster, service name from an ECS Service node ID.
ParseEndpointNodeID produces the scope, address, and port and remainder.
ParseIP parses s as an IP address into a byte slice if supplied, returning the result.
ParseNodeID produces the id and tag of a single-component node ID.
ParseOverlayNodeID produces the overlay type and peer name.
ParseProcessNodeID produces the host ID and PID from a process node ID.
StripCommandArgs removes all the arguments from the command.
WithoutPrefix returns the string with trimmed prefix and a boolean information of whether that prefix was really there.
# Constants
Names of the various topologies.
Shapes used for different nodes.
Names of the various topologies.
node metadata keys.
node metadata keys.
Names of the various topologies.
Names of the various topologies.
Used when counting the number of containers.
ControlProbeID is the random ID of the probe which controls the specific node.
node metadata keys.
node metadata keys.
Names of the various topologies.
Names of the various topologies.
Names of the various topologies.
DateTime is an ISO timestamp of the format "2017-07-03T09:45:00.329067309Z".
DefaultFormat and friends tell the UI how to render the "Value" of this metric.
Names of the various topologies.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
probe/docker.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
constants used in node metadata values.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
constants used in node metadata values.
DockerOverlayPeerPrefix is the prefix for docker peers in the overlay network.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
Key added to nodes to prevent them being joined with conntracked connections.
Names of the various topologies.
Names of the various topologies.
Duration specified in seconds, e.g.
probe/awsecs.
node metadata keys.
node metadata keys.
node metadata keys.
Names of the various topologies.
node metadata keys.
node metadata keys.
Names of the various topologies.
node metadata keys.
EdgeDelim separates two node IDs when they need to exist in the same key.
Names of the various topologies.
DefaultFormat and friends tell the UI how to render the "Value" of this metric.
FromLatest and friends denote the different fields where metadata can be gathered from.
FromLatest and friends denote the different fields where metadata can be gathered from.
FromLatest and friends denote the different fields where metadata can be gathered from.
Names of the various topologies.
Names of the various topologies.
Names of the various topologies.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
HostNodeID is a metadata foreign key, linking a node in any topology to a node in the host topology.
DefaultFormat and friends tell the UI how to render the "Value" of this metric.
IP is a string in the format "182.43.147.201".
Names of the various topologies.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
probe/kubernetes.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
node metadata keys.
Table types.
also used by probe/docker.
Names of the various topologies.
Node.
Number as an integer or a floating point.
Names of the various topologies.
node metadata keys.
Names of the various topologies.
Names of the various topologies.
DefaultFormat and friends tell the UI how to render the "Value" of this metric.
Names of the various topologies.
Names of the various topologies.
probe/process.
Names of the various topologies.
node metadata keys.
Names of the various topologies.
Table types.
Names of the various topologies.
probe/endpoint.
ScopeDelim is a general-purpose delimiter used within node IDs to separate different contextual scopes.
node metadata keys.
Names of the various topologies.
node metadata keys.
Names of the various topologies.
constants used in node metadata values.
constants used in node metadata values.
constants used in node metadata values.
constants used in node metadata values.
constants used in node metadata values.
Names of the various topologies.
constants used in node metadata values.
constants used in node metadata values.
constants used in node metadata values.
Names of the various topologies.
Names of the various topologies.
Names of the various topologies.
node metadata keys.
probe/host.
Names of the various topologies.
node metadata keys.
Names of the various topologies.
Names of the various topologies.
WeaveOverlayPeerPrefix is the prefix for weave peers in the overlay network.
probe/overlay/weave.
node metadata keys.
# Variables
LocalNetworks helps in determining which addresses a probe reports as being host-scoped.
MakeContainerImageNodeID produces a container image node ID from its composite parts.
MakeContainerNodeID produces a container node ID from its composite parts.
MakeCronJobNodeID produces a cronjob node ID from its composite parts.
MakeDaemonSetNodeID produces a replica set node ID from its composite parts.
MakeDeploymentNodeID produces a deployment node ID from its composite parts.
MakeECSTaskNodeID produces a ECSTask node ID from its composite parts.
MakeHostNodeID produces a host node ID from its composite parts.
MakeJobNodeID produces a job node ID from its composite parts.
MakeNamespaceNodeID produces a namespace node ID from its composite parts.
MakePersistentVolumeClaimNodeID produces a Persistent Volume Claim node ID from its composite parts.
MakePersistentVolumeNodeID produces a Persistent Volume node ID from its composite parts.
MakePodNodeID produces a pod node ID from its composite parts.
MakeReplicaSetNodeID produces a replica set node ID from its composite parts.
MakeServiceNodeID produces a service node ID from its composite parts.
MakeStatefulSetNodeID produces a statefulset node ID from its composite parts.
MakeStorageClassNodeID produces a storage class node ID from its composite parts.
MakeSwarmServiceNodeID produces a Swarm service node ID from its composite parts.
MakeVolumeSnapshotDataNodeID produces a volume snapshot data node ID from its composite parts.
MakeVolumeSnapshotNodeID produces a volume snapshot node ID from its composite parts.
ParseContainerImageNodeID parses a container image node ID.
ParseContainerNodeID parses a container node ID.
ParseCronJobNodeID parses a cronjob node ID.
ParseDaemonSetNodeID parses a daemon set node ID.
ParseDeploymentNodeID parses a deployment node ID.
ParseECSTaskNodeID parses a ECSTask node ID.
ParseHostNodeID parses a host node ID.
ParseJobNodeID parses a job node ID.
ParseNamespaceNodeID parses a namespace set node ID.
ParsePersistentVolumeClaimNodeID parses a Persistent Volume Claim node ID.
ParsePersistentVolumeNodeID parses a Persistent Volume node ID.
ParsePodNodeID parses a pod node ID.
ParseReplicaSetNodeID parses a replica set node ID.
ParseServiceNodeID parses a service node ID.
ParseStatefulSetNodeID parses a statefulset node ID.
ParseStorageClassNodeID parses a storage class node ID.
ParseSwarmServiceNodeID parses a Swarm service node ID.
ParseVolumeSnapshotDataNodeID parses a volume snapshot data node ID.
ParseVolumeSnapshotNodeID parses a volume snapshot node ID.
# Structs
CensorConfig describes how probe reports should be censored when rendered through the API.
Column is the type for multi-column tables in the UI.
A Control basically describes an RPC.
DNSRecord contains names that an IP address maps to.
MetadataRow is a row for the metadata table.
MetadataTemplate extracts some metadata rows from a node.
Metric is a list of timeseries data with some metadata.
MetricRow is a tuple of data used to render a metric as a sparkline and accoutrements.
MetricTemplate extracts a metric row from a node.
Networks represent a set of subnets.
Node describes a superset of the metadata that probes can collect about a given node in a given topology, along with the edges (aka adjacency) emanating from the node.
NodeSet is a set of nodes keyed on ID.
Report is the core data type.
Row is the type that holds the table data for the UI.
Sample is a single datapoint of a metric.
Sampling describes how the packet data sources for this report were sampled.
Sets is a string->set-of-strings map.
StdoutPublisher is useful when debugging.
Table is the type for a table in the UI.
TableTemplate describes how to render a table for the UI.
Topology describes a specific view of a network.
# Type aliases
Controls describe the control tags within the Nodes.
DNSRecords contains all address->name mappings for a report.
IDList is a list of string IDs, which are always sorted and unique.
MetadataRowsByPriority implements sort.Interface, so we can sort the rows by priority before rendering them to the UI.
MetadataTemplates is a mergeable set of metadata templates.
MetricRowsByPriority implements sort.Interface, so we can sort the rows by priority before rendering them to the UI.
Metrics is a string->metric map.
MetricTemplates is a mergeable set of metric templates.
Nodes is a collection of nodes in a topology.
StringLatestMap holds latest string instances, as a slice sorted by key.
StringSet is a sorted set of unique strings.
TableTemplates is a mergeable set of TableTemplate.