Commit Graph

2326 Commits

Author SHA1 Message Date
Simon Howe
4b41c8bb23 Fixes terminal wrapping by syncing docker/term.js terminal widths.
Impl. by locking the term.js width to 80 which is what the docker one
is. We need to implement resizing on both the BE and FE to avoid weird
wrapping issues.
2016-07-06 15:06:02 +02:00
Jonathan Lange
d79a412116 Merge pull request #1640 from weaveworks/bump-timeout
Bump memcache expiration
2016-07-04 16:54:59 +01:00
Jonathan Lange
45d0e5441a Change default timeout for things in the memcache 2016-07-04 16:04:04 +01:00
Jonathan Lange
31c88fd62b Instrumentation that we might like to keep 2016-07-04 16:03:50 +01:00
Jonathan Lange
848574eced Make expiration a flag 2016-07-04 14:20:14 +01:00
Jonathan Lange
7dd2c6371e Parametrize window rather than assuming default 2016-07-04 13:50:54 +01:00
Jonathan Lange
c1dab17fb3 Make expiration a Duration 2016-07-04 13:30:23 +01:00
Jonathan Lange
f7bdedc149 Config struct for memcache client 2016-07-04 13:25:45 +01:00
Jonathan Lange
96520d7a46 Fixes to memcache support (#1628)
* Fix errors discovered in dev

* Log an error rather than aborting when memcache doesn't resolve
* Initialize map correctly

* Review tweaks
2016-07-04 11:00:11 +01:00
Jonathan Lange
682edd37e4 Merge pull request #1616 from weaveworks/debug-instrument-memcache
Refactor caching layers in AWS collector
2016-06-30 18:10:32 +01:00
Jonathan Lange
9e0f0c51b9 Configuration type for AWS collector 2016-06-30 17:01:58 +01:00
Jonathan Lange
baacaa8cc5 Rename dynamoCollector to awsCollector 2016-06-30 16:44:43 +01:00
Jonathan Lange
6520f8f5f3 Pass in memcache client 2016-06-30 09:59:55 +01:00
Jonathan Lange
abec257c59 Just pass in the s3 client 2016-06-30 09:57:49 +01:00
Jonathan Lange
d984605de1 Write back to the in-process cache 2016-06-30 09:57:49 +01:00
Jonathan Lange
5ec422c7a3 Fetch all reports at once
Rather than have getReports be responsible for determining keys, instead
call getReportKeys directly and then pass keys to getReports
2016-06-30 09:57:49 +01:00
Jonathan Lange
87da22767e Move s3 logic to separate file 2016-06-30 09:57:49 +01:00
Jonathan Lange
e2bda8f670 Move last memcache bits out of dynamo_collector 2016-06-30 09:55:03 +01:00
Julius Volz
4fa40e22b2 Rework Scope metrics according to Prometheus conventions. (#1615)
* Rework Scope metrics according to Prometheus conventions.

- counters should end with _total
- elaborated and added units to help strings
- recommended for cache hit/miss metrics: track only the total and the
  hits and in separate metrics, since the most common query will be
  "hits / total"
- track all times in seconds (base units), which has become the standard
  recommendation
- other small changes

There could be more changes that would require more thinking (what
dimensions to use, summaries vs. histograms, etc.), but this is probably
enough controversial material already :)

* Use timeRequestStatus() in sqs_control_router.go.
2016-06-30 09:12:25 +01:00
Alfonso Acosta
05e6193e63 Merge pull request #1607 from weaveworks/1577-print-dns-errors
Print DNS errors
2016-06-28 01:58:54 +02:00
Alfonso Acosta
d33358ec63 Review feedback 2016-06-27 16:59:42 +00:00
Tom Wilkie
ab3d34be01 Make it easier to disable weave integrations (#1610)
* Make it easier to disable weave integrations

* Review feedback

* Make test pass
2016-06-27 16:11:57 +01:00
Tom Wilkie
1b32cc94c7 Clarify instructions for using Scope with Weave Cloud (#1611)
* Clarify instructions for using Scope with Weave Cloud

* Some more references to scope.w.w

* a few tweaks to tenses and punctuation
2016-06-27 10:15:03 +01:00
Tom Wilkie
8e1a6b3667 Add dry run flag to scope, so when launched we can check the args are valid. (#1609)
* Add dry run flag to scope, so when launched we can check the args are valid.

* Try and parse listen address and error early.

* Specify that -dry-run is for internal use only.
2016-06-27 10:13:55 +01:00
Jonathan Lange
d99a0162c6 Merge pull request #1612 from weaveworks/fix-memcache-crash
Fix nil pointer error when memcache not enabled
2016-06-26 14:37:38 +01:00
Jonathan Lange
387c543a87 Fix nil pointer error when memcache not enabled 2016-06-24 14:01:46 +01:00
Tom Wilkie
29133e54ca Add backoff to the consul client (#1608)
* Add backoff to the consul client

* Review feedback
2016-06-24 09:04:08 +01:00
Alfonso Acosta
cab948887d Print DNS errors 2016-06-23 10:44:43 +00:00
Jonathan Lange
972847ad96 Merge pull request #1602 from weaveworks/memcache-dynamo
Query memcached from dynamo db collector
2016-06-23 09:16:03 +01:00
Jonathan Lange
47fcb52354 Optional memcached between probes and S3
If given settings for memcached, services will store & fetch reports
from memcache after checking their in-process cache but before fetching
from S3.
2016-06-22 18:40:50 +01:00
Anita Buehrle
88de64fa8d readded signup page (#1604) 2016-06-22 15:48:56 +01:00
Tom Wilkie
2d1f31fd8b Fix spelling 2016-06-22 12:54:14 +01:00
Jonathan Lange
37f482cee4 Merge pull request #1600 from weaveworks/extract-report-serialzn
Helper for reading & writing from binary

Removes gob support from router.
2016-06-22 11:57:26 +01:00
Jonathan Lange
9e0b27840b Delete test for unsupported functionality 2016-06-22 11:19:19 +01:00
Jonathan Lange
40cbf119d3 Nice error on unsupported content type 2016-06-22 10:02:18 +01:00
Jonathan Lange
23faf583b3 Drop gob support 2016-06-21 11:56:56 +01:00
Jonathan Lange
ce5c933d3c Remove unused import 2016-06-21 11:14:14 +01:00
Jonathan Lange
8bd8f883a1 Restore debugging logic 2016-06-21 11:08:55 +01:00
Jonathan Lange
e5417342ba Review comments 2016-06-21 10:33:15 +01:00
Jonathan Lange
29054f7e54 Spell gvt location correctly. 2016-06-21 09:25:44 +01:00
Jonathan Lange
81b05a33ee Make ReadBinary more general and re-use in router 2016-06-20 18:02:23 +01:00
Anita Buehrle
0795b747be dropped mode from weave cloud 2016-06-20 10:32:36 -06:00
Jonathan Lange
a0bdad6fa4 Updates to vendoring document (#1595) 2016-06-20 18:12:37 +02:00
Anita Buehrle
34b7506763 changed screen captures updated weave cloud 2016-06-20 08:34:40 -06:00
Anita Buehrle
6cecf8459d Merge pull request #1603 from weaveworks/new-images
weave cloud screen captures
2016-06-20 08:24:33 -06:00
abuehrle
7f84b55d7a weave cloud screen captures 2016-06-20 08:24:01 -06:00
Jonathan Lange
13269e8110 Helper for reading & writing from binary 2016-06-17 15:24:33 +01:00
Alfonso Acosta
588172f931 Merge pull request #1587 from weaveworks/release-0.16
Release 0.16.0
2016-06-17 14:27:24 +01:00
Alfonso Acosta
19cb71452b Review feedback v0.16.0 2016-06-17 08:56:01 +00:00
Alfonso Acosta
3cd8732899 Update CHANGELOG 2016-06-17 08:54:14 +00:00