Commit Graph
4746 Commits
Author SHA1 Message Date
Filip Barl 6f72ef6969 Merge pull request #3097 from weaveworks/1999-fix-default-topology-options-filtering
Pick up default topology options on initial load
2018-02-27 21:08:07 +01:00
Roberto Bruggemann d6c2e96e34 Dispatch 'Monitor' flag render function (#3072)
Adds update of monitor availability when it appears/disappears.
The constructor is only called once at the beginning.
2018-02-26 22:50:58 +00:00
Filip Barl 179f97160d Pick up default topology options on initial load. 2018-02-26 17:08:42 +01:00
Matthias Radestock c9d9068f68 Merge pull request #2399 from weaveworks/big-roundtrip
Add a test that checks if reports with data round-trip
2018-02-26 13:44:22 +00:00
Matthias Radestock 306a744189 Merge pull request #3095 from weaveworks/blank-latestmap-insert
Blank out value on LatestMap decode insert
2018-02-26 13:43:40 +00:00
Matthias Radestock adc46e84e8 Merge pull request #3094 from weaveworks/remove-getchildren
Remove unused process tree function GetChildren()
2018-02-26 13:43:29 +00:00
Matthias Radestock a6ac66566d Merge pull request #3093 from weaveworks/simplify-docker-tagger
More efficient docker Tagger
2018-02-26 13:43:13 +00:00
Bryan Boreham 262cea2797 More efficient docker Tagger
Augment existing node rather than creating a new one then merging it,
and avoid creating a set with one entry.
2018-02-26 12:43:00 +00:00
Bryan Boreham f44f8806cd Add a test that checks if reports with data round-trip
Previously the only roundtrip test was for an empty report.
This test has fake data similar to that found in real reports.
'Metrics' does not round-trip exactly, so a DeepEqual workaround is
added for that.
2018-02-26 10:52:50 +00:00
Bryan Boreham 6593720472 Merge pull request #3080 from weaveworks/stop-polling-k8s
Remove flag -probe.kubernetes.interval and stop re-syncing Kubernetes data
2018-02-26 10:43:43 +00:00
Bryan Boreham 95359a70d0 Merge pull request #3091 from weaveworks/omit-empty-networks
Exclude null entries for networks on container nodes in probe report
2018-02-26 10:43:13 +00:00
Bryan Boreham 35d3e32744 Merge pull request #3090 from weaveworks/more-service-info
Add Kubernetes service type and ports
2018-02-26 10:42:57 +00:00
Bryan Boreham f17640646e Blank out value on LatestMap decode insert
Fixing a rare case that came up in a test. In order for this to cause
a problem, the data being decoded has to have entries out of order,
and have a value that is nil or omitted.
2018-02-26 10:34:53 +00:00
Filip Barl cb54e0e5f5 Merge pull request #3088 from weaveworks/1861-explicit-tour-step-anchor-class-names
Add explicit tour-step-anchor classNames to Explore tour elements
2018-02-26 10:17:13 +01:00
Bryan Boreham c06429b92a Remove unused process tree function GetChildren() 2018-02-26 08:54:31 +00:00
Bryan Boreham 64570f1311 Add Kubernetes service type and ports 2018-02-24 14:58:13 +00:00
Bryan Boreham 3941424794 Don't add null entries to container nodes for networks
or the "none" network, which is a special case meaning none.
2018-02-23 18:09:18 +00:00
Filip Barl 97bd290f2c Add explicit tour-step-anchor classNames to Explore tour elements. 2018-02-23 16:27:45 +01:00
Ilya Dmitrichenko 44076048ca Merge pull request #3084 from weaveworks/fix-2200
Add (cloud.)weave.works to the list of known services
2018-02-23 08:01:58 +00:00
Ilya Dmitrichenko e024ab2d1f Add (cloud.)weave.works to the list of known services 2018-02-22 17:19:55 +00:00
Bryan Boreham 1de6d9755a Remove -probe.kubernetes.interval flag entirely 2018-02-22 15:05:20 +00:00
Roland Schilter 6ddc57d047 Only modify document title if running standalone (#3071) 2018-02-20 18:16:04 +00:00
Bryan Boreham 43eda261ee Disable polling of Kubernetes by default
We set up a "watch" on everything we need so there is no reason to
poll repeatedly.
2018-02-20 17:39:10 +00:00
Bryan Boreham 6cc2026791 Merge pull request #3061 from weaveworks/dns-on-report
Move DNS name mapping from endpoint to report
2018-02-20 16:15:47 +00:00
Bryan Boreham b5cdcb9a42 Move DNS name mapping from endpoint to report 2018-02-20 16:14:21 +00:00
Bryan Boreham 6674ff61e5 Fix incorrect comment 2018-02-20 16:14:20 +00:00
Filip Barl b756042a96 Merge pull request #3068 from weaveworks/1861-prepare-dom-for-tours
Prepare DOM for Guided Tours
2018-02-20 16:37:23 +01:00
Bryan Boreham ba32a400f7 Merge pull request #3077 from weaveworks/nodename-env
Read Kubernetes node name from environment
2018-02-19 18:46:10 +00:00
Bryan Boreham 04002f3287 Fix doc string for -probe.kubernetes 2018-02-19 17:41:32 +00:00
Bryan Boreham dc1b768e73 Allow Kubernetes node-name to be set from env var
If we have the node-name then we can save work requesting the list of
local pods from kubelet.  And the best way to get the node name is via
the "downwards api", i.e. put this in the Daemonset Yaml:

        - name: KUBERNETES_NODENAME
          valueFrom:
            fieldRef:
              apiVersion: v1
              fieldPath: spec.nodeName
2018-02-19 17:31:04 +00:00
Filip Barl a096c07cce Fix nodes grid row clickability in the tours. 2018-02-19 15:21:17 +01:00
Bryan Boreham b742846835 Optimise processTopology() (#3074)
* Add a benchmark for processprocessTopology()

* Shortcut merging with an empty set

* Use more efficient apis to create process node
2018-02-19 10:13:58 +00:00
Bryan Boreham f72ced3380 Add topology.ReplaceNode() for efficiency (#3073)
* Add topology.ReplaceNode() for efficiency

In some places AddNode() was called after adding to an existing node,
in which case the Merge() is just a waste of time.
2018-02-19 10:13:31 +00:00
Filip Barl df8906d6c6 Extracted ViewModeButton into a separate component. 2018-02-19 10:55:29 +01:00
Filip Barl 3a00acbdc6 Use babel-plugin-transform-class-properties. 2018-02-19 10:55:29 +01:00
Filip Barl 1a6e49fd3d Added classNames to all the anchor DOM elements. 2018-02-19 10:55:29 +01:00
Matthias Radestock 474298c39c Merge pull request #3075 from weaveworks/no-return-topology-add
refactor: don't return receiver in Topology.AddNode()
2018-02-19 09:16:20 +00:00
Matthias Radestock 5b30b668ae refactor: don't return receiver in Topology.AddNode()
This had little use and was obscuring the mutating nature of
AddNode().
2018-02-19 05:10:04 +00:00
Bryan Boreham c879cc65d3 Merge pull request #3062 from weaveworks/omitempty-idlist
Set 'omitempty' on Node Adjacency
2018-02-18 13:29:48 +00:00
Roberto Bruggemann 8bb79f0efc Merge pull request #3070 from weaveworks/monitor-flag
Disable detail panel link
2018-02-16 11:06:58 +00:00
Roberto Bruggemann 72255468c1 Disable detail panel link
The link is disabled if the `monitor` flag is not true.
If Weave Cloud runs without Monitor, the link is dead. The flag allows to pass Weave Cloud's Monitor state down to Scope.
2018-02-15 17:22:18 +00:00
Brice Fernandes e106568dda Create README.md 2018-02-15 10:36:49 +00:00
Filip Barl 7f7d2d4964 Merge pull request #3066 from weaveworks/3015-dynamic-table-height
Relative positioning for Table view tables
2018-02-13 13:29:22 +01:00
Filip Barl 89c3e330f2 Use relative positioning of Table view tables. 2018-02-13 13:25:48 +01:00
Filip Barl 2101a28c36 Merge pull request #3065 from weaveworks/always-show-time-travel
Show Time Travel at all times in Weave Cloud
2018-02-13 11:54:54 +01:00
Filip Barl dcb193d654 Addressed @foot's comments. 2018-02-13 11:51:37 +01:00
Filip Barl 165f3be2b4 Always show time travel. 2018-02-12 13:38:36 +01:00
Roberto Bruggemann 14f77fc0a8 Merge pull request #3060 from weaveworks/service-cpu-mem-link-to-monitor
Replace service cpu/mem link to 'Monitor'
2018-02-09 16:47:18 +00:00
Roberto Bruggemann 95a490da3a Service metrics: fix naming assumption
The link returned by service metrics is now built by looking up the deployment name in `report.Report` instead of assuming the service and the deployment have the same name.
2018-02-08 14:13:50 +00:00
Bryan Boreham cb6edfeec1 Set 'omitempty' on Node Adjacency
Looks like an omission
2018-02-07 13:39:54 +00:00