Commit Graph

2229 Commits

Author SHA1 Message Date
Jonathan Lange
48fc985a3e Get non-cached reports in parallel 2016-06-07 19:23:45 +01:00
Jonathan Lange
0907cdfa0d Fail fast on error fetching non-cached reports 2016-06-07 19:00:14 +01:00
Jonathan Lange
3d12a2a76c Extract function for getting single report 2016-06-07 18:48:01 +01:00
Simon
7c4b7a56cb Merge pull request #1528 from weaveworks/network-view
[WIP] Network view
2016-06-06 17:03:15 +02:00
Simon Howe
53768b52ec Fixes tests + missing files oops (network view stuff) 2016-06-06 16:30:20 +02:00
Simon Howe
570124fbe0 Netview review feedback 2016-06-06 16:24:18 +02:00
Simon Howe
05ce661c19 Gets go-tests passing! 2016-06-06 16:24:18 +02:00
David Kaltschmidt
b1cd16d92d Fix node blurring for network hover
Fixes edge focus/blurring when selecting networks

Configurable arc size

net-view variant: Smaller arc (just the top)

net-view revision: Add white container around arcs.

To join them together in a sense. Trying to avoid the edge/arc position
association. Not sure if this really helps

net-view variations: shadows.

bg fill, align network rotation w/ rank.

Cute little dots

Stacked lines

Rounded rects

Slightly thicker "pills" to repr networks

Handle edge case by making line longer

Fix network bar offset
2016-06-06 16:24:09 +02:00
David Kaltschmidt
478a4a6d66 Remove common prefix from networks to increase color separation 2016-06-06 16:24:03 +02:00
David Kaltschmidt
e95f46bfd8 Extract networks from metadata (should be toplevel field) 2016-06-06 16:24:03 +02:00
Peter Bourgon
e0fab36351 Re-sync container on network dis/connect 2016-06-06 16:24:03 +02:00
Peter Bourgon
10ced2d09d First cut of network data 2016-06-06 16:24:02 +02:00
Simon Howe
b198c88fb1 Correct url-state handling.
Testing out colored borders rather than BGs for net-view legend
2016-06-06 16:23:56 +02:00
Simon Howe
8481223181 Rollback network view details-panel integration 2016-06-06 16:23:55 +02:00
Simon Howe
6b4b07d0bc Copy paste of MoC controls as initial networks-view legend
Needs a bit of de-dup / customization

oops, bad typo

More fleshing out the structure for network-view

onHover netview-legend: highlight relevant nodes.

And the bool rolls on.

Handle nodes w/ no networks better

Corrects deselect-node when used w/ new network-view behaviour

Net view details "node" can be open when with no nodes selected. Hitting
"esc" from:
 - card 0: network-a
 - card 1: node-a
was not deselecting node-a

Deselect selectedNetwork correctly onEsc

Ooops, trailing ws breaks linting.

Adds NodeNetworksOverlay stub

Expands on NodeNetworksOverlay stub and adds arcs and colors

Expand and collapse networks legend

Open arc for network circle, shift for stack

Show our base hue range in the debug bar too..

Was trying to smooth out our hue selector but turned out to be tricky..

Uniquify random data generator!
2016-06-06 16:23:44 +02:00
Simon Howe
da67ba05f8 Adds node.networks to the debug toolbar nodes 2016-06-06 16:20:25 +02:00
Ilya Dmitrichenko
25685c55f9 Fix Docker for Mac check (#1551) 2016-06-04 08:04:08 +01:00
Paul Bellamy
85aee27ef6 If k8s objects only have one container, show that container's metrics on them (#1473) 2016-06-04 08:03:51 +01:00
Anita Buehrle
1bd8eb218d pointed docs links to website 2016-06-03 11:58:00 -05:00
Bryan Boreham
9fc63a14ec Update the Slack link 2016-06-03 16:52:30 +01:00
Adam Harrison
3eda2c9503 Update Slack badge links 2016-06-01 14:46:20 +01:00
Anita Buehrle
14ee6383cc minor edits 2016-05-31 13:45:22 -05:00
Anita Buehrle
4931a4f774 cosmetic edits to minimesos section 2016-05-31 13:43:09 -05:00
Tom Wilkie
12f281654d Put reports in S3; add in process caching (#1545)
* Add in-process caching to dynamodb collector

* Add metrics for dynamodb consumed capacity and report size

* Log and return errors during report collection

* Increase compression to the max

* Put reports in S3 and just use DynamoDB as an index.

* Review feedback
2016-05-31 15:40:15 +01:00
Ilya Dmitrichenko
378e2bd24e Fix typo 2016-05-31 14:33:43 +01:00
Ilya Dmitrichenko
455eaad2fb Simplify minimesos docs 2016-05-31 14:27:42 +01:00
Ilya Dmitrichenko
1762cc4836 Merge pull request #1509 from sadovnikov/master
#1507. Adding Marathon JSON for launching on minimesos cluster
2016-05-31 14:17:40 +01:00
Alban Crequy
b20e292390 circle.yml: deploy non-master branches (#1535)
By default, non-master branches are not deployed on the Docker Hub. With
this patch, you can enable this feature by setting the environment
variable DEPLOY_BRANCH in the circle configuration.

It will not be tagged with the "latest" tag but instead derive the tag
from the branch name. Since "/" are not allowed in Docker tag names, all
"/" are replaced by "-".

When testing code in Scope, I use circle to build the Docker image but I
don't want to always use my "master" branch for development.
2016-05-28 12:02:42 +01:00
Tom Wilkie
277bd70491 Don't every store NEW conntrack flows (only every store updates). (#1541)
This closes a small window where we might produce reports which contain flows that are NEW but have never seen an UPDATE, which can potentially be invalid.
2016-05-27 11:25:42 +01:00
Tom Wilkie
7377945302 Use smart merger in the dynamodb collector. (#1543) 2016-05-27 08:57:07 +01:00
Viktor Sadovnikov
edb27e0935 weaveworks/scope#1507. moving minimesos installation instructions to site/installing.md file 2016-05-27 00:25:13 +02:00
Tom Wilkie
7169037bbd Add docker hub badge (#1540) 2016-05-26 14:58:08 +01:00
Viktor Sadovnikov
b63d3374cb weaveworks/scope#1507. README.md: adding example for using latest minimesos.json 2016-05-26 10:22:23 +02:00
Tom Wilkie
c8828826ae Allow user to specify table name and queue prefix. (#1538)
* Allow user to specify table name and queue prefix.

* Trim leading slash, catch missed queue prefix

* Comment out publish step until devwww is fixed.
2016-05-25 10:09:32 +01:00
Paul Bellamy
d13784092b Merge pull request #1533 from weaveworks/missing-return
Various fix ups for multitenancy
2016-05-24 09:50:21 +01:00
Viktor Sadovnikov
58f80920b3 weaveworks/scope#1507. disabling new version updates 2016-05-24 09:38:20 +02:00
Tom Wilkie
861605a5ee Instrument SQS calls 2016-05-23 16:48:31 +01:00
Tom Wilkie
5a9aebbcb4 lint 2016-05-23 16:19:23 +01:00
Tom Wilkie
8d092c37e7 Also rewrite r.URL.Path, as gorilla mux reads this. 2016-05-23 16:18:24 +01:00
Tom Wilkie
3335361ae9 Include label in prom metric to distinguish ws connection latencies. 2016-05-23 15:02:41 +01:00
Tom Wilkie
5079a9eba4 Only log first http header. 2016-05-23 14:02:52 +01:00
Tom Wilkie
f36bb4e2fb Gather dyanmodb latency 2016-05-23 14:02:34 +01:00
Alban Crequy
42ad3aa12b Scope slow: improve error messages for debugging (#1534)
* alpine: dl-4.alpinelinux.org is dead, use another server

* increase buffer for docker stats

Attempt to avoid the following message:
docker container: dropping stats.

* probe: better timeout error messages

The logs contains the following messages:

Process reporter took longer than 1s
K8s reporter took longer than 1s
Docker reporter took longer than 1s
Endpoint reporter took longer than 1s

This patch prints how long it takes.
2016-05-22 18:21:55 +01:00
Tom Wilkie
334701f92e Add a missing return. 2016-05-20 19:17:15 +01:00
Paul Bellamy
d03c5b3bc4 Merge pull request #1530 from weaveworks/1514-deployment-pods
Propagate the pod counter from replicasets for deployments.
2016-05-19 14:31:20 +01:00
Tom Wilkie
5f995ae2f9 Propagate the pod counter from replicasets for deployments. 2016-05-19 13:41:52 +01:00
Tom Wilkie
24062be6c9 Increase test replicas (#1529)
* Increase number of test VMs to 5 per shard.

* Make pipe router test shorter.
2016-05-19 11:00:51 +01:00
Paul Bellamy
5d8b1c003e Add pod status to summary table (#1523)
Had to shorten the title of # Containers, as it was being truncated.
2016-05-19 10:59:58 +01:00
Adam Harrison
7d7c97d332 Merge pull request #1517 from weaveworks/docs-automation
Circle integration for auto docs publishing.
2016-05-18 15:45:08 +01:00
Tom Wilkie
afd3cdeb22 Review feedback 2016-05-18 14:55:47 +01:00