Commit Graph

46 Commits

Author SHA1 Message Date
Tom Wilkie
39b66300a6 Merge pull request #598 from weaveworks/315-capabilities
Add controls form container start, stop, pause, etc
2015-11-06 18:22:05 +00:00
Tom Wilkie
76d34330a9 Add Control plumbing. 2015-11-06 17:39:48 +00:00
Paul Bellamy
9877a2126a removing unused /api/origin/host/{id} route 2015-11-06 16:20:00 +00:00
Paul Bellamy
9ea156cfef Moving xfer.Collector into App (the only place its used) 2015-11-05 11:31:48 +00:00
Tom Wilkie
c6604a6c9b Don't keep stacking filters onto renderers; instead, ensure we return a fresh renderer each time. 2015-10-29 11:35:18 +00:00
Tom Wilkie
c9d0418c9f Review feedback 2015-10-19 14:09:53 +00:00
Tom Wilkie
305e1f482c Refactor topology registry etc; merge a bunch of redundant types. 2015-10-19 10:33:39 +00:00
Tom Wilkie
258e2c153d Sort the structs returned by /api/topology 2015-10-19 10:33:35 +00:00
Tom Wilkie
de6742db11 Add containers by hostname view. 2015-10-09 10:52:12 +00:00
Paul Bellamy
be1d1d52d0 Basic Kubernetes integration
* Added helper for installing scope on gcloud
* Added topologies Pods and Pods-by-Service
* Uses k8s.io/kubernetes/pkg/client/cache for the client
* Filter kube-system nodes by default
* Only show the k8s topologies if we've received a non-empty k8s report
2015-10-06 12:55:51 +01:00
Peter Bourgon
81aa92d13b Show why some nodes are filtered in applications view 2015-10-01 15:57:04 +02:00
Tom Wilkie
5c0555ae39 Report number of filtered nodes in topology stats.
Include filtered psuedo nodes in stats.
2015-09-29 08:51:38 +00:00
Peter Bourgon
822c09370e app: show unique ID in /api 2015-09-24 16:11:54 +02:00
David Kaltschmidt
dfdf93c440 Changed topo option labels to show current state 2015-09-15 15:03:18 +02:00
Tom Wilkie
e303188169 Don't close the request body. 2015-09-14 04:11:04 +00:00
Peter Bourgon
1dfc725706 Filter system containers from topologies; add API to control filters. 2015-09-07 14:24:15 +00:00
Tom Wilkie
ccf6c1fdca Make container rank the image _name_ 2015-09-04 10:16:17 +00:00
Tom Wilkie
e7dc258119 Only group processes not in containers AND doing network IO into uncontained nodes. 2015-08-27 15:26:49 +00:00
Alvaro Saurin
b60c39b7de GZip compression for app HTTP endpoints and probe -> app communication. 2015-08-26 09:56:14 +00:00
Tom Wilkie
a86d47deb0 Add container names to process minor label if possible. 2015-08-18 11:24:48 +00:00
Peter Bourgon
7d51f173ea Probes POST to apps
- App takes POST report on /api/report
- Probe publishes to configured target(s)
- Name resolution happens on probe-side
- There's no longer an xfer.ProbePort
- xfer.Collector responsibility is reduced
- Fixes to remaining experimental components.
- rm experimental/bridge: it's not being used, and by changing the
  app/probe comm model, it would require a complete refactor anyway. We
  can easily rebuild it when we need to. It will even be much simpler.
- rm experimental/graphviz: it's broken for some time anyway, and we
  don't really need to play around with it as a rendering option
  anymore.
- rm experimental/oneshot: we never use this anymore.
2015-08-07 15:45:15 +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
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
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
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
Peter Bourgon
3e8bdcc854 Sub-topolgies rendered in one place only 2015-06-15 10:26:22 +02:00
Peter Bourgon
086ff3b791 Change from grouped URL to sub-topologies 2015-06-12 13:23:25 +02:00
Tom Wilkie
53456179e4 All merging of RenderableNodes, such that we can merge multiple topologies. 2015-06-11 17:11:10 +00:00
Peter Bourgon
1e0b83eb6d Merge branch report-fields (#190) 2015-06-09 14:25:54 +02:00
Peter Bourgon
d486d1074a Refactor process mappers to taggers
- Reduce tagger interface to operate on reports
- Remove cgroup tagger
2015-06-08 15:04:40 +02:00
Tom Wilkie
7c4120ff11 Add /api handler, expose app version number. 2015-06-03 13:21:55 +00:00
Tom Wilkie
dd97a33e0e Restore the internet node to the container topologies. 2015-05-27 17:12:33 +00:00
Tom Wilkie
0ade65d32a Refactor grouped topologies, topology 'views' and their http handlers 2015-05-27 14:17:47 +00:00
Tom Wilkie
0b786ae5a7 Don't produce pseudo nodes for the container topologies 2015-05-27 10:05:24 +00:00
Tom Wilkie
0fd5c2eeae Factor out pseudo node creation to a per-topology function - no semantic change right now. 2015-05-27 10:05:18 +00:00
Peter Bourgon
bf49e12094 Add Containers topology 2015-05-26 16:37:44 +02:00
Peter Bourgon
8c7ca1ecc2 Merge pull request #67 from weaveworks/remove-topology-type
Topologies no longer have a 'type' (for grouping)
2015-05-23 18:07:58 +02:00
Peter Bourgon
2d5f58e8ed Expand details pane 2015-05-22 13:20:00 +02:00
Peter Bourgon
c8cfd2af5f Topologies no longer have a 'type' (for grouping) 2015-05-20 10:46:07 +02:00
Peter Bourgon
3e9ef67485 ProcessPID: major=<name>, minor=<host> (<pid>) 2015-05-20 10:04:44 +02:00
Peter Bourgon
0e19360215 Redo import statements 2015-05-19 10:02:59 +00:00
Tom Wilkie
d50e827fd5 Intial commit 2015-05-19 10:02:02 +00:00