Alfonso Acosta
43f4da0ecc
Fix tests
2016-10-18 17:26:45 +00:00
Alfonso Acosta
bd3ececb11
Increase timestamp precision
2016-10-18 15:24:37 +00:00
Simon Howe
0774496102
Remove ContainerImage.imageID in the details panel
...
It will be re-introduced later as imageIDs
2016-09-28 16:17:14 +02:00
Matthias Radestock
fa784140a4
appease linter
2016-08-26 14:50:45 +01:00
Matthias Radestock
a5b491dd46
Merge pull request #1833 from weaveworks/simplify-container-stats
...
use go-dockerclient's Client.Stats
Fixes #1799
2016-08-26 13:07:16 +01:00
Matthias Radestock
3c4833fe97
use go-dockerclient's Client.Stats
...
...instead of rolling our own.
This also fixes #1799 - a race condition that could result in multiple
stats gatherers for a container.
2016-08-26 12:43:30 +01:00
Matthias Radestock
af48c7f240
Merge pull request #1830 from weaveworks/1664-correct-cpu-metrics
...
correct cpu metrics
Fixes #1664 .
2016-08-26 11:18:56 +01:00
Matthias Radestock
b209d22e08
normalise container CPU metrics to 100%
...
The container CPU metric was reported in units of 100% = 1 CPU. So the
the ratio was correct, but since we don't show limits in most places it
is hard to interpret that figure. It also makes sorting by CPU usage
highly misleading. So now we normalise everything to 100%. That too can
be misleading, depending on what you are looking for, but it's generally
less surprising.
2016-08-25 16:13:36 +01:00
Alfonso Acosta
b7b64a7975
Use login shells in terminals
2016-08-22 17:42:38 +00:00
Alfonso Acosta
b3b160ceb0
Merge pull request #1791 from weaveworks/release-0.17
...
Release 0.17.0
2016-08-16 15:04:29 +01:00
Alfonso Acosta
8b97f12ab1
Make stats gathering idempotent
2016-08-16 12:50:22 +00:00
Krzesimir Nowak
9e092f1a4a
Switch to LatestMap-style node controls
...
This allows plugins to add controls to nodes that already have some
controls set by other plugin. Previously only the last plugin that
sets the controls in the node would have its controls visible. That
was because of NodeControls' Merge function that actually weren't
merging data from two inputs, but rather returning data that was newer
and discarding the older one.
2016-08-12 17:15:43 +02:00
Krzesimir Nowak
7f46b90e27
Make LatestMap "generic"
...
This commit makes the LatestMap type a sort of a base class, that
should not be used directly. This also adds a generator for LatestMap
"concrete" types with a specific data type in the LatestEntry.
2016-08-12 17:03:42 +02:00
Krzesimir Nowak
41193b428e
Make control handlers registry an object and extend its functionality
...
It is not a singleton anymore. Instead it is an object with a registry
backend. The default registry backend is provided, which is equivalent
to what used to be before. Custom backend can be provided for testing
purposes.
The registry also supports batch operations to remove and add handlers
as an atomic step.
2016-08-12 17:03:42 +02:00
Matthias Radestock
4d746a6cf4
log container id in attach/exec errors
2016-08-05 19:23:54 +01:00
Matthias Radestock
3af45583e5
don't log attach/exec close
...
since we don't log the start either
2016-08-05 19:19:09 +01:00
Alfonso Acosta
8a950a59d6
Remove Metric Add() method
...
* Helps reduce garbage (MakeMetric() now takes a slice and there's a shorter version MakeSingletonMetric())
* Fixes bug computing Max (Min) in samples since using MakeMetric()
was causing a default Max/Min of zero.
* Simplifies code a bit
2016-08-01 16:58:11 +00:00
Matthias Radestock
b3874e6e6f
show names of stopped containers
...
This got broken in b78c503
Fixes #1691
2016-07-21 11:01:53 +01:00
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 Acosta
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 Wilkie
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 Wilkie
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 Bourgon
e0fab36351
Re-sync container on network dis/connect
2016-06-06 16:24:03 +02:00
Peter Bourgon
10ced2d09d
First cut of network data
2016-06-06 16:24:02 +02:00
Alban Crequy
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 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