Commit Graph

3073 Commits

Author SHA1 Message Date
David Kaltschmidt
298f27bf3f Remove polling for webpack (was CPU heavy) and HMR for vendors 2016-12-05 11:30:06 +01:00
fbarl
ec79c1ebb1 Switched to using webpack-dev-middleware instead of webpack-dev-server directly 2016-11-29 12:06:27 +01:00
Filip Barl
70fccc07fc Merge pull request #2028 from weaveworks/update-d3-to-version-4
Update D3 to version 4.4.0
2016-11-29 11:40:24 +01:00
fbarl
34033ee46e Implemented round function as a replacement for d3.round
Removed d3 from vendors
2016-11-28 17:32:10 +01:00
fbarl
7442ff3f41 Switched to D3 version 4.4.0 2016-11-28 13:16:10 +01:00
Filip Barl
308387157e Merge pull request #2022 from weaveworks/fix-plugins-tooltip
Improve plugin errors tooltip
2016-11-25 18:05:21 +01:00
fbarl
c110e32b2a Implemented a nicer and more responsive tooltip for plugin status (resolves #1905). 2016-11-25 17:40:52 +01:00
David
a1adbbbded Merge pull request #2014 from weaveworks/1941-consolidate-webpack
Combined external and prod webpack config files
2016-11-25 11:07:04 +01:00
David
10602d2645 Merge pull request #1993 from weaveworks/dance-tuning
Add anti-dance heuristics (and feature flags)
2016-11-24 17:40:14 +01:00
David Kaltschmidt
90dbf12a7b Review feedback 2016-11-24 17:10:57 +01:00
Simon Howe
79a9598d0f Change spelling for eslint 2016-11-24 17:07:12 +01:00
David Kaltschmidt
beed39f13e Add feature flags to test 2016-11-24 17:07:12 +01:00
David Kaltschmidt
aa7b85b5f0 Use feature flags in nodes-layout 2016-11-24 17:07:12 +01:00
David Kaltschmidt
faa8ee098c Adapted feature check to allow only some features 2016-11-24 17:07:12 +01:00
David Kaltschmidt
afe177cdba Support for feature flags 2016-11-24 17:07:12 +01:00
David Kaltschmidt
d131e99039 Simplified layout steps for singles and same-ranks 2016-11-24 17:06:04 +01:00
David Kaltschmidt
90c7659526 Dont relayout for new unconnected nodes 2016-11-24 17:06:04 +01:00
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
jpellizzari
c776f35752 Combined external and prod webpack config files 2016-11-15 13:27:17 +00: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