Commit Graph

19 Commits

Author SHA1 Message Date
Peter Bourgon
fb7eed103e Merge pull request #320 from weaveworks/process-names-on-darwin
Naïve process walker for Darwin
2015-07-20 16:37:25 +01:00
Tom Wilkie
843ac4e8ee Detech WeaveDNS by an open port 53 on the docker bridge && the presence of the weave script. 2015-07-20 13:56:23 +00:00
Peter Bourgon
b585a362ac Naïve process walker for Darwin
This fixes the regression where process names weren't appearing for
Darwin probes. Makes testing easier.

Also, changes the process walker to operate on value types. There's no
performance advantage to using reference types for something of this
size, and there appeared to be a data race in the Darwin port that
caused nodes to gain and lose process names over time.

Also, restructures how to enable docker scraping. Default false when run
manually, and enabled via --probe.docker true in the scope script.
2015-07-16 12:33:59 +02:00
Peter Bourgon
c8079daf26 Improve scope script <--> weave interaction
- Use command_exists function from weave script
- Collapse boolean checks for DNS registration
2015-07-15 12:10:50 +02:00
Peter Bourgon
53e70b02f4 Don't fast-fail if weave isn't present 2015-07-15 11:57:48 +02:00
Peter Bourgon
ac29fba7bc Don't fail if CACHE_DIR has a missing component
Also, don't invoke weave if it's not running.
2015-07-13 16:03:19 +02:00
Peter Bourgon
c57a04e1dd Use weave add-dns instead of HTTP calls to DNS container 2015-07-13 12:47:21 +02:00
Peter Bourgon
edee9b2434 weave expose prior to scope launch 2015-07-02 18:25:10 +01:00
Tom Wilkie
eafa040a6d Fail quickly in the ./scope script. 2015-06-23 14:29:54 +00:00
Tom Wilkie
94a1b2a6b0 Use a bash command in a docker container to work out host IP addresses. 2015-06-08 16:29:34 +00:00
Tom Wilkie
a69600831c Emit the urls at which the weave scope UI is reachable on scope launch. 2015-06-02 14:58:57 +00:00
Tom Wilkie
b4ad86e2f5 Merge pull request #143 from tomwilkie/release
Plumbing for releases stolen straight from weave.
2015-06-01 16:48:54 +01:00
Tom Wilkie
f673d05d3b Merge pull request #140 from tomwilkie/137-ip-addrs
Don't just advertise addresses on eth devices; use blacklist on device name.
2015-06-01 16:45:39 +01:00
Tom Wilkie
3d2521dc65 Don't just advertise addresses on eth devices; use hostname -I. 2015-06-01 15:35:42 +00:00
Tom Wilkie
2d430895e3 Plumbing for releases stolen straight from weave. 2015-06-01 15:17:32 +00:00
Tom Wilkie
d9b54ba60b Yet More Plumbing for multi-host setup.
- Move peers from flags to args in the app
- Allow users to specify peers as IPs and hostname, both with and without ports
- Allow users to specify peers on ./scope launch, and plumb that through entrypoint.sh and run-app
- Improce ./scope usage text
- Add brief document explaining how to cluster Scope
2015-06-01 12:29:01 +00:00
Tom Wilkie
0c059b2f84 Don't do the hostproc dance, use --pid=host 2015-05-27 12:02:40 +00:00
Tom Wilkie
2c9a2da14f Don't set the hostname in the scope container when running with weavedns. 2015-05-22 17:11:06 +00:00
Tom Wilkie
84d724f645 Move container build files into their own dir and introduce the scope script. 2015-05-19 10:05:40 +00:00