Commit Graph

3055 Commits

Author SHA1 Message Date
David Kaltschmidt
ee61ff7143 Test and debugbar tools to simulate single nodes appearing 2016-11-24 17:06:04 +01:00
Filip Barl
604661ca2a Update package.json (#2017) 2016-11-23 15:59:41 +01:00
Tom Wilkie
21ee72a384 Add OpenTracing support to TimeRequestHistogram (#2023)
* Vendor open tracing

* Extend TimeRequestHistorgram to also emit opentracing spans.

* Update some of the labels
2016-11-22 14:43:15 +00:00
Filip Barl
d15e884cb1 Table-mode: sort ips numerically (#2007)
Fix #1746 - sort IPs numerically in the table mode
2016-11-22 11:05:59 +01:00
Alfonso Acosta
7b0bf508dd Merge pull request #2019 from weaveworks/unintuitive-compose-service-name
Use intuitive standalone service name in compose
2016-11-18 17:23:24 +01:00
Alfonso Acosta
fa84f65c5d Use intuitive standalone service name in compose 2016-11-18 16:14:49 +01:00
Alfonso Acosta
b3448b19c0 Merge pull request #1895 from CarltonSemple/container-filters
Add custom label-based filters in container view
2016-11-15 23:33:24 +01:00
CarltonSemple
a5859ba218 Addressed final comments 2016-11-15 22:18:55 +00:00
CarltonSemple
9833a854b1 Added container filters as CLI arguments
gofmt load_container_filters.go

removed the environment variable for container label filters

Added the --app.container-label-filter command line argument, and load_container_filters.go now uses the results from that

Changed init() to InitializeTopologies()

Changed init() to InitializeTopologies() so that it can be called after the container filters are loaded from the command line argument. init() executes before main() in prog/main.go, so the flag parsing isn't finished before init() is called

Applied lint fixes

fixed lint issues

brought back the init function for api_topologies.go

Addressed many of the PR comments, except escaping colons

Renamed IsDesired to HasLabel in render/filters.go

Allows for the user to escape colons

added registry function for modifying the container filters

created a separate function that parses the container filter flags

simplified registry.addContainerFilters()

addressed review comments

switched API Topology Description IDs to constants

addressed review comments

joined constants

added test functions

addressed most of the review comments

Changed containerLabelFilters to an array of APItopologyOptions, placing the parsing in the Set() function. Removed parsing from HasLabel in render/filters.go

refactored code

added test that applies to the container filtering by labels

applied golint

made Registry items private and added a MakeRegistry() function

fixed usage of topologyRegistry.RendererForTopology

Added container label filters by exclusion

minor update to report_fixture

Modified container labels test to use existing report

I added labels to the existing containers in the fixed report for testing.

refactored code

refactored code

further code refactoring

addressed @ijsnellf's review comments

unexported Registry, and reduced duplicate code

addressed @ijsnellf's review comments

Addressed review comments

Addressed final review comments
2016-11-15 19:13:35 +00:00
Alfonso Acosta
3a0fb59009 Merge pull request #2010 from sdurrheimer/fix-kubernetes-port-forward-docs
Fix kubectl port-forward command to access the scope app locally
2016-11-15 15:12:36 +01:00
Alfonso Acosta
b11cfb0fc6 Merge pull request #2008 from kinvolk/alessandro/site-plugins
Update website plugins documentation
2016-11-14 16:41:26 +01:00
Alfonso Acosta
7c35e3a08e Merge pull request #1906 from kinvolk/alessandro/plugins-doc
Move plugins to the new organization
2016-11-14 16:37:46 +01:00
Alessandro Puccetti
655e6677cc docs/plugins: sync docs with changes site changes
This patch applies the same changes from the review of
https://github.com/weaveworks/scope/pull/2008
2016-11-14 15:56:17 +01:00
Jordan Pellizzari
75778117d4 Merge pull request #2011 from weaveworks/1999-source-maps
Change webpack local config to use source maps
2016-11-14 13:45:44 +00:00
Alessandro Puccetti
d26a320ebe site/plugins: remove trailing whitespaces. 2016-11-14 14:25:37 +01:00
Anita Buehrle
30bd628852 put tags in code format 2016-11-14 14:12:44 +01:00
Anita Buehrle
8ca299e4f2 Some edits to the plugin docs 2016-11-14 14:12:44 +01:00
Alessandro Puccetti
ef0cee946a site/plugins: add developing guide
This path adds a guide with code examples based on the Scope IOWait plugin
on how to develop a plugin for scope.
2016-11-14 14:12:43 +01:00
Alessandro Puccetti
0ef8711343 site/plugins: add node naming documentation
This patch adds the documentation on the node naming conventions and rules.
2016-11-14 14:12:43 +01:00
Alessandro Puccetti
d7e523e19e site/plugins: add controls documentation 2016-11-14 14:12:43 +01:00
Alessandro Puccetti
8894a32302 site/plugins: update plugins internals
This patch updates the plugins description on registration and reporting.
2016-11-14 14:12:43 +01:00
Alessandro Puccetti
3f1d71c09e site/plugins: update the plugins list
The plugins now are hosted in a new organization [Weaveworks Plugins]
(https://github.com/weaveworks-plugins).
This patch updates the list of the available plugins and their links to the new
repositories.
2016-11-14 14:12:43 +01:00
Alessandro Puccetti
953548d833 docs/plugins: add volume count plugin
A new plugin was added to the weaveworks plugins organization,
this patch exposes it into the scope documentation.
2016-11-14 10:56:38 +01:00
Alessandro Puccetti
655b532ac3 circleci: update circle.yml
Remove traffic-control plugin build and push.
2016-11-14 10:56:38 +01:00
Alessandro Puccetti
e9e3b5d5c0 docs/plugins: Refactoring
The plugins README now points to the new repositories in the weaveworks-plugins
organization (https://github.com/weaveworks-plugins).
2016-11-14 10:56:37 +01:00
Alessandro Puccetti
af901c5dac plugins: remove plugins
They now are in the weaveworks-plugins organization.
https://github.com/weaveworks-plugins

- http-request has been updated and renamed to http-statistics:
https://github.com/weaveworks-plugins/scope-http-statistics
- iowait: https://github.com/weaveworks-plugins/scope-iowait
- traffic-control: https://github.com/weaveworks-plugins/scope-traffic-control
2016-11-14 10:56:37 +01:00
jpellizzari
6c9f8ed8ab Changed webpack local config to use source maps; Fixed webpack linting errors 2016-11-13 21:43:55 +00:00
Bowen Li
f698611a1e Merge pull request #2006 from weaveworks/1943-contrast-text-only
increase black/white text contrast in contrast mode
2016-11-11 07:27:45 -08:00
Steve Durrheimer
6d46bb0b12 Fix kubectl port-forward command to access the scope app locally
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2016-11-11 16:04:38 +01:00
Mike Lang
f9df493e44 Merge pull request #1971 from weaveworks/mike/errorhandler/implement-hijack
middleware/errorhandler: Implement Hijacker so it works with ws proxy
2016-11-10 14:39:06 -08:00
Mike Lang
cafe8af6da Merge pull request #2003 from weaveworks/2002-goroutine-leak-in-control
plug goroutine leak in control
2016-11-10 11:57:32 -08:00
Jordan Pellizzari
0d58a2311e Merge pull request #1994 from weaveworks/1721-high-node-count
Add graph complexity check on page load
2016-11-10 10:03:48 -08:00
Bowen Li
a978d16e73 increase black/white text contrast in contrast mode 2016-11-10 09:53:19 -08:00
Matthias Radestock
0610936296 plug goroutine leak in control
Fixes #2002.
2016-11-10 17:45:16 +00:00
jpellizzari
ee0bb8ef40 Added graph complexity check on page load 2016-11-10 09:42:06 -08:00
Alfonso Acosta
ed26575d50 Merge pull request #2005 from weaveworks/2004-fix-time-dependant-test
Fix time-dependant test (stop testing docker client library)
2016-11-10 17:45:30 +01:00
Alfonso Acosta
e57cd8d2e7 Fix time-dependant test (stop testing docker client library) 2016-11-10 16:35:57 +00:00
Jordan Pellizzari
6fadadae78 Merge pull request #1998 from weaveworks/1997-canvas-click
Fix details panel not closing on canvas click
2016-11-09 09:26:29 -08:00
Alfonso Acosta
c6fe3b8a88 Merge pull request #1995 from weaveworks/1984-flaky-overlay-test
Give time to the overlay test backoff collectors to finish
2016-11-08 23:35:30 +01:00
jpellizzari
3b84149f38 Fixed details panel not closing on canvas click 2016-11-08 13:24:49 -08:00
Simon Howe
072bea9dab Fixes JS tests, broken by recent show-in-topo updates 2016-11-08 16:32:38 +01:00
Alfonso Acosta
74490b8fef Give time to the overlay test backoff collectors to finish
Not the most elegant/robust solution but it solves the problem without adding
extra methods to the backoff interface (only to check if they are ready from
tests).
2016-11-08 13:49:17 +00:00
Mike Lang
7155292765 middleware: Update references in comments to why Hijacker is needed 2016-11-07 11:52:19 -08:00
Alfonso Acosta
8e3e4a3af8 Merge pull request #1985 from weaveworks/release-1.0
Release 1.0.0
2016-11-07 14:45:43 +01:00
Alfonso Acosta
838434c8c4 Update CHANGELOG v1.0.0 2016-11-07 12:04:11 +00:00
Simon
942ccc8cba Merge pull request #1988 from weaveworks/1986-safari-terminal
Fix Safari terminal window height bug
2016-11-07 12:58:03 +01:00
Simon Howe
127ab41944 Correctly remove resize event listener on terminal unmount
Fixes console errors
2016-11-07 10:36:46 +01:00
Simon Howe
2625bb07a3 Fixes terminal height in safari.
Safari wasn't supporting a "badly specified"[0] layout that Chrome was
supporting.

[0] Height 100% inside of a container that didn't have a height
specified.
2016-11-07 10:22:05 +01:00
Alfonso Acosta
cd1e06b054 Release 1.0.0 2016-11-04 15:44:08 +00:00
David
0594ec7f98 Merge pull request #1926 from weaveworks/1151-improve-view-node-in-topo
Improve view-node-in-topo button usability
2016-11-04 15:19:18 +01:00