mirror of
https://github.com/weaveworks/scope.git
synced 2026-09-06 10:17:19 +00:00
The previous code seems to be relying on a 64-bit to 32-bit conversion working in a certain way; when gopacket was changed to cast the value explicitly it starts returning immeditely from pcap.
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.