Paul Bellamy
3d3aed2bb3
Fixing grouped node count for filtered children nodes
...
Squash of:
* We have to keep all the container hostnames until the end so we can
count how many we've filtered
* Adding tests for ContainerHostnameRenderer and PodServiceRenderer with
filters
* Because we filter on image name we need the image name before
filtering
* Alternative approach to passing decorators.
* Refactor out some of the decorator capture
* Don't memoise decorated calls to Render
* Fixing filtered counts on containers topology
Tricky, because we need the filters to be silent sometimes (when they're
in the middle), but not when they're at the top, so we take the "top"
filter's stats. However, this means we have to compose all
user-specified filters into a single Filter layer, so we can get all
stats.
There are no more Silent filters, as all filters are silent (unless they
are at the top).
Additionally, I clarified some of the filters as their usage/terminology
was inconsistent and confused. Now Filter(IsFoo, ...) *keeps* only nodes
where IsFoo is true.
2016-04-28 12:23:43 +01:00
Paul Bellamy
fdaafd2208
Check counters on expected rendered topologies
2016-04-22 14:14:31 +01:00
Paul Bellamy
e7ebb83e23
Prune is only used in tests, so let's move it there
2016-04-22 14:14:30 +01:00
Paul Bellamy
1539e668e7
Merge pull request #1290 from weaveworks/remove-container-control
...
Add control for removing stopped docker containers.
2016-04-22 14:13:40 +01:00
Paul Bellamy
f727bd6c21
Merge pull request #1360 from weaveworks/render-reorg
...
Reorganise the render/ package
2016-04-22 11:51:38 +01:00
Tom Wilkie
cfda4c8404
Review feedback
2016-04-22 11:07:07 +01:00
Tom Wilkie
087be057f2
Add ability for fixprobe to send the report from test/fixture
2016-04-22 11:07:07 +01:00
Tom Wilkie
22e8418e7a
Reorganise the render/ package
2016-04-22 11:07:07 +01:00
Paul Bellamy
a4e68b9598
Merge pull request #1363 from weaveworks/1072-docker-rm
...
Immediately remove deleted containers from the UI.
2016-04-22 10:29:14 +01:00
Tom Wilkie
901f46c5fc
Report if newer version are availible in /api ( #1366 )
...
* Report if newer version are availible in /api
* Render version update hint in UI, next to version
* Fix lint
2016-04-22 10:25:00 +01:00
Paul Bellamy
3ec7e0227b
Merge pull request #1362 from weaveworks/go1.6.2
...
Upgrade to go1.6.2
2016-04-22 10:19:54 +01:00
David Kaltschmidt
eda2a208c6
Sort controls by rank in the UI
2016-04-21 19:36:13 +02:00
David
3abd96f752
Merge pull request #1365 from weaveworks/add-download-report-button
...
Add a button to download the report as JSON
2016-04-21 19:17:22 +02:00
Tom Wilkie
8b06f6c0d8
Add rank field to controls.
2016-04-21 18:05:48 +01:00
Paul Bellamy
c4d4514278
Merge pull request #1359 from weaveworks/1121-reverse-resolution
...
Use reverse-resolved DNS info in the connections table.
2016-04-21 17:53:10 +01:00
Paul Bellamy
1b10a39313
add a button to download the report as JSON
2016-04-21 17:49:36 +01:00
David Kaltschmidt
62ed88cf16
Close details panel when node was removed via control
2016-04-21 18:34:51 +02:00
Tom Wilkie
ed555b6780
Add 'closeDetails' field to control responses.
2016-04-21 16:40:21 +01:00
Tom Wilkie
65dbca997c
Add control for removing stopped docker containers.
2016-04-21 16:24:41 +01:00
Tom Wilkie
fc46301c32
Include IP address in label.
2016-04-21 16:20:39 +01:00
David
7e9edb03a7
Merge pull request #1354 from weaveworks/asset-fingerprinting
...
Asset fingerprinting
2016-04-21 15:59:52 +02:00
David
e6c3bb1665
Merge pull request #1361 from weaveworks/1304-fix-node-positions
...
Extract only coordinates from layout runs
2016-04-21 15:59:30 +02:00
Tom Wilkie
66868eb946
Add test for rm'd containers
2016-04-21 13:51:20 +01:00
Tom Wilkie
99204e1ff7
Add k8s pod log control ( #1298 )
...
* Remove individually vendored k8s.io/kubernetes/pkg/<foo>
* Vendor the whole of vendor/k8s.io/kubernetes/pkg
* Add k8s pod log control
* Tag pods with host id and include them in the host topology as children.
* adding a basic test for kubernetes.Reporter.GetLogs
2016-04-21 13:48:50 +01:00
Tom Wilkie
cec750049f
Immediately remove deleted containers from the UI.
2016-04-21 12:26:51 +01:00
Tom Wilkie
fb8704f82d
Upgrade to go1.6.2
2016-04-21 10:04:08 +01:00
David Kaltschmidt
b1f8e89227
Add entry name to stylesheet
...
* fixes contrast mode
2016-04-21 09:35:14 +02:00
David Kaltschmidt
9cf3d671bb
Extract only coordinates from layout runs
...
* keeps node metadata intact
* fix for issue introduced in 5cedfad
Fixes #1304
2016-04-21 09:18:46 +02:00
Tom Wilkie
0a51064713
Use reverse-resolved DNS info in the connections table.
2016-04-20 17:18:32 +01:00
Paul Bellamy
3c1b068633
Merge pull request #1357 from weaveworks/1312-arg-parsing
...
Move all the flag parsing to main.go; implement `scope help`
2016-04-20 17:03:13 +01:00
Paul Bellamy
f61e29e324
Merge pull request #1358 from weaveworks/1081-flaky
...
Add buffer to mockPublisher channel to prevent deadlock between Publish() and Stop()
2016-04-20 16:44:16 +01:00
Tom Wilkie
919d813b70
Add buffer to mockPublisher channel to prevent deadlock between Publish() and Stop()
2016-04-20 16:20:14 +01:00
Paul Bellamy
b85e287a22
Merge pull request #1327 from weaveworks/1213-group-summariser
...
Add explicit group node summariser instead of doing it in the other summaries
2016-04-20 16:11:56 +01:00
Tom Wilkie
cb0901e8e1
Move all the flag parsing to main.go; implement scope help
2016-04-20 15:48:43 +01:00
Paul Bellamy
99c611f594
Fixing up tests for shape and sublabel moving to topologies
2016-04-20 15:46:26 +01:00
Paul Bellamy
4bd3832219
move counting sublabel definition to the topologies
2016-04-20 12:17:46 +01:00
Paul Bellamy
4ad1ae80df
move shapes determination to the topology
2016-04-20 12:17:46 +01:00
Paul Bellamy
43a29db73c
Add explicit group node summariser instead of doing it in the other summaires
2016-04-20 11:59:04 +01:00
David Kaltschmidt
8c5638edb2
Asset fingerprinting
...
* adds `?hash` to JS and CSS bundle URLs against caching in production
* uses `html-webpack-plugin` to generate html dynamically
* html based on template in `app/html/index.html`
* per-app html files no longer needed
* `build/` dir is now completely deleteable, and fully gitignored
* top-level `make` now requires `client/app` to pick up on html and
style changes
* cleaned up `server.js` code for production bundle testing
* added readme entry about testing production bundles
2016-04-20 12:33:22 +02:00
Paul Bellamy
8f3402f3e6
Merge pull request #1350 from weaveworks/1246-k8s-unmanaged
...
Add a 'Unmanaged' node to k8s views which included non-k8s containers.
2016-04-20 10:26:29 +01:00
Paul Bellamy
c9b12db612
Merge pull request #1352 from weaveworks/1349-k8s-pod-count
...
Show number of pods in service minor
2016-04-20 09:59:53 +01:00
Paul Bellamy
5cedfad29a
Merge pull request #1332 from weaveworks/1091-docker-rename
...
Support docker rename events
2016-04-20 09:45:40 +01:00
Simon Howe
81334cdbd8
Fixes up node (de)selection after bad attempt to fix stale metadata
2016-04-20 10:05:17 +02:00
Tom Wilkie
9eda27822c
Show k8s labels and container env vars in the details panel. ( #1342 )
...
* Show k8s labels and container env vars in the details panel.
* Add show more bar to the env vars and labels
* React key was in the wrong place; empty tables render section labels.
2016-04-20 08:18:03 +01:00
Alfonso Acosta
b745411ce1
ebpf plugin clarifications
2016-04-19 15:33:26 -04:00
Paul Bellamy
80535f8e8e
Update README.md
2016-04-19 18:14:15 +01:00
Tom Wilkie
14d35d2b96
Show number of pods in service minor
2016-04-19 17:54:27 +01:00
Tom Wilkie
6db171bc9b
Add a 'Unmanaged' node to k8s views which included non-k8s containers.
2016-04-19 17:49:06 +01:00
Paul Bellamy
f8fb829848
Merge pull request #1348 from weaveworks/1196-no-image-version-in-parents
...
Strip image version from parent links
2016-04-19 17:14:26 +01:00
Simon
693c40c22e
Merge pull request #1346 from weaveworks/1335-nodes-with-a-slash
...
Change url encoding to handle multiple slashes in node names
2016-04-19 17:57:35 +02:00