Commit Graph
3758 Commits
Author SHA1 Message Date
Tom Wilkie 9a314b1e3f Merge pull request #318 from weaveworks/315-nodemetadata-struct
Make NodeMetadata a struct, move existing map[string]string to NodeMetadata.Metadata
2015-07-17 17:25:24 +01:00
David Kaltschmidt 988e2e05d7 Renamed app to scope-app in release script 2015-07-16 16:38:43 +02:00
David Kaltschmidt c695c79045 Changelog for 0.5.0 v0.5.0 2015-07-16 15:54:49 +02:00
Tom Wilkie f85195308c report.Metadata -> map[string]string 2015-07-16 12:06:05 +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
Tom Wilkie c2065836e2 Make NodeMetadata a struct, move existing map[string]string to NodeMetadata.Metadata 2015-07-15 10:06:36 +00:00
Peter Bourgon 53e70b02f4 Don't fast-fail if weave isn't present 2015-07-15 11:57:48 +02:00
David Kaltschmidt dfd158cceb close details when changing topologies
fixes #297
2015-07-14 16:16:09 +02:00
Peter Bourgon c9e74f754d Merge pull request #314 from weaveworks/fix-circle-without-cache
Don't fail if CACHE_DIR has a missing component
2015-07-13 16:39:50 +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 dd59810196 Merge pull request #302 from weaveworks/scope-on-weave
weave expose prior to scope launch
2015-07-13 13:23:12 +02:00
Peter Bourgon c57a04e1dd Use weave add-dns instead of HTTP calls to DNS container 2015-07-13 12:47:21 +02:00
Tom Wilkie ddb29626f2 Merge pull request #310 from weaveworks/259-rebuild-ui-image
Detect when to rebuild cached build image.
2015-07-08 16:52:57 +01:00
Tom Wilkie cf261282e2 Detect when to rebuild cached build image. 2015-07-08 15:43:48 +00:00
Tom Wilkie c35269e01c Merge pull request #312 from weaveworks/311-flaky
Use poll in TestRegistryEvents.
2015-07-08 16:41:59 +01:00
Tom Wilkie 9fc02d941e Fix flaky tests
- Make poll take interfaces, do diff on error
- Use poll in TestRegistryEvents
- Improve the locking to prevent deadlocks and data races in registry_test.go
2015-07-08 13:54:09 +00:00
Tom Wilkie bed9c9325b Merge pull request #313 from weaveworks/266-smarter-merge-take2
Neater implementation of de-duplication in MakeIDList()
2015-07-08 13:50:13 +01:00
Bryan Boreham 1fa853befe Neater implementation of de-duplication in MakeIDList() 2015-07-08 13:38:39 +01:00
Tom Wilkie 0f76661bf6 Merge pull request #309 from weaveworks/266-smarter-merge
Reduce garbage generation with smarter IDList merge
2015-07-08 13:07:12 +01:00
Tom Wilkie 7dd2e3b2d0 Merge pull request #307 from weaveworks/303-test-cpu
Add -cpu 4 to tests.
2015-07-08 11:23:49 +01:00
Bryan Boreham 35f9dc622e More efficient slice-insert - less copying, less garbage 2015-07-07 22:36:22 +01:00
Bryan Boreham baf0d94af9 Implement a Merge function on IDLists which is more efficient than repeated Add 2015-07-07 22:36:22 +01:00
Bryan Boreham 76d658b193 Make MakeIDList() enforce invariant 2015-07-07 22:16:50 +01:00
Tom Wilkie d2d73c3cd4 Add -cpu 4 to tests. 2015-07-06 15:07:33 +00:00
Tom Wilkie 0043e9f37d Remove binaries on make clean. 2015-07-06 14:06:08 +00:00
Tom Wilkie 560e413fe0 Clean after making darwin binaries 2015-07-06 14:00:29 +00:00
Alfonso Acosta 7e7fbd1d2c Merge pull request #305 from weaveworks/fons-make-deps
Add 'make deps' to build instructions
2015-07-06 14:11:08 +01:00
Tom Wilkie e48053b5b2 s/probe.args/scope-probe.args/ 2015-07-06 12:59:25 +00:00
Alfonso Acosta f304bb3b98 Add 'make deps' to build instructions 2015-07-06 09:45:58 +01:00
Paul Bellamy 08f62aa4cb Merge pull request #273 from paulbellamy/integration-tests
First pass at integration tests
2015-07-03 09:55:37 +01:00
Paul Bellamy 94a0acea17 Merge pull request #298 from paulbellamy/154-inspect-connections
Replace "Origin Endpoint" tables with "Connection Details" table
2015-07-03 09:48:46 +01:00
Peter Bourgon edee9b2434 weave expose prior to scope launch 2015-07-02 18:25:10 +01:00
Paul Bellamy 95f941ff2d const-izing NodeMetadata fields 2015-07-02 14:51:12 +01:00
Paul Bellamy 129e529a0e removing duplication checking, which is no longer needed due to connection aggregation 2015-07-02 14:21:16 +01:00
Paul Bellamy cd71f82d4d aggregate connection details table
List Local and Remote endpoints for each TCP connection on the node.
2015-07-02 14:21:16 +01:00
Paul Bellamy a9b53f6d76 refactoring some common logic 2015-07-02 14:19:38 +01:00
Paul Bellamy 0a0b3147c7 [circle] run tests on prs, but skip integration tests
check before each integration test line is a bit ugly. Can combine them
into one step, but then you don't get metrics on how long each step
takes (in circle).
2015-07-02 14:16:53 +01:00
Peter Bourgon 37c99b71ea Merge pull request #293 from weaveworks/rename-components
In Docker, {app,probe} -> {scope-app,scope-probe}
2015-07-02 11:50:05 +01:00
Tom Wilkie 501f1a4c6b Merge pull request #299 from tomwilkie/291-image-grouping
Use container name (minus version) as id in containers-by-image view.
2015-07-01 14:58:46 +02:00
Tom Wilkie 14470aa107 Use container name (minus version) as id in containers-by-image view.
Also:
- build a custom URL matcher to cope with container image names having a encoded forward slash in them.
- escape node ids in the UI when constructing URLs.
- add a test which fetches all the nodes of all topologies, and update report fixture to have slash in container image names.
2015-07-01 12:53:47 +00:00
Paul Bellamy c92773f16f working on clustering test 2015-06-30 14:46:31 +01:00
Tom Wilkie e20d0d772c Merge pull request #295 from tomwilkie/0.4.0-changelog
Changelog for 0.4.0
v0.4.0
2015-06-30 14:35:36 +02:00
Tom Wilkie e48adf1d8c Changelog for 0.4.0 2015-06-30 12:29:43 +00:00
Peter Bourgon ac413e8dd9 Merge pull request #294 from weaveworks/probe-reorg
Probe re-org
2015-06-30 12:12:16 +02:00
Peter Bourgon d9a37df783 WeaveTagger becomes Weave, both Reporter & Tagger 2015-06-30 12:05:32 +02:00
Peter Bourgon f4b3930a19 Probe re-org
- tag/weave* -> package overlay
- tag/origin_host* -> package host
- tag/topology* -> package main
2015-06-30 10:18:00 +02:00
Peter Bourgon ea9eaae26a In Docker, {app,probe} -> {scope-app,scope-probe} 2015-06-29 18:59:19 +02:00
Peter Bourgon 69785493ba Merge pull request #289 from weaveworks/fix-host-on-darwin
Fix host on darwin
2015-06-29 18:32:18 +02:00
Peter Bourgon 36212cea3e Fix probe/host for Darwin
Also, add explicit GOOS=darwin target for circle.
2015-06-29 18:27:22 +02:00