Commit Graph

2442 Commits

Author SHA1 Message Date
Matthias Radestock
c4fa72110c don't Copy() self on Merge()
Merge() is always returning a copy, so there is no need to Copy()
struct fields first before calling Merge() on them.

This reduces GC pressure (#1010) and helps overall app performance
(#1457).
2016-07-28 22:21:06 +01:00
Matthias Radestock
1ffdafdf8c cosmetic: remove trailing whitespace 2016-07-27 08:27:18 +01:00
Paul Bellamy
683727eaa2 Merge pull request #1723 from weaveworks/name-routes
Name our routes, so /metrics gives more sensible aggregations
2016-07-26 13:45:24 +01:00
Alfonso Acosta
2132528823 Merge pull request #1720 from weaveworks/reduce-gc
Improve performance of immutable maps
2016-07-26 13:28:03 +01:00
Paul Bellamy
0a77d60261 Merge pull request #1722 from weaveworks/summary-execution
Delete unused instrumentation code
2016-07-26 12:55:21 +01:00
Paul Bellamy
274158493d Name our routes, so /metrics gives more sensible aggregations 2016-07-26 12:49:04 +01:00
Jonathan Lange
cd716d3510 Delete unused instrumentation code 2016-07-26 12:27:50 +01:00
Alfonso Acosta
b5c488faec Fix tests 2016-07-26 10:55:22 +00:00
Alfonso Acosta
a80429ded2 LatestMap codec performance improvements and cleanups
* Allocate all map entries of the intermadiate representation at once
* Use UnsafeMutableMap to improve performance of LatestMap construction
* Remove gob encoder/decoder
2016-07-26 10:35:56 +00:00
Alfonso Acosta
ecc8a3138f Replace github.com/mndrix/ps by github.com/weaveworks/ps 2016-07-26 10:35:55 +00:00
Tom Wilkie
78199aa25f Custom encoder for latest maps (#1709)
* Customer encoder for latest maps

- Cuts out intermediate type
- Should be backwards compatible with existing reports.

* Make it build cleanly

* Review feedback
2016-07-21 16:19:57 +01:00
Tom Wilkie
e24416236f Circle will only run a single deploy step it seems 2016-07-21 13:47:15 +01:00
Matthias Radestock
d0e5a14a83 Merge pull request #1708 from weaveworks/1691-show-stopped-container-name
show names of stopped containers

Fixes #1691
2016-07-21 11:24:08 +01:00
Matthias Radestock
b3874e6e6f show names of stopped containers
This got broken in b78c503

Fixes #1691
2016-07-21 11:01:53 +01:00
Alban Crequy
652913084a circle.yml: deploy master with non-upstream hub accounts (#1655)
* circle.yml: deploy master with non-upstream hub accounts

Since b4abe582f4, images are tagged on
Docker Hub. But this was not working for non-upstream Docker Hub
accounts. This patch should fix that.

Symptoms: https://circleci.com/gh/kinvolk/scope/23

> The push refers to a repository [docker.io/kinvolk/scope] (len: 1)
> error getting tags for kinvolk/scope: Tag does not exist for
> master-b89e9ec

Also, ensure that the Docker tag name does not include any '/'.

Symptoms: https://circleci.com/gh/kinvolk/scope/24

> docker tag weaveworks/scope weaveworks/scope:alban/hub1-ef739d9
> repository name component must match "[a-z0-9]+(?:[._-][a-z0-9]+)*"

* extras/in_parallel.sh: ensure unique schedule name

Use CircleCI environment variables as documented on:
https://circleci.com/docs/environment-variables/

Symptoms:
> $ cd $SRCDIR/extras; ./build_on_circle.sh
> Doing graphviz/graphviz
> make: *** No rule to make target `graphviz/graphviz'.  Stop.

See: https://github.com/weaveworks/scope/pull/1655#issuecomment-232696357

* circle.yml: separate wcloud deployment

Do not run wcloud for non-weaveworks builds, as suggested by
https://github.com/weaveworks/scope/pull/1655#discussion_r71179373
2016-07-21 10:26:23 +01:00
Simon
ca43cb158c Merge pull request #1647 from weaveworks/1403-terminal-us-intl-kb-support
Support single/double quote key on us-intl keyboards in terminal
2016-07-20 13:34:30 +02:00
Simon Howe
b8ed8aebf8 Support all us-intl dead keys 2016-07-20 13:17:11 +02:00
Matthias Radestock
d19c0bfbfc Merge pull request #1693 from weaveworks/1688-reduce-horizontal-gaps
reduce horizontal gap between nodes in topology views

Fixes #1688
2016-07-20 10:21:17 +01:00
Matthias Radestock
7e6cca76e8 Merge pull request #1687 from weaveworks/1683-ignore-stopped-stats
eliminate stats log noise from stopped containers

Fixes #1683.
2016-07-18 14:39:12 +01:00
Matthias Radestock
4a9e09b907 Merge pull request #1694 from weaveworks/1689-hide-uncontained-by-default
hide uncontained/unmanaged by default

Fixes #1689.
2016-07-18 09:57:31 +01:00
Matthias Radestock
3202cc7e58 hide uncontained/unmanaged by default
They are of no interest to most users and affect the initial user
experience.

Fixes #1689.
2016-07-17 19:00:18 +01:00
Matthias Radestock
d6d5fec960 reduce horizontal gap between nodes in topology views
Fixes #1688
2016-07-17 18:50:12 +01:00
Matthias Radestock
34cb6d5a84 reduce container stats log noise
Don't complain about net.errClosing, which we typically get instead of
io.EOF when the container stops.
2016-07-16 20:33:15 +01:00
Matthias Radestock
30a5a9e64b reduce container stats log noise
reduce log level
2016-07-16 20:32:36 +01:00
Matthias Radestock
b38913e5c9 tiny improvement: log container id in stats collection loop 2016-07-16 20:12:19 +01:00
Jonathan Lange
0b2d1beec0 Merge pull request #1685 from weaveworks/new-build-tools
Update version of build tools
2016-07-15 14:04:31 +01:00
Jonathan Lange
34beefa377 Merge pull request #1684 from weaveworks/decompress-memcache-1671
Add options for storing memcached reports with different compression levels
2016-07-15 14:03:38 +01:00
Jonathan Lange
a3648f0c89 Inline StoreBytes 2016-07-15 12:58:27 +01:00
Jonathan Lange
a7d421eeb2 Merge commit '3881934fdc7e6ea644288432ce910e4ee73b2fa8' into new-build-tools
Update to latest build-tools
2016-07-15 11:36:18 +01:00
Jonathan Lange
3881934fdc Squashed 'tools/' changes from 0620e58..e9e7e6b
e9e7e6b Merge pull request #26 from weaveworks/this-time-for-sure
df494d6 Remove dependencies
c045d16 Properly exclude vendor from lint
2cfcf08 Add blacklist to wcloud client
ca6ebfb Merge pull request #25 from weaveworks/fix-brokenness
bfb1747 Test directories need ./ prefixes, obviously.
5b9b314 Merge pull request #24 from weaveworks/find-files
8786427 Remove spurious debugging code from test
8b7ec6e Speed up test by using git ls-files
cf53dc1 Exclude vendor from shell linting
b2ab380 Fix field name
c86fd3d Add notification config for wcloud
f643920 Merge pull request #23 from weaveworks/only-lint-git-files
47a0152 Only lint git files
50d47f9 Merge pull request #22 from weaveworks/shell-lint

git-subtree-dir: tools
git-subtree-split: e9e7e6b0f0
2016-07-15 11:36:18 +01:00
Jonathan Lange
bbd75ddd24 Use memcache compression level from config 2016-07-15 11:24:37 +01:00
Jonathan Lange
1fd8a5fb88 Use StoreReport in main AWS routine 2016-07-15 11:24:37 +01:00
Jonathan Lange
46dfeb627d Call it reportKey 2016-07-15 11:24:37 +01:00
Jonathan Lange
0058229687 Extract functions for calculating keys
Not so much for re-use as to help jml understand what's going on
2016-07-15 11:24:36 +01:00
Jonathan Lange
270a55060f Add StoreReport methods to stores
Not sure if we'll use them.
2016-07-15 11:24:36 +01:00
Jonathan Lange
60e14c1dc2 Plumb through an option for compression 2016-07-15 11:24:36 +01:00
Jonathan Lange
2bfd6d7eb7 Parametrize compression level 2016-07-15 11:24:36 +01:00
Jonathan Lange
e4c75e6223 Test for marshalling 2016-07-14 18:06:10 +01:00
Alfonso Acosta
db9ce13799 Merge pull request #1666 from weaveworks/release-0.16
Release 0.16.1
2016-07-14 17:08:27 +01:00
Alfonso Acosta
a7872ad4ac Fix heading v0.16.1 2016-07-14 15:29:51 +00:00
Jonathan Lange
cdb651f20a Merge pull request #1681 from weaveworks/block-profiling-1672
Add flag for block profiling
2016-07-14 15:54:03 +01:00
Jonathan Lange
0edd2e7bf9 Oops 2016-07-14 15:26:34 +01:00
Jonathan Lange
7894442ee7 Update site/building.md with profiling docs 2016-07-14 15:17:56 +01:00
Alfonso Acosta
8fc92d83a1 Review feedback 2016-07-14 14:00:49 +00:00
Ilya Dmitrichenko
4af56cdb3e Update CHANGELOG with fix for #1679 2016-07-14 14:49:32 +01:00
Ilya Dmitrichenko
70b3f32e9c Check if app and probe are running first (fix #1679) 2016-07-14 14:47:33 +01:00
Jonathan Lange
1ddc91f0ea Add flag for block profiling
Fixes #1672

Test by adding `--app.block.profile.rate=1`, running scope in
multi-tenant mode and browsing to http://<scope-url>/debug/pprof/
2016-07-14 14:45:50 +01:00
Alfonso Acosta
b4bccabb6b Review feedback 2016-07-14 12:39:43 +00:00
Alfonso Acosta
a4c9c0f90d Update CHANGELOG, reflecting new changes in master 2016-07-14 11:31:30 +00:00
Alfonso Acosta
9aff33af60 Review feedback 2016-07-14 11:14:45 +00:00