507 Commits
Author SHA1 Message Date
Lorenzo Manacorda 4d948a5888 use port number as better indicator of fake close
[skip ci]
2016-10-05 13:35:44 +02:00
Lorenzo Manacorda 10ca05aeb8 print correct variable
[skip ci]
2016-10-05 12:27:22 +02:00
Lorenzo Manacorda 56469e3425 exit loop using channel 2016-09-26 17:34:43 +02:00
Lorenzo Manacorda 4d1d554544 exit loop by returning 2016-09-26 17:30:40 +02:00
Lorenzo Manacorda 191572bae6 remove extra import 2016-09-21 16:58:34 +02:00
Lorenzo Manacorda 0473bcbc6f allow walkProc to be true 2016-09-21 16:58:12 +02:00
Lorenzo Manacorda 5b02b8fa13 remove debug logging 2016-09-21 16:48:27 +02:00
Lorenzo Manacorda 17955d65f4 remove debugging statements 2016-09-21 16:48:27 +02:00
Lorenzo Manacorda 5bb2a5c735 add logger 2016-09-21 15:50:27 +02:00
Lorenzo Manacorda f04d2f9a4a handle socket close 2016-09-21 15:32:27 +02:00
Lorenzo Manacorda d16ff2d759 increased logging on connections 2016-09-21 15:30:39 +02:00
Lorenzo Manacorda 33993cb63e handle CONNECT, ACCEPT cases 2016-09-21 12:28:20 +02:00
Lorenzo Manacorda a120daa139 add PIP and host_node_id to EBPF nodes 2016-09-21 12:27:58 +02:00
Lorenzo Manacorda 0a53489db1 add EBPF meta attribute 2016-09-21 12:27:24 +02:00
Lorenzo Manacorda 605c6cb3ba set procspied meta-attribute to true
otherwise nodes won't show up
2016-09-21 12:27:01 +02:00
Lorenzo Manacorda 037445768f hardcode walkProc to false 2016-09-21 12:18:36 +02:00
Lorenzo Manacorda 6c7dcf2db9 extraNodeInfo constant for eBPF 2016-09-20 14:09:05 +02:00
Lorenzo Manacorda 10472fb4be update script location in code 2016-09-20 10:48:16 +02:00
Lorenzo Manacorda d4aff3bac9 Remove pointer receiver from method signature
method does not need to modify caller
2016-09-20 10:48:16 +02:00
Lorenzo Manacorda 3060181273 use walkFlows 2016-09-20 10:48:15 +02:00
Lorenzo Manacorda 5b8acd5e5f use uint16 for port fields 2016-09-20 10:48:15 +02:00
Lorenzo Manacorda f37b342a16 walk events instead of printing directly 2016-09-20 10:48:15 +02:00
Lorenzo Manacorda 9e16db9490 make connectionEvent public 2016-09-20 10:48:15 +02:00
Lorenzo Manacorda 2c6019efdc all the hacks 2016-09-20 10:48:11 +02:00
Iago López Galeiras bf573bff0b WIP: ebpf POC 2016-09-15 19:21:06 +02:00
Matthias Radestock 9d010fabc8 refactor: extract makeEndpointNode helper 2016-09-02 21:12:23 +01:00
Matthias Radestock 5bc3a9d5ac correctly reverse-resolve source of inbound connections
There were two problems:
- the renderer was looking for reverse names on the destination
- the probe was not annotating source nodes with reverse-resolved names

Fixes #1847
2016-09-02 20:31:03 +01:00
Matthias Radestock 3ebe4a5303 cosmetic: formatting 2016-09-02 08:19:32 +01:00
Alfonso Acosta 7702905bbf Remove unused variable 2016-08-26 14:03:29 +00:00
Alfonso Acosta a904620908 Improve conntrack kernel-support detection for in-kernel compilations 2016-08-26 14:03:29 +00: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
Alfonso Acosta 7c2e3c87d3 Merge pull request #1832 from weaveworks/1824-wrong-pod-parents
Only consider pod parents living in the same namespace
2016-08-26 11:37:28 +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
Alfonso Acosta 8a7812eab9 Only consider pod parents living in the same namespace 2016-08-25 16:05:01 +00:00
Matthias Radestock e2a80cfa14 correct host cpu metric
The host CPU metric was reported as a percentage of all available CPUs,
but the limit was set to n_cpus * 100%. So on a 4-core machine the
graphs and metrics-on-canvas would never show more than 1/4th usage. Now
the limit is set to 100%.

Fixes #1664.
2016-08-25 16:14:42 +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 4cb002e360 Merge pull request #1817 from weaveworks/release-0.17
Release 0.17.1
2016-08-19 15:04:36 +01:00
Alfonso Acosta 8c6747f560 Fix spelling mistake 2016-08-18 16:58:11 +00:00
Alfonso Acosta 9839b3d161 Log the API server host 2016-08-18 15:33:06 +00:00
Alfonso Acosta 1bdff95f33 Extend kubernetes client flags to match kubectl 2016-08-17 15:16:58 +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
Paul Bellamy 6e2fe78cab Merge pull request #1682 from kinvolk/krnowak/plugin-controls
RFC: forwarding control requests to plugins
2016-08-16 13:44:42 +01:00
Simon 6f9912501d Merge pull request #1784 from weaveworks/1745-right-align-column-numbers
Right align numbers, left align strings.
2016-08-15 09:43:31 +02:00
Krzesimir Nowak 0ecb908c22 Ensure backward compatilibity in report's node controls
The new probe will convert all node's LatestControls to Controls, so
the old app can consume them. Also, the new app will convert all
node's Controls to LatestControl, so it can consume the reports from
old probes.
2016-08-12 17:15:43 +02: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