Commit Graph
4222 Commits
Author SHA1 Message Date
Tom Wilkie 03099176da Refactor Makefile a little. 2016-02-22 15:16:45 +00:00
Tom Wilkie 9bb7a4413f Merge pull request #1002 from weaveworks/update-tools-subtree
Update tools subtree
2016-02-22 15:07:21 +00:00
Tom Wilkie 5f7f74bf1b Refactor app for multitenancy
- Add interfaces to allow for alternative implementations for Collector, ControlRouter
  and PipeRouter.
- Pass contexts on http handlers to these interfaces.  Although not used by the current
  (local, in-memory) implementations, the idea is this will be used to pass headers to
  implementations which support multitenancy (by, for instance, putting an authenticating
  reverse proxy in form of the app, and then inspecting the headers of the request for
  a used id).
2016-02-22 14:54:04 +00:00
Tom Wilkie a0bcb2023c Ignore vendor/github.com/ugorji/go/codec/codecgen/codecgen 2016-02-22 14:19:00 +00:00
Tom Wilkie 930b53f545 Squashed 'tools/' changes from 954b023..c342e83
c342e83 Merge pull request #17 from weaveworks/lint-ignore
07ebcff Update to ignore node_modules and *.generated.go
d76a90a Don't lint codecgen'd code.
cbb0567 Exclude ALL_CAPS warnings from linter

git-subtree-dir: tools
git-subtree-split: c342e833bb
2016-02-22 14:18:29 +00:00
Tom Wilkie 475521c531 Merge commit '930b53f5459567d79c927951168f3fc73f1c5cd0' into update-tools-subtree 2016-02-22 14:18:29 +00:00
Tom Wilkie c342e833bb Merge pull request #17 from weaveworks/lint-ignore
Update to ignore node_modules and *.generated.go
2016-02-22 14:17:29 +00:00
Tom Wilkie 0a2f629a65 Merge pull request #998 from weaveworks/docker-1.10
Bump template name to get latest version of docker.
2016-02-22 14:16:01 +00:00
Tom Wilkie 07ebcff87e Update to ignore node_modules and *.generated.go 2016-02-22 14:10:04 +00:00
Tom Wilkie ea90c196e9 Undo change to tools/lint 2016-02-22 14:04:11 +00:00
Tom Wilkie d76a90a999 Don't lint codecgen'd code. 2016-02-22 13:56:42 +00:00
Alfonso Acosta 996062d64b Build github.com/ugorji/go/codec with -tags unsafe
See https://github.com/ugorji/go/issues/143#issue-134950331
2016-02-22 13:45:02 +00:00
Simon 88684aa0b6 Merge pull request #884 from weaveworks/node-shapes
Node shapes
2016-02-22 14:13:14 +01:00
Simon cd880a8312 Merge pull request #984 from weaveworks/978-fix-scope-under-path
Fixes scope working under a path
2016-02-22 13:32:56 +01:00
Alfonso Acosta efeab520bc Bump github.com/ugorji/go/codec
To reduce garbage from simpleIoEncWriterWriter
(https://github.com/ugorji/go/issues/143)
2016-02-22 12:30:12 +00:00
Tom Wilkie 458c5aae39 Bump template name to get latest version of docker. 2016-02-22 12:14:36 +00:00
Simon Howe dca7408ec1 Rollback aggNode.nodeCount which was used for the stack shape.
We're not using greyed out lower stacks for now.
2016-02-22 12:42:37 +01:00
Simon Howe 96c34507d6 Back to a parallel proj. for stacks 2016-02-22 12:42:37 +01:00
Simon Howe 46e29c3f15 No grey stacks for now
- May give the feeling something is not there when it should be, or
  incomplete.
- They create visual noise
2016-02-22 12:42:37 +01:00
Simon Howe 2c626776a1 Grey out bottom of stack when there aren't 3 nodes in the stack
E.g. greying out the bottom 2/3 visual nodes if the stack actually only
has a single node.

- Server returns "node_count" for agg nodes.
2016-02-22 12:42:37 +01:00
Simon Howe 24d06d534f Gentle perspective in the nodestacks.
- They get a little bit smaller as they go down.
- Small tweak for shape stacks + high contrast mode.
2016-02-22 12:42:37 +01:00
Simon Howe 54988c1101 Revert "Testing out more shapes."
This reverts commit 9a2504119def6b9afb1ac5897655793a84754152.
2016-02-22 12:42:37 +01:00
Simon Howe d3283555b9 Testing out more shapes. 2016-02-22 12:42:36 +01:00
David KaltschmidtandSimon Howe 476b7917e4 Let shape be determined by backend 2016-02-22 12:42:36 +01:00
Tom WilkieandSimon Howe 3f7f55e87e Backend for node shapes 2016-02-22 12:42:36 +01:00
Simon Howe a34d9c97b8 Adds node-shapes to the canvas
- circle
- rect (w/ radius)
- fluffy cloud shape
- hexagons
- stacks
2016-02-22 12:42:36 +01:00
Paul Bellamy d2bf204181 Merge pull request #960 from weaveworks/no-ips-for-no-network
Don't show blank IPs metadata row for containers with no IP
2016-02-19 17:39:01 +00:00
Paul Bellamy 5535f5e738 Review Feedback 2016-02-19 17:04:00 +00:00
Alfonso Acosta d744278854 Merge pull request #989 from weaveworks/812-docker-stats-perf
Improve performance of docker stats obtention
2016-02-19 14:07:14 +00:00
Alfonso Acosta 49f6568138 Place buffer infront of the docker stats decoder 2016-02-19 14:06:47 +00:00
Tom Wilkie 0402f6d8f3 Merge pull request #962 from weaveworks/no-pointer-math
Remove pointer math (comparison) from render caching, as it is unreliable
2016-02-19 12:43:43 +00:00
Paul Bellamy 38653c4f7a Merge pull request #969 from weaveworks/759-term-env-var
set TERM=xterm on execs to work around docker issue 9299
2016-02-19 11:08:18 +00:00
Paul Bellamy e6b60e3e6d Merge pull request #966 from weaveworks/readme-dependencies
added note about docker and go dependency to the readme
2016-02-19 11:07:34 +00:00
Tom Wilkie a38db2eff6 Update README.md 2016-02-18 16:58:09 +00:00
Alfonso Acosta 369e319afe Merge pull request #976 from weaveworks/955-weave-tagger-crash
Fix weave tagger crash
2016-02-18 16:54:07 +00:00
Alfonso Acosta 7f384032fd Review feedback 2016-02-18 16:00:41 +00:00
Alfonso Acosta bf3ecd7f03 k8s: Add container Ids to container report 2016-02-18 14:52:10 +00:00
David 04504b9de4 Merge pull request #979 from weaveworks/874-contrast
Improve contrast of default view
2016-02-18 15:22:10 +01:00
Alfonso Acosta 4f987556cc Merge pull request #980 from weaveworks/973-remove-2opremio-codec
Remove github.com/2opremio/go-1/codec
2016-02-18 13:46:24 +00:00
Simon Howe ac5d258378 Fixes scope working under a path
- Adds proxy server for easy testing of scope under a path.
2016-02-18 14:17:51 +01:00
Alfonso Acosta ddf5fff5c2 Inline encoding of previously embedded fields
To avoid impacting the client's code with implementation details.
2016-02-18 12:49:31 +00:00
Alfonso Acosta 6ac176a492 Remove github.com/2opremio/go-1/codec
* Bump github.com/ugorji/go/codec, to get fixes which make
  github.com/2opremio/go-1/codec unnecessary

* Remove github.com/2opremio/go-1/codec

* Remove type embeddings to avoid the problem explained at
  https://github.com/ugorji/go/issues/141#issuecomment-185450157
2016-02-18 12:47:06 +00:00
Paul Bellamy e49d1a721c set TERM=xterm on execs to work around docker issue 9299 2016-02-18 11:50:11 +00:00
Paul Bellamy 7bd7cb7c2e Merge pull request #974 from weaveworks/fix-weave-tagger-logging
Use Sirupsen/logrus logger in the Weave tagger
2016-02-18 11:43:17 +00:00
David Kaltschmidt 20b3c4286d Improve contrast of default view
* expand contrast between text styles
* remove low opacity from footer
2016-02-18 12:35:09 +01:00
Alfonso Acosta 1e3014c417 Fix weave tagger crash 2016-02-17 18:53:43 +00:00
Alfonso Acosta 07d34205ce Merge pull request #975 from weaveworks/fixedprobe-codec-fix
Fix JSON encoding for fixedprobe
2016-02-17 17:18:15 +00:00
Paul Bellamy 0379fc4cf3 generate an ID for each memoiser so they can share cache
Makes cache clearing easier, and then we don't need to add
`ResetCache()` to the Renderer interface.
2016-02-17 17:10:14 +00:00
Alfonso Acosta c8752c7841 Fix JSON encoding for fixedprobe 2016-02-17 17:06:57 +00:00
Paul Bellamy df856d78dc set container IPs to host IPs for containers with --net=host 2016-02-17 16:42:52 +00:00