106 Commits

Author SHA1 Message Date
Tom Wilkie
2dc47e0c6c Fix up experimental. 2016-01-23 13:59:48 -08: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
0565479e8c Build example app in container. 2016-01-16 11:56:34 -08:00
Paul Bellamy
80c7436036 Merge pull request #794 from weaveworks/641-xfer-mv
Split and move xfer package.
2016-01-06 15:56:55 +00:00
Tom Wilkie
ffa955a21b Split and move xfer package. 2016-01-06 14:01:39 +00:00
Tom Wilkie
d101b0fced Add integration test for procspy edges. 2016-01-06 12:46:25 +00:00
Tom Wilkie
2faa58aa41 Merge pull request #776 from weaveworks/tracer
Tracer!
2015-12-17 13:55:10 +00:00
Tom Wilkie
6dc65e2481 Update example app. 2015-12-17 13:54:42 +00:00
Tom Wilkie
13a82bc9a8 Make it lint and compile after rebase. 2015-12-16 15:30:53 +00:00
Tom Wilkie
662b792781 Make it compile again. 2015-12-16 15:24:53 +00:00
Tom Wilkie
b99555936d Add echo server, make it randomly take 2 secs. 2015-12-16 15:21:35 +00:00
Tom Wilkie
2dc03ce6d1 Use container names over pids. 2015-12-16 15:21:35 +00:00
David Kaltschmidt
b8d43a650d allowing more boxes on same row in child traces 2015-12-16 15:21:35 +00:00
Tom Wilkie
3d54954665 Protect against fd reuse. 2015-12-16 15:21:35 +00:00
David Kaltschmidt
90d288fcf3 Flame graph for child traces 2015-12-16 15:21:35 +00:00
Tom Wilkie
3dbb94eed3 Send all the container pids to the client. 2015-12-16 15:21:35 +00:00
Tom Wilkie
e58f0f756f Make temporal join work - now can have traces with more than one child! 2015-12-16 15:21:35 +00:00
Tom Wilkie
baf7aa106c Fix table column width; ntohl port numbers. 2015-12-16 15:21:35 +00:00
Tom Wilkie
dfbd83b658 Expose keys, sort and dedupe traces, and hide show children in ui. 2015-12-16 15:21:35 +00:00
Tom Wilkie
9f49f63fc6 Mime type 2015-12-16 15:21:35 +00:00
David Kaltschmidt
7dff1bd85e Polished UI for tracer
* added logo and favicon
* upgraded Bootstrap to v4
* use FontAwesome as icon font
* applied weave colors
* auto-select first container
* mock backend in server.js to serve *.json files for API requests
2015-12-16 15:21:34 +00:00
Tom Wilkie
3e4b3ad0eb Trace all processes in a container. 2015-12-16 15:21:34 +00:00
Tom Wilkie
38e7c7c560 Show subtraces in the API and UI. 2015-12-16 15:21:34 +00:00
Tom Wilkie
bf85e621a2 Make connection causality detection more reliable. 2015-12-16 15:21:34 +00:00
Tom Wilkie
bdeed7219f Start showing traces in the UI 2015-12-16 15:21:34 +00:00
Tom Wilkie
b6e43c8f3f Wire up recording of traces. 2015-12-16 15:21:34 +00:00
Tom Wilkie
a3a0907ffc It works again! 2015-12-16 15:21:34 +00:00
Tom Wilkie
31cadac623 Make it stop 2015-12-16 15:21:34 +00:00
Tom Wilkie
e09774ba5a Prototype to trace incoming and outgoing connections from containers. 2015-12-16 15:21:34 +00:00
Tom Wilkie
caff695f96 Gather per-process CPU and memory metrics. 2015-12-16 14:38:21 +00:00
Tom Wilkie
ac9c011475 Pipe plumbing
- Add store of pipes in the app
- Add pipe type, handling impedance mismatch, used in app and probe.
- App <-> Probe pipes have their own websockets.
- Add pipe websocket endpoint in app.
- Pipe IDs are strings, lose the request/response IDs, and give the json encoder lowercase field names.
- Add simple golang ws client, for testing.
- Pipe lifecycle plumbing.
- Ref count and timeout both ends of pipes in the app
- Deal with POST /api/pipe/:pid?_method=delete
- Add end-to-end unit test for pipes.
- Add test for timing out pipes.
- Update go-docker client to tomwilkie/go-dockerclient
- Backend work for non-raw ttys
- Close pipes when they close themselves in the probe
- Ensure all http connections are done before returning from client.Stop()
2015-12-10 12:51:17 +00:00
Tom Wilkie
95e58b32cb Update experimental/ 2015-12-04 13:03:30 +00:00
Tom Wilkie
1ad7b4fce5 Speed up tests on circle.
- Ensure we use up to date build container when running tests.
- Parallelise host setup for integration tests.
- Pass some more circle env vars through to ./tools/tests so the scheduler works.
- Gather coverage from multiple shards.
- Create files as the right owner inside the container.
- Parallelise the circle.yaml
- Parallelise the intergration tests using existing machinery
- Build experimental in parallel.
- Use custom scheduler prefix for integration tests, so schedules don't clash with weave.
2015-11-04 15:35:21 +00:00
Tom Wilkie
1dd4480c31 Update demo script 2015-10-29 15:13:37 +00:00
Paul Bellamy
e41352a220 pass the hostname through to xfer.HttpPublisher, so we can verify ssl certs 2015-10-27 10:51:41 +00:00
Tom Wilkie
35bfa5f751 Okay, that was a bad idea 2015-10-26 16:53:21 +00:00
Tom Wilkie
ba2f3cf7d9 Add experiemental/vendor directory, with gopacket in there. 2015-10-26 16:29:45 +00:00
Tom Wilkie
fb49e146ad Build experimental stuff in a container too 2015-10-26 16:11:16 +00:00
Paul Bellamy
a1466cb3fc Review Feedback 2015-10-20 14:26:27 +01:00
Paul Bellamy
6ad182a144 Merge pull request #441 from weaveworks/kubernetes
Basic Kubernetes Integration
2015-10-06 14:49:55 +01:00
Paul Bellamy
be1d1d52d0 Basic Kubernetes integration
* Added helper for installing scope on gcloud
* Added topologies Pods and Pods-by-Service
* Uses k8s.io/kubernetes/pkg/client/cache for the client
* Filter kube-system nodes by default
* Only show the k8s topologies if we've received a non-empty k8s report
2015-10-06 12:55:51 +01:00
Peter Bourgon
4347da3ec6 Fix for lint 2015-10-02 15:03:13 +02:00
Peter Bourgon
a086bbe846 Re-introduce experimental/graphviz 2015-09-30 17:30:27 +02:00
Peter Bourgon
64fdf6a780 common/sanitize + relevant updates 2015-09-24 16:11:54 +02:00
Peter Bourgon
c607ee00d8 probe/sniff: move to experimental
Resolves #466
2015-09-23 14:38:41 +02:00
Tom Wilkie
bb20a81338 Only serialise and compress reports once per publish. 2015-09-09 15:08:55 +00:00
Tom Wilkie
d411afd916 WithNode is a CPU hog. 2015-09-09 15:01:57 +00:00
Tom Wilkie
6e7a22ecae Update example app to include a loadbalancer. 2015-09-04 13:07:29 +00:00
Tom Wilkie
57f7b4f2e6 Rename NodeMetadata -> Node 2015-09-03 16:18:54 +00:00
Tom Wilkie
144a798602 Review Feedback 2015-09-02 14:32:47 +00:00