Commit Graph
188 Commits
Author SHA1 Message Date
Matthias Radestock 34cb6d5a84 reduce container stats log noise
Don't complain about net.errClosing, which we typically get instead of
io.EOF when the container stops.
2016-07-16 20:33:15 +01:00
Matthias Radestock 30a5a9e64b reduce container stats log noise
reduce log level
2016-07-16 20:32:36 +01:00
Matthias Radestock b38913e5c9 tiny improvement: log container id in stats collection loop 2016-07-16 20:12:19 +01:00
Alfonso Acosta 26c6249516 Review comments 2016-07-07 16:18:18 +00:00
Alfonso Acosta c843d24f6f Do not infer short-lived connections for host-networking containers 2016-07-07 15:44:13 +00:00
Alfonso Acosta e1afe22a22 Add all docker subnets to overlay topology 2016-06-15 21:22:29 +00:00
Alfonso Acosta 0587c6a967 Fix master after merging conflicting PRs #1531 and #1584
They both passed tests separately and were no source-line conflicts ... but shit happens.
2016-06-15 20:23:13 +00:00
Alfonso AcostaandGitHub 5d07b99e69 Merge pull request #1584 from weaveworks/1563-read-docker-networks
Add docker networks to the Overlay Topology
2016-06-15 19:08:30 +01:00
Tom WilkieandGitHub fba555c985 Use image name without version as id. (#1531)
* Use image name without version as id.

* Review feedback
2016-06-15 16:14:51 +01:00
Tom WilkieandGitHub d888509865 Ignore IPv6 addresses in Docker reporter (#1552) 2016-06-15 16:05:12 +01:00
Alfonso Acosta 7fb40c802a Review feedback 2016-06-14 16:53:23 +00:00
Alfonso Acosta 6f0a31d1cd Add docker networks to the Overlay Topology 2016-06-14 14:58:43 +00:00
Alfonso Acosta 47c5754923 Add test 2016-06-13 11:47:19 +00:00
Alfonso Acosta 0fd2754b58 Gather IPs from all the container networks 2016-06-10 17:45:54 +00:00
Simon Howe 05ce661c19 Gets go-tests passing! 2016-06-06 16:24:18 +02:00
Peter BourgonandSimon Howe e0fab36351 Re-sync container on network dis/connect 2016-06-06 16:24:03 +02:00
Peter BourgonandSimon Howe 10ced2d09d First cut of network data 2016-06-06 16:24:02 +02:00
Alban CrequyandTom Wilkie 42ad3aa12b Scope slow: improve error messages for debugging (#1534)
* alpine: dl-4.alpinelinux.org is dead, use another server

* increase buffer for docker stats

Attempt to avoid the following message:
docker container: dropping stats.

* probe: better timeout error messages

The logs contains the following messages:

Process reporter took longer than 1s
K8s reporter took longer than 1s
Docker reporter took longer than 1s
Endpoint reporter took longer than 1s

This patch prints how long it takes.
2016-05-22 18:21:55 +01:00
Alfonso Acosta b78c503004 Review feedback 2016-05-10 08:03:46 +00:00
Alfonso Acosta e83f985ea6 Precompute base of the container nodes 2016-05-10 06:25:06 +00:00
Alfonso Acosta d1ea4aa6f8 Fix tests 2016-05-04 16:36:37 +00:00
Alfonso Acosta 4140d288a8 Don't scope docker IPs in Kubernetes 2016-05-04 14:50:22 +00:00
Tom Wilkie 1c5f0ac041 Don't attribute conntracked connections to k8s pause containers. 2016-05-03 12:04:08 +01:00
Tom Wilkie 02554b1dcd Propagate network info for containers sharing network namespaces (#1401)
- Add armon/go-radix library, use this to find containers by prefix
- Deal with host net namespace in the same way
2016-04-29 18:13:55 +01:00
Tom Wilkie cb52acbc46 Add pod delete control
- Push shortcut reports when pods are created/deleted
- Buffer upto 2 reports instead of dropping them
2016-04-28 14:48:05 +01:00
Paul Bellamy a374ad334a Don't show container labels on container images
Images have their own labels. We can still use the container labels for
filtering, as the filters are "System Containers", not "System Images".
2016-04-25 10:32:33 +01:00
Paul Bellamy 1539e668e7 Merge pull request #1290 from weaveworks/remove-container-control
Add control for removing stopped docker containers.
2016-04-22 14:13:40 +01:00
Tom Wilkie 8b06f6c0d8 Add rank field to controls. 2016-04-21 18:05:48 +01:00
David Kaltschmidt 62ed88cf16 Close details panel when node was removed via control 2016-04-21 18:34:51 +02:00
Tom Wilkie ed555b6780 Add 'closeDetails' field to control responses. 2016-04-21 16:40:21 +01:00
Tom WilkieandTom Wilkie 65dbca997c Add control for removing stopped docker containers. 2016-04-21 16:24:41 +01:00
Tom Wilkie 66868eb946 Add test for rm'd containers 2016-04-21 13:51:20 +01:00
Tom Wilkie cec750049f Immediately remove deleted containers from the UI. 2016-04-21 12:26:51 +01:00
Paul Bellamy 5cedfad29a Merge pull request #1332 from weaveworks/1091-docker-rename
Support docker rename events
2016-04-20 09:45:40 +01:00
Tom Wilkie 9eda27822c Show k8s labels and container env vars in the details panel. (#1342)
* Show k8s labels and container env vars in the details panel.

* Add show more bar to the env vars and labels

* React key was in the wrong place; empty tables render section labels.
2016-04-20 08:18:03 +01:00
Paul BellamyandTom Wilkie 1edeb8d190 Removing report.Node.WithID (#1315)
* removing usage of report.Node.WithID

* report.Topology.AddNode can use the node's ID field
2016-04-19 16:48:03 +01:00
Paul Bellamy 497270eff7 support docker rename events 2016-04-18 14:39:48 +01:00
Ilya DmitrichenkoandTom Wilkie a49c3893de More sensible container names for Mesos/Marathon (#1316)
* Collect container environment variales (close #1314)

* Containers managed by Marathon can have meaningful names (close #1309)

* Make linter happy and fix tests
2016-04-18 12:10:18 +01:00
Paul Bellamy 7632e0b3c5 Adding support for plugins, with basic example of iowait, and ebpf
Squash of:
* Include plugins in the report
* show plugin list in the UI
* moving metric and metadata templates into the probe reports
* update js for prime -> priority
* added retry to plugin handshake
* added iowait plugin
* review feedback
* plugin documentation
2016-04-12 17:22:14 +01:00
Paul Bellamy bfb65cb4af Merge pull request #1225 from weaveworks/1149-more-meaningful-metrics-max-mmmmmmm
Set the memory and open files maximums based on the host
2016-04-07 10:36:30 +01:00
Paul Bellamy f3adefa454 Update docker client, to get better state strings in the UI 2016-04-06 16:39:45 +01:00
Paul Bellamy b970b0561b Set the memory and open files maximums
process memory limit is not cgroup-aware
2016-04-06 13:07:55 +01:00
Alfonso Acosta c1c40ad20d Add host-level terminals 2016-03-29 16:05:04 +00:00
Tom Wilkie 7e2e4c9c45 Fix spelling mistakes in the codebase. 2016-03-23 10:51:27 +00:00
Tom Wilkie f6835e433c Fix bug in container image reporting, strip the prefix off when adding image to the registry 2016-03-22 17:21:49 +00:00
Paul Bellamy c7cbb2df24 Merge pull request #1161 from weaveworks/1058-sha256-image-ids
strip sha256: from docker image ids
2016-03-16 13:57:41 +00:00
Paul Bellamy 1f6652e1c3 strip sha256: from docker image ids 2016-03-16 13:06:54 +00:00
Tom Wilkie bd760f6e76 Update demo for tracer 2016-03-10 13:25:19 +00:00
Alfonso Acosta 220db7656a Try to figure out the most suitable shell to use 2016-02-29 18:01:07 +00:00
Tom Wilkie ef1fc2a60a Merge pull request #1043 from weaveworks/1040-docker-exec-crash
Distinguish between reporting probes and controlling probes
2016-02-26 15:23:47 +00:00