5943 Commits
Author SHA1 Message Date
Alfonso AcostaandMike Lang 9c7282231f Fix tests
Also, refactor some tests and MakeRegistry in api_topologies
2016-11-29 07:18:08 -08:00
Mike Lang 003ef6b4ea Add some basic metadata to ECS nodes 2016-11-29 07:18:08 -08:00
Mike Lang 9a10e9650d Fix the one instance of "make" that is actually apparently required 2016-11-29 07:18:08 -08:00
Mike Lang b06fee8c0f Review feedback 2016-11-29 07:18:08 -08:00
Alfonso AcostaandMike Lang 747577f414 Review feedback 2016-11-29 07:18:08 -08:00
Mike Lang d20381d30b merger: Pass reports via closure, instead of by reference in args
This is an alternate way of solving the same problem as 4007a902a264e5ff2c3be6b269ade515c9c1c145,
but in a nicer way. Compared to using pointers, this approach more obviously preserves the original
behaviour, and is arguably more readable than the original code.

Credit to @rade for this approach.
2016-11-29 07:18:08 -08:00
Mike Lang 8f2e3e7d9b merger: Fix a pointer bug that trashed the merge process
Turns out that when iterating in go, &loop_var is the same address every time
2016-11-29 07:18:08 -08:00
Alfonso AcostaandMike Lang ab1d2d2c6d Add checkpoint flag for ECS 2016-11-29 07:18:08 -08:00
Alfonso AcostaandMike Lang f8b1f71f06 Finish rendering for ECS topologies 2016-11-29 07:18:08 -08:00
Mike Lang b53de4317d Appease linter
spellcheck and required comments and required comment formatting
2016-11-29 07:18:08 -08:00
Mike Lang f5b7b5bec2 ecs reporter: Fix a bug where parents weren't actually set 2016-11-29 07:18:08 -08:00
Alfonso AcostaandMike Lang 90c8b6eeed Add ECS topologies to tagger 2016-11-29 07:18:08 -08:00
Alfonso AcostaandMike Lang 78775bbdb8 Initial rendering for ECS
(not working yet)
2016-11-29 07:18:05 -08:00
Mike Lang a2d329dee7 ecs reporter: Associate containers with ECS tasks and services as parents 2016-11-29 07:17:16 -08:00
Mike Lang 88499b4e9d Add --probe.ecs flag to enable running the ECS probe tagger 2016-11-29 07:17:16 -08:00
Mike Lang 511f6dad6a Add report tagger for populating ECS topologies 2016-11-29 07:17:16 -08:00
Mike Lang db23e64e9c Add new topologies ECSTask and ECSService 2016-11-29 07:17:16 -08:00
Mike Lang 7d93e2cfe7 merger: Pass pointers, not structs
just in one function, where two of them are passed at once.
This was causing errors because it was too large to fit the stack.
2016-11-29 07:17:16 -08:00
Mike LangandGitHub c99b7541cf Merge pull request #2035 from weaveworks/hide-weave-topology-if-empty
Hide Weave topology if empty
2016-11-29 03:23:46 -08:00
fbarl ec79c1ebb1 Switched to using webpack-dev-middleware instead of webpack-dev-server directly 2016-11-29 12:06:27 +01:00
Filip BarlandGitHub 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
Alfonso Acosta bf4747f132 Hide Weave topology if empty
Also, make name consistent with other subtopologies
2016-11-28 16:34:02 +00: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 BarlandGitHub 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
DavidandGitHub 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
DavidandGitHub 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 HoweandDavid Kaltschmidt 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
Alban CrequyandIago López Galeiras 3c40892add linter: fix punctuation and capitalization
Symptoms:
> app/control_router.go:44:38: error strings should not be capitalized or end with punctuation or a newline

This is blocking the build on:
https://circleci.com/gh/kinvolk/scope/363
2016-11-23 17:17:14 +01:00
Filip BarlandGitHub 604661ca2a Update package.json (#2017) 2016-11-23 15:59:41 +01:00
Tom WilkieandGitHub 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 BarlandGitHub 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 AcostaandGitHub 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 AcostaandGitHub fa84f65c5d Use intuitive standalone service name in compose 2016-11-18 16:14:49 +01:00
Alfonso AcostaandGitHub 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 AcostaandGitHub 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 AcostaandGitHub b11cfb0fc6 Merge pull request #2008 from kinvolk/alessandro/site-plugins
Update website plugins documentation
2016-11-14 16:41:26 +01:00
Alfonso AcostaandGitHub 7c35e3a08e Merge pull request #1906 from kinvolk/alessandro/plugins-doc
Move plugins to the new organization
2016-11-14 16:37:46 +01:00