Commit Graph

135 Commits

Author SHA1 Message Date
Tom Wilkie
c44b5b2d50 improve the demo app 2016-05-12 17:02:21 +01:00
Tom Wilkie
7a4a7fbafc Don't run the plugin, use tinycore & weavedns for tracer app 2016-05-11 14:38:29 +02:00
Tom Wilkie
2978794747 Make the example work on kubernetes (#1463)
* Make the example work on kubernetes

* Example app: Launch weave if not running.
2016-05-10 20:25:36 +02:00
Paul Bellamy
64450a4830 Merge pull request #1371 from weaveworks/1219-grouped-node-counts-2
Fixing grouped node count for filtered children nodes
2016-04-28 13:30:15 +01:00
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
Tom Wilkie
455b599074 Fix tracer build, ensure its built on circle. (#1387) 2016-04-27 12:15:04 +01:00
Tom Wilkie
087be057f2 Add ability for fixprobe to send the report from test/fixture 2016-04-22 11:07:07 +01:00
Paul Bellamy
1edeb8d190 Removing report.Node.WithID (#1315)
* removing usage of report.Node.WithID

* report.Topology.AddNode can use the node's ID field
2016-04-19 16:48:03 +01:00
Paul Bellamy
0ece4f5c8c add some flags to fixprobe so you can use it against the service 2016-04-14 15:54:08 +01:00
Paul Bellamy
7632e0b3c5 Adding support for plugins, with basic example of iowait, and ebpf
Squash of:
* Include plugins in the report
* show plugin list in the UI
* moving metric and metadata templates into the probe reports
* update js for prime -> priority
* added retry to plugin handshake
* added iowait plugin
* review feedback
* plugin documentation
2016-04-12 17:22:14 +01:00
Paul Bellamy
fe6203fd3f Review Feedback
Squash of:
- including children in topologies_test.go
- report.Node.Prune should prune children also
- rewrote ShortLivedInternetConnections test to express its intent
- adding tests for detail Summary rendering
2016-03-29 14:13:20 +01:00
Paul Bellamy
2c6b6e6707 Refactoring rendering to remove RenderableNode
Squash of:
- use detailed.Summaries to render topology nodes
- ban merging nodes of different topologies (they should be mapped)
- need to prune parents when mapping node types
- render container images by id if they have no name
- remove separate render ids and prune parents in NewDerived*
- don't render metrics/metadata for groups of nodes
- fixing up tests
- removing pending unit tests (for mapping.go, for now)
- updating experimental dir for RenderableNode removal
2016-03-29 14:13:03 +01:00
Paul Bellamy
80dc714c1e rename LabelMajor to Label 2016-03-29 14:00:11 +01:00
Tom Wilkie
a703fe891f Merge pull request #996 from weaveworks/multi-tenant-app
Multi-tenant architecture for the app
2016-03-24 13:08:33 +00:00
Tom Wilkie
ca4f6ad17c Fix a couple of minor issue for goreportcard and add badge for it. 2016-03-23 16:17:01 +00:00
Tom Wilkie
9610e95ed9 Break out factories for app backends, and encode everything in urls. 2016-03-23 15:41:37 +00:00
Tom Wilkie
9885706402 Multi-tenant backends for app.
Add DynamoDB based collector
    - Store compressed reports in dynamodb

    Add SQS based control router.
    - Uses a queue per probe and a queue per UI for control requests & responses.

    Add Consul-based, horizontally-scalable, multi-tenant pipe router.
    - Uses consul to coordinate each end of pipe connections replicas of a pipe service.
2016-03-23 15:41:37 +00:00
Tom Wilkie
7e2e4c9c45 Fix spelling mistakes in the codebase. 2016-03-23 10:51:27 +00:00
Tom Wilkie
bd760f6e76 Update demo for tracer 2016-03-10 13:25:19 +00:00
Tom Wilkie
e7c5fc7016 Remove address topology 2016-03-08 13:23:30 +00:00
Paul Bellamy
6cef1b10ca adding direction to connections from conntrack
* Remove report.EdgeMetadata.MaxConnCountTCP, as we don't display it anywhere
* Remove hostname metadata from local end of connection. We should be using the hostnodeid
2016-02-23 14:17:45 +00:00
Tom Wilkie
a38db2eff6 Update README.md 2016-02-18 16:58:09 +00:00
Alfonso Acosta
c8752c7841 Fix JSON encoding for fixedprobe 2016-02-17 17:06:57 +00:00
Tom Wilkie
6f9fdaa27e Rename applications -> processes in experimental and render/detailed. 2016-02-01 06:54:19 -08:00
Tom Wilkie
394bc88f2a Add vendored deps for tracer. 2016-01-31 17:51:55 -08:00
Tom Wilkie
1f92db9557 Use tinycore-python to keep the example small. 2016-01-28 14:22:37 -08:00
Tom Wilkie
6773ec0e3e Update tracer readme (2). 2016-01-28 08:04:34 -08:00
Tom Wilkie
5a8b7325c1 Update tracer readme and makefile. 2016-01-28 08:04:04 -08:00
Tom Wilkie
077c136788 Update instruction on running demo. 2016-01-27 19:26:26 -08:00
Tom Wilkie
2dc47e0c6c Fix up experimental. 2016-01-23 13:59:48 -08:00
Tom Wilkie
6b56475766 Use ps.Map for Counters and Sets, remove Metadata in favour of Latest.
Also
- Add more complicated report.json for benchmark
- Break up report/topology.go
- Implement our own DeepEqual for ps.Map
2016-01-22 15:10:32 -08:00
Tom Wilkie
0565479e8c Build example app in container. 2016-01-16 11:56:34 -08:00
Paul Bellamy
80c7436036 Merge pull request #794 from weaveworks/641-xfer-mv
Split and move xfer package.
2016-01-06 15:56:55 +00:00
Tom Wilkie
ffa955a21b Split and move xfer package. 2016-01-06 14:01:39 +00:00
Tom Wilkie
d101b0fced Add integration test for procspy edges. 2016-01-06 12:46:25 +00:00
Tom Wilkie
2faa58aa41 Merge pull request #776 from weaveworks/tracer
Tracer!
2015-12-17 13:55:10 +00:00
Tom Wilkie
6dc65e2481 Update example app. 2015-12-17 13:54:42 +00:00
Tom Wilkie
13a82bc9a8 Make it lint and compile after rebase. 2015-12-16 15:30:53 +00:00
Tom Wilkie
662b792781 Make it compile again. 2015-12-16 15:24:53 +00:00
Tom Wilkie
b99555936d Add echo server, make it randomly take 2 secs. 2015-12-16 15:21:35 +00:00
Tom Wilkie
2dc03ce6d1 Use container names over pids. 2015-12-16 15:21:35 +00:00
David Kaltschmidt
b8d43a650d allowing more boxes on same row in child traces 2015-12-16 15:21:35 +00:00
Tom Wilkie
3d54954665 Protect against fd reuse. 2015-12-16 15:21:35 +00:00
David Kaltschmidt
90d288fcf3 Flame graph for child traces 2015-12-16 15:21:35 +00:00
Tom Wilkie
3dbb94eed3 Send all the container pids to the client. 2015-12-16 15:21:35 +00:00
Tom Wilkie
e58f0f756f Make temporal join work - now can have traces with more than one child! 2015-12-16 15:21:35 +00:00
Tom Wilkie
baf7aa106c Fix table column width; ntohl port numbers. 2015-12-16 15:21:35 +00:00
Tom Wilkie
dfbd83b658 Expose keys, sort and dedupe traces, and hide show children in ui. 2015-12-16 15:21:35 +00:00
Tom Wilkie
9f49f63fc6 Mime type 2015-12-16 15:21:35 +00:00
David Kaltschmidt
7dff1bd85e Polished UI for tracer
* added logo and favicon
* upgraded Bootstrap to v4
* use FontAwesome as icon font
* applied weave colors
* auto-select first container
* mock backend in server.js to serve *.json files for API requests
2015-12-16 15:21:34 +00:00