Commit Graph

133 Commits

Author SHA1 Message Date
Tom Wilkie
8b03814cb7 Fixup failing tests due to fixture move. 2015-10-27 11:30:40 +00:00
Peter Bourgon
c8fbea0f15 Move fixture to its own package
We want to be able to import test from packages like probe/endpoint, in
order to use utility functions like poll. But that causes an import
cycle with the current layout. We got around this using dot-imports so
far, but it's ugly and unnecessary: fixture can be its own package.
2015-10-27 10:36:53 +00:00
Paul Bellamy
d7e26228bd Support wss for secure websockets when page was loaded over ssl 2015-10-19 17:42:11 +01: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
Peter Bourgon
e1ea2b234b make static 2015-09-30 05:14:51 -04:00
Peter Bourgon
7d52685b5f Merge pull request #503 from weaveworks/shutdown
Shutdown behavior
2015-09-29 12:02:23 +02:00
Peter Bourgon
36b743fe1f probe, app: reliable shutdown
- Restructure main funcs for clean defer-stack-unwinds
- Fix Docker container to handle signals properly
- Introduce runsvinit for container init process
- Integration test
2015-09-29 11:45:12 +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
Alfonso Acosta
bd58e91e18 Make static 2015-09-21 13:56:38 +00:00
Alfonso Acosta
96e825b8d2 make static 2015-09-16 12:23:58 +00:00
Peter Bourgon
4a4aea5663 make static 2015-09-16 12:30:21 +02:00
David
54d6ab3eaa Merge pull request #487 from weaveworks/sidebar
New sidebar in the bottom left
2015-09-16 12:15:58 +02:00
Peter Bourgon
70b57c3e4b make static 2015-09-15 18:47:22 +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
ee1e7a9738 Merge pull request #462 from weaveworks/render-reports
/api/report should render the complete report
2015-09-08 18:22:57 +02:00
Peter Bourgon
208abfa34a rm Sterilize, use Prune 2015-09-08 12:00:10 +02:00
Tom Wilkie
3a32fc8011 make static 2015-09-08 09:55:59 +00:00
Tom Wilkie
bd2a75687f make static 2015-09-07 21:12:07 +00:00
Peter Bourgon
e81efe6c14 make static 2015-09-07 11:10:48 -04:00
David Kaltschmidt
27caf0af41 Add dropdown field for topology options, save topology option in url state
- fix nodes reset after topology option change
- set topology on click
- explicitly set default topology options
- set default topo options when topos are received
- prevent JS error on too many nodes layout abort
2015-09-07 14:25:49 +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
57f7b4f2e6 Rename NodeMetadata -> Node 2015-09-03 16:18:54 +00:00
Tom Wilkie
405c4c4cd7 Move sterilze to expect package; reuse in app. 2015-09-01 12:07:43 +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
Peter Bourgon
44e6fd2adb Merge pull request #399 from weaveworks/topology-copy
Moar functional: Topology Merge methods don't mutate the receiver
2015-08-27 17:05:12 +02:00
Peter Bourgon
6d2252f604 app: fixes for new merge semantics 2015-08-26 12:02:11 +01:00
Alvaro Saurin
b60c39b7de GZip compression for app HTTP endpoints and probe -> app communication. 2015-08-26 09:56:14 +00:00
David Kaltschmidt
0a9ce218c7 updated static.go 2015-08-24 18:25:29 +02:00
Tom Wilkie
91627f8cc3 Stop the rendered graph from dancing. 2015-08-24 18:19:14 +02:00
Tom Wilkie
498bfd4b18 Make pseudo nodes clickable. 2015-08-24 14:05:01 +00:00
Tom Wilkie
08e1090a65 Merge pull request #369 from weaveworks/336-show-counts
Show how many containers have been grouped together under an image
2015-08-19 15:42:00 +01:00
Tom Wilkie
7508df7e5b Add NodeMetadata.Counters with appropriate merge semantics 2015-08-19 14:24:21 +00:00
Tom Wilkie
336ba79f95 Merge pull request #355 from weaveworks/directionality
Make edge direction flow from client->server.
2015-08-19 14:21:13 +01:00
Tom Wilkie
2b7b0c3774 Merge pull request #366 from weaveworks/331-process-container-names
Add container names to process minor label if possible.
2015-08-19 14:19:41 +01:00
Tom Wilkie
60d1b503c1 Deal with directed edges in the rest of the codebase. 2015-08-19 10:17:31 +00:00
Paul Bellamy
3fa86fe6ce adding -version flag back into app and probe for the release script 2015-08-19 10:37:02 +01:00
Tom Wilkie
fbe010a15f Review feedback 2015-08-19 09:24:52 +00:00
Tom Wilkie
819cfdfbdd Fix tests. 2015-08-18 11:24:49 +00:00
Tom Wilkie
a86d47deb0 Add container names to process minor label if possible. 2015-08-18 11:24:48 +00:00
David Kaltschmidt
0e82f6b856 static build of relative paths 2015-08-11 09:50:34 +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
5a29b1b9fe Merge pull request #343 from weaveworks/no-logging-options-please
app may only log to stderr, just like probe
2015-08-06 19:12:57 +01:00