2835 Commits

Author SHA1 Message Date
Alban Crequy
c7888ee08a tcpv4tracer.py: eBPF: fix tcp dport demo 2016-10-05 16:09:43 +02:00
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
Iago López Galeiras
ba57feccc3 fix PID handling 2016-09-21 16:47:28 +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
fcc07b2256 mount system paths into container 2016-09-20 10:48:16 +02:00
Lorenzo Manacorda
10472fb4be update script location in code 2016-09-20 10:48:16 +02:00
Lorenzo Manacorda
42ad829c33 use custom docker image with bcc 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
3050020359 add python script to image 2016-09-20 10:48:16 +02:00
Lorenzo Manacorda
6a701853e1 add python package to image 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
94cd73c72b tiny simplifying refactor 2016-09-14 12:19:09 +01:00
Matthias Radestock
1d8fc6620e Merge pull request #1860 from weaveworks/1842-dedup-connections-2
in details panel, count connections only once

Fixes #1842
2016-09-14 10:04:44 +01:00
Matthias Radestock
69735217ac pick a unique destination endpoint for each connection 2016-09-14 09:13:21 +01:00
Matthias Radestock
58b22f0710 in details panel, count connections only once
Fixes #1842
2016-09-14 09:12:51 +01:00
Jonathan Lange
801c419c89 Merge pull request #1858 from kinvolk/alessandro/tcd-circleci
circleci: push traffic control plugin image to docker hub
2016-09-13 15:35:36 +02:00
Tom Wilkie
d1cf9f60fc Upgrade to go1.7 (#1797)
* Upgrade to go1.7

* Use the 1.7.1 tag
2016-09-13 12:40:33 +01:00
Alfonso Acosta
b89dab0384 Merge pull request #1859 from weaveworks/bump-docs-scope-version
Update Scope version in documentation
2016-09-13 01:00:30 +02:00
Alfonso Acosta
216b53efd9 Update Scope version in documentation 2016-09-12 21:34:06 +00:00
Alessandro Puccetti
66390c8b0e circleci: push traffic control plugin image to docker hub
After this patch, circleci builds the traffic control plugin image and
pushes it on docker hub. Rename traffic control plugin docker image
to "weaveworks/scope-traffic-control-plugin".
2016-09-12 15:47:28 +02:00
Mike Lang
8f8c0f2204 Merge pull request #1839 from weaveworks/mike/app/graceful-shutdown
Gracefully shutdown app, letting active http requests finish with timeout
2016-09-09 15:06:23 -07:00
Matthias Radestock
4edab4bfcb Merge pull request #1855 from weaveworks/extract-pluralize
refactor: extract pluralization
2016-09-09 21:42:49 +01:00
Matthias Radestock
bb4007e3cb refactor: extract a couple of map "constants" 2016-09-09 17:35:37 +01:00
Matthias Radestock
26cb5d53fc refactor: extract pluralization function
This preserves the existing behaviour of showing count=0 as a plural
rather than empty. However, I rather suspect we cannot actually
encounter that case in the current code.

In the "no count found" case we now *set* the base.LabelMinor to empty
instead of leaving it alone. This is ok since it is empty to begin with.
2016-09-09 17:35:33 +01:00
Matthias Radestock
7f7766425e refactor: dedup pod group summary functions 2016-09-09 17:33:14 +01:00
Paul Bellamy
d5c3e30f31 Merge pull request #1837 from kinvolk/alessandro/tcd-status
Traffic Control plugin: first iteration
2016-09-09 15:36:06 +01:00
Alessandro Puccetti
f2c2ce9d33 plugins/traffic-control/docker: integrate loopIteration() into Start()
Move `loopIteration()` code in an anonymous function inside `Start()`.
2016-09-09 13:57:21 +02:00
Alessandro Puccetti
10d33fb24f plugins/traffic-control: fix output for getStatus()
If `tc qdisc show dev eth0` returns an error, then output is set to empty string.
2016-09-09 13:57:21 +02:00
Alessandro Puccetti
deea4d9af1 plugins/traffic-contorl: fix error message in getNSID
Return error message that show what fails and why.
2016-09-09 13:57:21 +02:00
Alessandro Puccetti
097225332a plugins/traffic-control: switch to http.ServeMux
It is nicer to instantiate a http.ServeMux, instead of modifying
the global http handler.
2016-09-09 13:57:21 +02:00