Commit Graph

2755 Commits

Author SHA1 Message Date
David
58d97bfdee Merge pull request #1818 from weaveworks/plugin-controls-ui
Add support for table based controls
2016-09-02 15:23:32 +02:00
Simon
48cdbf6d7d Merge pull request #1790 from weaveworks/1639-add-term-popout-tooltip
Adds tooltip to terminal-popout button
2016-09-02 12:53:31 +02:00
Matthias Radestock
3ebe4a5303 cosmetic: formatting 2016-09-02 08:19:32 +01:00
Simon Howe
024b526ef0 Try out a label rather than icon for open-term-in-new-browser
We call it, POP OUT. And we think you're going to love it.
2016-09-01 18:13:35 +02:00
Simon Howe
cbd8c7aba2 Adds tooltip to terminal-popout button
- Fixes react warning p > div.
- Adds esc to close popped out terminal.
2016-09-01 18:13:34 +02:00
Simon
574deeea9f Merge pull request #1823 from weaveworks/1809-make-services-initial-topo
Makes services the initial topology if available
2016-09-01 17:21:54 +02:00
David
56f99fc665 Merge pull request #1836 from weaveworks/1825-fix-plugin-renderer
Fixes plugin renderer in status line
2016-09-01 14:47:34 +02:00
Simon
0f06f0a257 Merge pull request #1822 from weaveworks/1802-sort-non-number-cols-default-ascending
Sort non-number columns ASCending by default.
2016-09-01 14:35:20 +02:00
Simon Howe
343a986951 Check for all k8s topos before defaulting to container topo
- Show something from k8s by default if its around.
2016-09-01 14:15:52 +02:00
Simon Howe
eeeb1385c5 Makes services the initial topology if available
- Otherwise reverts to containers
2016-09-01 14:15:52 +02:00
Simon Howe
a1dd4eb996 Small refactor of case insensitive table sorting. 2016-09-01 14:14:31 +02:00
Simon Howe
35ccc9acd1 Sory by label properly + sort case insensitivly! 2016-09-01 14:14:31 +02:00
Simon Howe
66191bd649 Correct sort order of label column on initial table load
- We still have a heuristic: sort first mertric column we find desc.
- If there is no metric sort by label column ascending
2016-09-01 14:14:31 +02:00
Simon Howe
66561e1d8e Sort non-number columns ASCending by default.
- And number columns DESCending by default.
- default: when you sort by that column for the first time.
2016-09-01 14:14:30 +02:00
David Kaltschmidt
8ac4d0bb62 Fixes plugin renderer in status line
The code assumed a plugin object was JS, but it's actually an immutable.
Calling `toJS` to fix.

Fixes #1825
2016-08-30 16:53:22 +02:00
Alfonso Acosta
fd82651f96 Merge pull request #1828 from weaveworks/1826-conntrack-into-kernel
Improve conntrack kernel-support detection for in-kernel compilations
2016-08-30 11:45:55 +01:00
Alfonso Acosta
7702905bbf Remove unused variable 2016-08-26 14:03:29 +00:00
Alfonso Acosta
a904620908 Improve conntrack kernel-support detection for in-kernel compilations 2016-08-26 14:03:29 +00:00
Matthias Radestock
fa784140a4 appease linter 2016-08-26 14:50:45 +01:00
Alfonso Acosta
151ce44d37 Merge commit '4fe078a730d70c7936f1c43a1eca881f934bffce' 2016-08-26 13:17:55 +00:00
Alfonso Acosta
4fe078a730 Merge pull request #39 from weaveworks/fix-wrong-subtree-use
Sync changes done directly in scope/tools
2016-08-26 14:03:13 +01:00
Alfonso Acosta
3f4934d941 Remove generate_latest_map 2016-08-26 12:29:46 +00:00
Matthias Radestock
a5b491dd46 Merge pull request #1833 from weaveworks/simplify-container-stats
use go-dockerclient's Client.Stats

Fixes #1799
2016-08-26 13:07:16 +01:00
Alfonso Acosta
48beb60bbe Sync changes done directly in scope/tools
Applies tools changes from:

commit 7f46b90e27
Author: Krzesimir Nowak <krzesimir@kinvolk.io>
Date:   Thu Jul 21 11:55:08 2016 +0200

    Make LatestMap "generic"

    This commit makes the LatestMap type a sort of a base class, that
    should not be used directly. This also adds a generator for LatestMap
    "concrete" types with a specific data type in the LatestEntry.

commit 0f1cb82084
Author: Krzesimir Nowak <krzesimir@kinvolk.io>
Date:   Thu Jul 28 14:26:08 2016 +0200

    Allow testing only a subset of directories

    This can be done by calling TESTDIRS="./report ./probe" make tests

commit 97eb8d033d
Author: Krzesimir Nowak <krzesimir@kinvolk.io>
Date:   Thu Aug 4 11:44:21 2016 +0200

    Do not spell check Makefiles and JSON files

    Spell check does not handle JSON files very well. It finds misspelled
    words in hexadecimal hashes (like misspelled "dead" in "123daed456").

    Ignore Makefiles too - there is not so much free text to spell check
    and the spell check complains about words it was told by Makefile to
2016-08-26 11:55:56 +00:00
Matthias Radestock
3c4833fe97 use go-dockerclient's Client.Stats
...instead of rolling our own.

This also fixes #1799 - a race condition that could result in multiple
stats gatherers for a container.
2016-08-26 12:43:30 +01:00
Alfonso Acosta
45dcdd584d Merge pull request #37 from weaveworks/fix-mflag-missing
Use mflag package from weaveworks fork until we find a better solution
2016-08-26 12:24:52 +01:00
Alfonso Acosta
b895344d2b Use mflag package from weaveworks fork until we find a better solution 2016-08-26 11:02:46 +00:00
Alfonso Acosta
7c2e3c87d3 Merge pull request #1832 from weaveworks/1824-wrong-pod-parents
Only consider pod parents living in the same namespace
2016-08-26 11:37:28 +01:00
Matthias Radestock
af48c7f240 Merge pull request #1830 from weaveworks/1664-correct-cpu-metrics
correct cpu metrics

Fixes #1664.
2016-08-26 11:18:56 +01:00
Alfonso Acosta
8a7812eab9 Only consider pod parents living in the same namespace 2016-08-25 16:05:01 +00:00
Matthias Radestock
e2a80cfa14 correct host cpu metric
The host CPU metric was reported as a percentage of all available CPUs,
but the limit was set to n_cpus * 100%. So on a 4-core machine the
graphs and metrics-on-canvas would never show more than 1/4th usage. Now
the limit is set to 100%.

Fixes #1664.
2016-08-25 16:14:42 +01:00
Matthias Radestock
b209d22e08 normalise container CPU metrics to 100%
The container CPU metric was reported in units of 100% = 1 CPU. So the
the ratio was correct, but since we don't show limits in most places it
is hard to interpret that figure. It also makes sorting by CPU usage
highly misleading. So now we normalise everything to 100%. That too can
be misleading, depending on what you are looking for, but it's generally
less surprising.
2016-08-25 16:13:36 +01:00
Alfonso Acosta
b56cc41527 Merge pull request #1821 from weaveworks/1698-make-shells-login
Use login shells in terminals
2016-08-25 15:04:11 +01:00
Tom Wilkie
e03000810f Merge pull request #36 from weaveworks/wcloud-service-flags
Add wcloud deploy --service flag
2016-08-25 11:00:02 +02:00
Tom Wilkie
9cbab402fb Add wcloud Makefile 2016-08-25 10:56:35 +02:00
Tom Wilkie
ef559010df Review feedback, and build wcloud in circle. 2016-08-25 10:46:53 +02:00
Tom Wilkie
3fe92f503c Add wcloud deploy --service flag 2016-08-25 09:51:58 +02:00
Paul Bellamy
3527b56b0b Merge pull request #34 from weaveworks/repo-branch
[wcloud] Add support for repo_branch option
2016-08-24 10:59:01 +01:00
Paul Bellamy
92cd0b84ad [wcloud] Add support for repo_branch option 2016-08-24 10:16:44 +01:00
Matthias Radestock
e8ebb31075 Merge pull request #1827 from weaveworks/parallel-merger
make smartMerger.Merge merge reports in parallel
2016-08-24 08:50:18 +01:00
Matthias Radestock
902ba88479 make smartMerger.Merge merge reports in parallel
for reduced latency
2016-08-24 08:02:23 +01:00
Alfonso Acosta
12a3300286 Fix integration tests 2016-08-23 16:29:00 +00:00
Alfonso Acosta
b7b64a7975 Use login shells in terminals 2016-08-22 17:42:38 +00:00
Tom Wilkie
32edfc9112 Don't reencode reports in the collector (#1819)
* Don't reencode reports in the collector

* Review feedback

* Fix comment

* Update alpine URLs so it will build

* Fix tests
2016-08-22 17:37:41 +01:00
Alfonso Acosta
4cb002e360 Merge pull request #1817 from weaveworks/release-0.17
Release 0.17.1
2016-08-19 15:04:36 +01:00
David Kaltschmidt
51bb6263bc Add support for table based controls
* if a node table has `controls` they will be rendered in a row
* controls need the to be of the same structure as node-level controls
* control errors are not shown
2016-08-18 22:28:01 +01:00
Alfonso Acosta
0f0c795416 Merge pull request #1816 from weaveworks/spelling-fixes
Fix spelling mistakes
2016-08-18 19:07:03 +01:00
Alfonso Acosta
cffcddf155 Update CHANGELOG v0.17.1 2016-08-18 18:02:40 +00:00
Alfonso Acosta
c10c58459b Fix spelling mistakes 2016-08-18 17:48:45 +00:00
Alfonso Acosta
8e5ff2a33b Merge pull request #1813 from weaveworks/1810-extend-k8s-client-flags
Extend kubernetes client flags to match kubectl
2016-08-18 18:23:55 +01:00