Bryan Boreham
baf0d94af9
Implement a Merge function on IDLists which is more efficient than repeated Add
2015-07-07 22:36:22 +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
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
Tom Wilkie
eb250ecb7c
Trim whitespace from process names
...
This causes detailed node lookups for the grouped-by-process-name view to fail. Also, add a test for process walker trimmming whitespace, and a test the process-by-name view gives the right result.
2015-06-24 14:01:17 +00:00
Tom Wilkie
416f56c3cc
Only have a single report fixture
...
- Move render.Rpt to test.Report
- Remove report/report_fixture_test.go; it was unused
- Remove report fixture in app/ and make tests use test.Report
- Move expected outputs into render/expected, so they can be reused
2015-06-24 09:51:29 +00:00
Tom Wilkie
93cf639418
Fix order of tables in details panel to go from most to least granular.
2015-06-23 15:09:20 +00:00
Tom Wilkie
626320d7f4
Move probe host topology code into its own module
...
- add tests
- use constants for NodeMetadata keys
- add host uptime and kernel version
2015-06-23 13:31:22 +00:00
Tom Wilkie
560cf66454
Refactor PIDTree
...
- Move pidtree to its own module and disaggregate it into tree, walker and reporter.
- Extend testing for probe/process
- Extend process metadata; add command line & # threads.
2015-06-23 09:40:35 +00:00
Tom Wilkie
152774a812
Extract out rendered node id generation into a small set of functions.
2015-06-23 07:42:17 +00:00
Tom Wilkie
ccb6bb94c1
Merge pull request #269 from tomwilkie/265-docker-bridge
...
Treat addresses on the docker bridge as local.
2015-06-22 15:55:37 +02:00
Tom Wilkie
82a7f93e17
Treat addresses on the docker bridge as local.
2015-06-22 11:24:47 +00:00
Tom Wilkie
25016dbba5
Emit per-host Uncontained pseudo nodes.
2015-06-22 10:35:00 +00:00
Tom Wilkie
c793e86d5b
Expose some more information on containers.
2015-06-19 13:02:07 +00:00
Tom Wilkie
49dae07cca
Make render module produce The Internet pseudo node.
2015-06-19 11:09:52 +00:00
Tom Wilkie
25ca0c0eb7
Add ContainerImage topology and use it to build the Container By Image graph.
...
This makes container image details show the containers (and processes) correctly.
Also:
- introduces a 'test' package, moved Diff function there.
- adds some tests for this new rendered view.
2015-06-18 09:16:20 +00:00
Tom Wilkie
f971ac12bf
Move AggregateMetadata into render package.
2015-06-17 19:26:13 +00:00
Tom Wilkie
0e029fe9bc
Fix fluttering issue.
2015-06-17 18:18:57 +00:00
Tom Wilkie
18c544701a
Review feedback
2015-06-17 17:23:33 +00:00
Tom Wilkie
7e021baf3b
Add test for MakeDetailedNode.
2015-06-17 17:23:30 +00:00
Tom Wilkie
c764164d83
Non-leaf (derived) mappers should not propogate their NodeMetadata.
2015-06-17 17:23:27 +00:00
Tom Wilkie
75b5e07482
Add test for ContainerRenderer and make tests in /app pass.
2015-06-17 17:23:26 +00:00
Tom Wilkie
3de721bb16
Make topologies_test.go pass.
2015-06-17 17:23:24 +00:00
Tom Wilkie
93d062a3ab
gorename -from 'github.com/weaveworks/scope/render.RenderableNode.Metadata' -to AggregateMetadata
2015-06-17 17:23:23 +00:00
Tom Wilkie
546f336fef
Add FilterUnconnected Renderer, wire up Process and ProcessName Renderers.
2015-06-17 17:23:21 +00:00
Tom Wilkie
16e2ccd2be
Produce the container topology by way of the process topology.
2015-06-17 17:23:20 +00:00
Tom Wilkie
a759db8931
Rename Map -> LeafMap, introduce Map (with tests)
2015-06-17 17:23:19 +00:00
Tom Wilkie
cc0efe526e
Add test for renderable node merging.
2015-06-16 16:59:27 +00:00
Tom Wilkie
2a4a33f30a
Move RenderableNode and DetailedNode into render/
2015-06-16 15:37:08 +00:00
Tom Wilkie
4726b48f4e
Move topology diff to render package.
2015-06-16 14:25:34 +00:00
Tom Wilkie
ae9ea5c97f
Move mapping functions and main render function in render package.
2015-06-16 14:23:56 +00:00
Tom Wilkie
1e92e7dcbd
Introduce renderers; allow them to recurse.
2015-06-16 10:54:30 +00:00