mirror of
https://github.com/weaveworks/scope.git
synced 2026-05-06 01:08:03 +00:00
The app will only show one line, regardless of how many connections we have, so reduce the number to save bandwidth and rendering time. We filter by choosing a modulus, e.g. send every connection that is a multiple of 3, or 9, and so on. We avoid multiples of 2 because port numbers are often a multiple of 2 or 4 for bit-encoding reasons.
Quick overview
Information gatherers
These implement the Reporter interface
awsecsDeals with talking to AWS ECS to get stats and infodockerInspects the docker statusendpointGathers connection datahostGets data from the host os, including things like CPU and mem statskubernetesGathers data from k8soverlayTalks to Weave Net for network stats from the overlay networkprocessIs code that looks up running process and stats form the os
Utility and control
appclientDeals with generating and sending reportscontrolsUtility code for control messages and the likepluginsallows plugins to be added to the probe.