Commit Graph

3748 Commits

Author SHA1 Message Date
Alfonso Acosta
5d7b05979a Merge pull request #2454 from kinvolk/ckuehl/add-plugin-mention-to-scope-README
Add plugin mention to scope readme
2017-04-27 11:39:40 +02:00
Mike Lang
8bd74a6523 Merge pull request #2477 from weaveworks/2269-fix-linting
only lint files in git ls-files, not .git/*
2017-04-26 12:55:58 -07:00
Mike Lang
e127392add Merge pull request #2025 from kinvolk/alessandro/data-structures
Report data structure documentation

Note we are merging despite what appears to be an unrelated test error to do with how the linting script works.
2017-04-26 10:21:19 -07:00
Alfonso Acosta
70cd3aaba0 only lint files in git ls-files, not .git/* 2017-04-26 16:43:06 +00:00
Alban Crequy
a3d262f79f site/plugins.md: Metadata Templates: change English phrasing 2017-04-26 16:56:28 +02:00
Filip Barl
23fb14d0be Polished the metric selection logic (#2468)
* Polished the metric selection code

* Fixed hovering advantage over pinning.
2017-04-26 16:18:42 +02:00
Alban Crequy
1bc0bca2ad site/plugins.md: English wording
From Anita Buehrle's review
2017-04-26 14:35:41 +02:00
Michael Schubert
beefec17f2 site/plugins.md: document sets and counters 2017-04-26 14:35:41 +02:00
Michael Schubert
d9b6e81ef6 site/plugins.md: clarify that node ids are different 2017-04-26 14:35:41 +02:00
Michael Schubert
3fb13e885b site/plugins.md: fix identifier typo 2017-04-26 14:35:41 +02:00
Michael Schubert
525beba83c Mention new ECSTask and ECSService 2017-04-26 14:35:41 +02:00
Alban Crequy
73a2eb0b3b site/plugins.md: more fixes thanks to Iago 2017-04-26 14:35:41 +02:00
Alban Crequy
6966a8c04e site/plugins.md: english wording 2017-04-26 14:35:41 +02:00
Alban Crequy
bcae01c580 site/plugins.md: clarify the difference between latest and metrics 2017-04-26 14:35:41 +02:00
Alban Crequy
176ffcfef4 site/plugins.md: fixes after Iago's review 2017-04-26 14:35:41 +02:00
Alban Crequy
d2fc48fa4e site/plugins: data structures: fixes 2017-04-26 14:35:41 +02:00
Alessandro Puccetti
84723244cc site/plugins: add report data structures section
This patch adds the report's data structures outline and specifications
for the topologies, the nodes, the metadata templates, the table
templates, the metric templates, the controls, the metadata, the
metrics and the time window.
2017-04-26 14:35:41 +02:00
Filip Barl
c7bf7df975 Fixed view mode switching keyboard shortcuts (#2471)
* Replaced toggleGridMode with working actions.

* Addressed @foot's comment.
2017-04-26 14:26:47 +02:00
Alfonso Acosta
7544f4bc7d Merge pull request #2449 from weaveworks/2448-dockerhub-publish
publish master to dockerhub (again)
2017-04-25 16:11:37 +02:00
Alfonso Acosta
876bb97539 Merge pull request #2452 from weaveworks/mike/docker-swarm/service-ns-selector
Add docker swarm Stack selector ala k8s namespace selector
2017-04-25 15:57:15 +02:00
Bryan Boreham
8ad2d0e42c Merge pull request #2466 from weaveworks/map-write-optimise
Msgpack perf: write psMap out directly
2017-04-25 14:55:45 +01:00
Alfonso Acosta
372d818804 Merge pull request #2453 from kinvolk/schu/proc-walker
proc_linux: don't exec `getNetNamespacePathSuffix()` on every walk
2017-04-25 15:54:26 +02:00
Bryan Boreham
6842b08eb8 Fix out-of-date error message in test 2017-04-25 12:28:14 +00:00
Bryan Boreham
f9a1ecbef0 Remove Gob from plugin spec - not used any more 2017-04-25 12:27:51 +00:00
Bryan Boreham
b49ee2ae95 Remove Gob from report package - no longer used 2017-04-25 12:26:15 +00:00
Bryan Boreham
36ff5ab71a Write psMap out directly
rather than going via intermediate data structure
2017-04-25 10:38:56 +00:00
David
64fadf3c20 Merge pull request #2457 from weaveworks/remove-double-click
Remove zoom on double-click
2017-04-24 12:52:37 +02:00
Bryan Boreham
0281d4aeef Fix typo 2017-04-23 16:58:15 +00:00
David Kaltschmidt
11d9903d8f Remove zoom on double-click
This was confusing in demos at KubeCon and DockerCon this year, as
clicking on nodes kept the UI zooming in.
Plus, when asked, users had no idea that double-click meant zoom in.

Fixes weaveworks/service-ui#453
2017-04-21 17:00:09 +02:00
Chris Kühl
eb175e661b README: Add prominent section about plugins 2017-04-19 15:30:03 +02:00
Michael Schubert
1d1f7347ce proc_linux: don't exec getNetNamespacePathSuffix() on every walk 2017-04-19 12:49:04 +02:00
Mike Lang
51999529a7 Add docker swarm Stack selector ala k8s namespace selector
We have to introduce the kinda hacky concept of a 'No Stack' stack
to reconcile it with the idea of a 'default' k8s namespace. This is important
because swarm services without a stack don't have the same docker labels as ones that do.
Curiously, they still have what appears to be a stack name 'prefix' on their names,
but I can't isolate that name anywhere easily so they'll just have to make do.

I basically copy-pasted updateFilters to make this work, todo go back and refactor
to not duplicate 90% of the code.
2017-04-18 09:08:22 -07:00
Bryan Boreham
c944225475 Merge pull request #2437 from kinvolk/alban/gzip-compression-level-default
gzip: change compression level to the default
2017-04-18 10:45:38 +01:00
Mike Lang
b58832df7e Merge pull request #2450 from weaveworks/mike/docker-swarm/stack-ns
swarm service: Capture stack namespace and strip it from name
2017-04-17 18:13:53 -07:00
Mike Lang
72bcdba1c3 swarm service: Capture stack namespace and strip it from name 2017-04-17 15:13:50 -07:00
Matthias Radestock
c6e6854be9 publish master to dockerhub (again)
Fixes #2448
2017-04-17 19:06:21 +01:00
Mike Lang
e8ecfe1c76 Merge pull request #2447 from weaveworks/mike/scope-script/hotfix-image-name
scope script: Allow 'user' part of image name to be given by DOCKERHUB_USER env var
2017-04-16 20:00:23 -07:00
Mike Lang
b51385d5f1 scope script: Allow 'user' part of image name to be given by DOCKERHUB_USER env var
This allows alternate scope images to be used, and mirrors the option available for weave net.
2017-04-16 19:46:03 -07:00
Mike Lang
c07c6156c1 Merge pull request #2444 from weaveworks/mike/docker-swarm/services-topology
Add very basic Docker Swarm service topology
2017-04-14 17:55:16 -07:00
Matthias Radestock
c924e817b0 Merge pull request #2443 from weaveworks/1190-app-http-address
don't lie about reachable address

Fixes #1190.
2017-04-15 01:32:06 +01:00
Matthias Radestock
5c452d0b59 Merge pull request #2445 from weaveworks/1550-disable-weave-dns
allow disabling of weaveDNS advertising/lookup
2017-04-15 01:29:53 +01:00
Mike Lang
2b208580ab Add new topology view for Docker Swarm services 2017-04-14 17:18:06 -07:00
Matthias Radestock
413dbc7f0c allow disabling of weaveDNS advertising/lookup
...while keeping other weave integrations, by setting
--weave.hostname=

Addresses a suggestion in #1550.
2017-04-15 00:02:07 +01:00
Mike Lang
327b909956 probe/docker: Populate SwarmService topology based on docker labels
This isn't the best way to do it, but it will work well enough for an initial implementation
2017-04-14 12:51:28 -07:00
Mike Lang
6bf34ab95d Add SwarmService topology containing data on Docker Swarm services 2017-04-14 12:51:28 -07:00
Mike Lang
460352d2d7 Merge pull request #2436 from weaveworks/mike/easier-added-topologies
Reduce the number of places topologies are explicitly listed
2017-04-14 12:49:12 -07:00
Matthias Radestock
bb36067e41 don't lie about reachable address
when app.http.address is specified. Instead just tell the user that
scope is reachable where they said.

Also, complain when the address is specified on D4M since there are
a bunch of hard-coded port 4040 in place for that.

Fixes #1190.
2017-04-14 02:09:03 +01:00
Matthias Radestock
76253c3cd0 Merge pull request #2442 from weaveworks/2018-close-s3-response
close s3 response body to prevent leaks

Fixes #2018.
2017-04-14 01:12:02 +01:00
Matthias Radestock
46f288bb6d close s3 response body to prevent leaks
Fixes #2018
2017-04-14 00:27:41 +01:00
Alban Crequy
a8af81fe20 gzip: change compression level to the default
We want the middle ground between a small compression size, a fast
compression time and a fast decompression time.

Tests suggest that the default compression level is better than the
maximum compression level: although the reports are 4% bigger and
decompress slower, they compress 33% faster.

See discussion on https://github.com/weaveworks/scope/issues/1457#issuecomment-293288682
2017-04-12 17:41:43 +02:00