Tom Wilkie
b130f1ba13
Allow users to specify conntrack buffer size. ( #1896 )
...
* Allow users to specify conntrack buffer size.
* Fix tests.
* Use a config struct.
2016-09-26 12:08:38 -07:00
Alfonso Acosta
f5ad6a8e97
Minor fixes/refinements
2016-09-19 14:38:59 +00:00
Alfonso Acosta
a904620908
Improve conntrack kernel-support detection for in-kernel compilations
2016-08-26 14:03:29 +00:00
Alfonso Acosta
3892273096
Append namespace to endpoint scope for loopback connections
2016-08-10 10:43:04 +00:00
Tom Wilkie
8f772a696d
Add flag to disable reporting of processes (and procspied endpoints)
2016-05-17 17:29:09 +01:00
Tom Wilkie
7e2e4c9c45
Fix spelling mistakes in the codebase.
2016-03-23 10:51:27 +00:00
Tom Wilkie
e7c5fc7016
Remove address topology
2016-03-08 13:23:30 +00:00
Paul Bellamy
6cef1b10ca
adding direction to connections from conntrack
...
* Remove report.EdgeMetadata.MaxConnCountTCP, as we don't display it anywhere
* Remove hostname metadata from local end of connection. We should be using the hostnodeid
2016-02-23 14:17:45 +00:00
Alfonso Acosta
6240187333
Fix tests
2016-02-08 13:42:54 +00:00
Tom Wilkie
6b56475766
Use ps.Map for Counters and Sets, remove Metadata in favour of Latest.
...
Also
- Add more complicated report.json for benchmark
- Break up report/topology.go
- Implement our own DeepEqual for ps.Map
2016-01-22 15:10:32 -08:00
Tom Wilkie
ed6c4088fa
Fix up tests.
2015-12-10 14:00:43 +00:00
Tom Wilkie
b94751ac10
Move procspy out of vendor into probe/endpoint.
2015-12-09 11:06:04 +00:00
Tom Wilkie
7d6b5a540e
Revert "Merge pull request #450 from weaveworks/scope-284"
...
This reverts commit 46345e3bdb , reversing
changes made to bf3e9a1601 .
Conflicts:
probe/process/walker_darwin.go
2015-09-15 03:14:39 +00:00
Alvaro Saurin
2f9f54688f
Keep a cache of open files, reducing the number of open/close cycles in the /proc dir
2015-09-14 10:59:23 +02:00
Alvaro Saurin
14dc6a5391
Cache processes and connections when reading from the /proc
...
Code cleanups
2015-09-14 10:53:24 +02:00
Alvaro Saurin
4331fb1c79
Drop all the dependencies we had on procspy by moving some code to probe.
2015-09-14 10:44:53 +02:00
Alvaro Saurin
15e25edc40
New asynchronous, caching DNS resolver for reverse resolutions
...
Add nodes for the remote side of connections iff we have a DNS reverse resolution for the IP.
Unit test for the resolver
2015-09-04 17:21:45 +02:00
Tom Wilkie
57f7b4f2e6
Rename NodeMetadata -> Node
2015-09-03 16:18:54 +00:00
Tom Wilkie
1f6b3d4a45
Move Adjacency info inside the NodeMetadata struct; move pseudo node generation to the probes.
2015-08-28 15:20:27 +00:00
Tom Wilkie
1a286eac04
Use an exec'd conntrack in 'events' mode instead of repeatedly execing it for NAT mappings. Also use conntrack to populate the endpoint table.
2015-08-27 16:29:33 +00:00
Tom Wilkie
89df11bbfd
Make edge direction flow from client->server.
2015-08-19 10:17:24 +00:00
Tom Wilkie
c2065836e2
Make NodeMetadata a struct, move existing map[string]string to NodeMetadata.Metadata
2015-07-15 10:06:36 +00:00
Paul Bellamy
95f941ff2d
const-izing NodeMetadata fields
2015-07-02 14:51:12 +01:00
Tom Wilkie
a4ddd0094f
Duplicate endpoints in the endpoint topology to account for NAT mapping.
...
Also, move spy.go into probe/endpoint and make it adhere to the Reporter interface.
2015-06-23 10:33:06 +00:00