Commit Graph

5140 Commits

Author SHA1 Message Date
Tom Wilkie
9289b6626a Review feedback 2015-08-18 11:21:02 +00:00
Tom Wilkie
501504bb40 Fix #363; it can take longer than 1ms to resolve an ip, even when its just a map lookup.
GC takes longer, for instance. Also we should fail if we don't get the IP in time, otherwise
we just deadlock.  And fix some concurrent variable access.
2015-08-18 11:20:59 +00:00
Tom Wilkie
2d088c15a3 Update README.md 2015-08-17 16:41:47 +00:00
Tom Wilkie
a61c66f5c6 Add README.md 2015-08-17 16:41:13 +00:00
Tom Wilkie
e7ab9816cd Use node:0.10 as the ui build image, and upgrade karma and karma webpack 2015-08-17 16:26:22 +00:00
Tom Wilkie
efeba4a2ed Use rebuild-image script from tools.git
- Add some extra files to build image
- Add make to UI build container
2015-08-17 16:26:06 +00:00
Tom Wilkie
3a1f376c29 Use tools.git 2015-08-17 16:26:04 +00:00
Tom Wilkie
9be81c520c Merge pull request #359 from weaveworks/use_sh_instead_of_bash
Use /bin/sh instead of /bin/bash so it can be used in boot2docker
2015-08-17 16:39:32 +01:00
Tom Wilkie
d6044b2c13 Rebuild images every 24hrs 2015-08-17 15:21:33 +00:00
Tom Wilkie
62a5fe364d Remove bash-ism 2015-08-17 14:54:16 +00:00
Alvaro Saurin
c34c80e368 Use /bin/sh instead of /bin/bash so it can be used in boot2docker 2015-08-17 14:50:29 +00:00
Tom Wilkie
a2ec507a14 Add apt-get update to circle 2015-08-17 12:58:03 +00:00
Paul Bellamy
a65b882901 Merge pull request #358 from weaveworks/endpoint
run.weave.works -> scope.weave.works
2015-08-17 11:13:12 +01:00
Tom Wilkie
b4d7b88265 run.weave.works -> scope.weave.works 2015-08-14 16:58:01 +00:00
Tom Wilkie
6b74be05cd Fix rebuild-image 2015-08-13 12:28:34 +00:00
Tom Wilkie
d9522d85ef Replace / and - in image names with . 2015-08-13 12:21:48 +00:00
Tom Wilkie
9b7bcf679d Don't test experimental stuff. 2015-08-13 12:07:00 +00:00
Peter Bourgon
82e59bfe20 Merge pull request #351 from weaveworks/probe-id-header
Add X-Scope-Probe-ID header to POSTs
2015-08-13 14:03:38 +02:00
Tom Wilkie
f2d9226c59 Fix circle.yml 2015-08-13 11:28:44 +00:00
Tom Wilkie
87b112b05c Fix circle.yml 2015-08-13 11:27:09 +00:00
Tom Wilkie
fab7da7a1a Add circle.yml, lint etc 2015-08-13 11:25:07 +00:00
Peter Bourgon
43bfecbba4 Add X-Scope-Probe-ID header to POSTs 2015-08-13 13:01:58 +02:00
Tom Wilkie
9edc58f8ef Merge pull request #350 from weaveworks/service-args
Add parameter shortcut for SAAS
2015-08-12 14:56:58 +01:00
Tom Wilkie
8a7080c8d4 Merge pull request #349 from weaveworks/67-rm
Rm temporary containers.
2015-08-12 14:56:44 +01:00
Tom Wilkie
6f3828a431 Add parameter shortcut for saas 2015-08-12 12:04:06 +00:00
Tom Wilkie
7325e4504b Update import 2015-08-12 11:56:55 +00:00
Tom Wilkie
e2a4bc9796 Rm temporary containers. 2015-08-12 11:45:24 +00:00
Tom Wilkie
88e443ebd6 Merge pull request #2 from weaveworks/socks
Add socks proxy.
2015-08-12 11:36:42 +01:00
Tom Wilkie
6aefe40b6d Add socks proxy. 2015-08-12 10:35:28 +00:00
Paul Bellamy
106d16677f Merge pull request #347 from weaveworks/entrypoint-equals
Support --probe.foo=bar style in entrypoint.sh
2015-08-11 15:57:44 +01:00
Tom Wilkie
a17d0baf38 Support --probe.foo=bar style in entrypoint.sh 2015-08-11 13:54:19 +00:00
Tom Wilkie
6d4dfb59f7 Merge pull request #346 from weaveworks/fixing-circle
Fixing circle build
2015-08-11 14:24:02 +01:00
Paul Bellamy
ff86370df8 fixing and simplifying circle build
The integration tests were using two different versions of weave. One to
launch the weave container, and another used by scope.
2015-08-11 14:14:25 +01:00
Tom Wilkie
a69fad2283 Merge pull request #345 from weaveworks/no-probe
Add options for starting scope without app or probe.
2015-08-11 13:10:13 +01:00
Tom Wilkie
f4af9695f2 Add options for starting scope without app or probe. 2015-08-11 11:49:27 +00:00
Tom Wilkie
960c8e79a8 Merge pull request #344 from weaveworks/relative-paths
Relative paths for all API URLs
2015-08-11 10:57:47 +01:00
David Kaltschmidt
0e82f6b856 static build of relative paths 2015-08-11 09:50:34 +00:00
David Kaltschmidt
10c70595fb Make all URL request paths relative 2015-08-11 09:50:33 +00:00
Peter Bourgon
514f4bc534 Merge pull request #342 from weaveworks/reverse-publish
Probes POST to apps
2015-08-10 10:54:18 +02:00
Peter Bourgon
edf0ceb212 Authorization: Scope-Probe token=<token> 2015-08-07 18:52:16 +02:00
Peter Bourgon
7d51f173ea Probes POST to apps
- App takes POST report on /api/report
- Probe publishes to configured target(s)
- Name resolution happens on probe-side
- There's no longer an xfer.ProbePort
- xfer.Collector responsibility is reduced
- Fixes to remaining experimental components.
- rm experimental/bridge: it's not being used, and by changing the
  app/probe comm model, it would require a complete refactor anyway. We
  can easily rebuild it when we need to. It will even be much simpler.
- rm experimental/graphviz: it's broken for some time anyway, and we
  don't really need to play around with it as a rendering option
  anymore.
- rm experimental/oneshot: we never use this anymore.
2015-08-07 15:45:15 +02:00
Tom Wilkie
5a29b1b9fe Merge pull request #343 from weaveworks/no-logging-options-please
app may only log to stderr, just like probe
2015-08-06 19:12:57 +01:00
Peter Bourgon
3fd5fbcf25 app may only log to stderr, just like probe 2015-08-06 19:30:58 +02:00
Peter Bourgon
234b9cefeb Merge pull request #317 from weaveworks/sniff
gopacket sniffer
2015-08-06 16:21:12 +02:00
Tom Wilkie
756fc41986 rebuild-image: save image to correctly named file. 2015-08-05 13:30:50 +00:00
Tom Wilkie
1a03e44817 Add some debugging to rebuild_image script 2015-08-05 13:16:25 +00:00
Peter Bourgon
3069ce01e0 Fix lockup bug on Linux 2015-08-04 12:15:15 +02:00
Peter Bourgon
0dafad763f Calculate rates in detailed nodes 2015-08-03 16:04:06 +02:00
Peter Bourgon
e1f7752a34 Split PacketCount to Egress and Ingress
Also, 1 packet may be counted in N topologies, so you can't rely on the
sum of all packet counts across topologies having any relation to the
sampling data.
2015-08-03 14:58:41 +02:00
Peter Bourgon
0361b11b87 Fix bugs in how we report bandwidth 2015-08-03 12:25:56 +02:00