Commit Graph

20 Commits

Author SHA1 Message Date
Peter Bourgon
8dc44012f0 probe: don't spam logs on Darwin 2015-06-12 12:56:59 +02:00
Tom Wilkie
ff11022862 Add Containers topology populated by the Docker tagger. 2015-06-10 16:01:15 +00:00
Peter Bourgon
7df63d1bc4 Decouple PIDTree from DockerTagger
PIDTree is created in each spy tick, regardless if Docker Tagger is
used.
2015-06-10 17:49:50 +02:00
Peter Bourgon
d435e36834 Add and populate Process topology
Also, add comm value (name) to process node metadata.
2015-06-10 17:27:07 +02:00
Tom Wilkie
5be7235da2 GOOS might be 'linux', but never 'Linux'! 2015-06-09 17:51:05 +00:00
Peter Bourgon
b8170313e4 This commit from #182 got lost somehow 2015-06-09 18:08:02 +02:00
Peter Bourgon
d438261742 HostMetadata becomes Host Topology
- All HostMetadata information becomes NodeMetadata
- Significant change to mechanics, but same net effect
- LocalNets becomes "local_networks", space-separated list of CIDRs
- Load becomes simple single string
- Use MakeHostNodeID for indexing into Host topology
- (That changes the app /origin/{id} handler; will be removed later)
2015-06-09 15:38:08 +02:00
Peter Bourgon
d486d1074a Refactor process mappers to taggers
- Reduce tagger interface to operate on reports
- Remove cgroup tagger
2015-06-08 15:04:40 +02:00
Peter Bourgon
1278dca1da probe: only allow Docker on Linux
Fixes #173
2015-06-05 17:06:06 +02:00
Peter Bourgon
754eac3152 Rename NewReport -> MakeReport. 2015-06-05 13:55:40 +00:00
Tom Wilkie
9fccb2126a Gracefully shutdown goroutines in the probe. 2015-06-03 14:41:43 +00:00
Tom Wilkie
121c86a52d Use Docker events API instead of polling Docker daemon.
Unfortunately we still have to poll pidtree and docker images, but I think we can get rid of the docker image polling as we only care about images on running containers.
2015-06-02 16:41:32 +00:00
Peter Bourgon
8f6b9895ac Fix errcheck errors in probe 2015-05-26 16:49:47 +02:00
Tom Wilkie
18c38a6bf4 Expose docker image id and name 2015-05-26 10:15:23 +00:00
Tom Wilkie
b536d1161b Set git version variable at build time. 2015-05-22 13:34:23 +00:00
Peter Bourgon
7b07c0abc3 Reduce default spy and publish intervals
Closes #81
2015-05-22 11:39:09 +02:00
Tom Wilkie
8c66c061c6 A docker process mapper 2015-05-20 11:21:54 +00:00
Peter Bourgon
11f85cda1b Remove needless probe -version 2015-05-19 12:22:02 +02:00
Peter Bourgon
0e19360215 Redo import statements 2015-05-19 10:02:59 +00:00
Tom Wilkie
d50e827fd5 Intial commit 2015-05-19 10:02:02 +00:00