Bryan Boreham
d49922181e
probe: avoid reporting the container ID as its 'hostname'
...
If hostname isn't set on a container it defaults to a random hex
number which we don't want to show in the UI.
2019-11-01 18:58:19 +00:00
Bryan Boreham
b691bf3134
refactor: simplify ContainerImageRenderer
...
Crunch a Map and Reduce into a single Renderer that has the same function.
2019-10-28 09:02:04 +00:00
Bryan Boreham
5506426fe9
comment
2019-10-27 14:28:03 +00:00
Bryan Boreham
07e9c173bf
refactor: remove unused parameterisation of containerWithImageNameRenderer
2019-10-27 14:27:44 +00:00
Bryan Boreham
0fc7917561
refactor: change process-to-container from a Map to a Renderer
2019-10-25 08:14:04 +00:00
Bryan Boreham
57911118c8
refactor: joinResults.result() takes a plain report.Nodes map
2019-10-23 18:53:08 +00:00
Bryan Boreham
ad9f8b6f1f
refactor: better naming for MapEndpoints parameters
2019-10-23 18:35:23 +00:00
Bryan Boreham
ce5d38d01e
fixup: one more Merge() where newest should be on the right
2019-10-20 10:29:14 +00:00
Bryan Boreham
4658568330
Move Counters into Latest
...
The only place Counters are used is in rendering, for the number of
nodes under a topology, so the overhead of holding a unique data
structure in every Node is unwarranted.
2019-10-20 10:16:45 +00:00
Bryan Boreham
f73a220960
backwards-compatibility: if the report timestamp is blank, add the one from the index
2019-10-20 07:55:35 +00:00
Bryan Boreham
2c1eea093e
Sort reports by timestamp before merging
2019-10-19 18:27:17 +00:00
Bryan Boreham
bcd1fe95a0
fixup: standardise rhs of Merge dominates
2019-10-19 17:38:49 +00:00
Bryan Boreham
8be6ca5e1e
fixup: remove timestamp argument from node.WithLatest()
2019-10-19 15:00:55 +00:00
Bryan Boreham
07287c6ac0
Move timestamp up from 'Latest' string map to Report level
...
We never merge multiple string values in a single node from different
sources, so it's sufficient to take the value from the latest report.
2019-10-19 15:00:55 +00:00
Bryan Boreham
e4660b081e
backwards-compatibility: unmarshall latestControls data from older probes
...
With a test.
2019-10-14 18:54:32 +00:00
Bryan Boreham
940f0da535
refactor: move Report backwards-compatibility code into its own file
...
Makes report.go a little easier to read.
2019-10-14 18:53:34 +00:00
Bryan Boreham
e1bfa01cae
performance: Update plugins to new-style controls data
2019-10-14 18:53:28 +00:00
Bryan Boreham
0b641b1848
performance: Send active controls as a single string per node
...
Instead of a whole extra data structure which is quite expensive to
marshal and unmarshal, just send the information in a string. No
clever merging strategy is required - the states are all set in one
place per node type.
2019-10-14 18:52:57 +00:00
Filip Barl
83f9d4ec8d
Merge pull request #3635 from imazik/ui-build-fix
...
[fix] [make] update ui build to avoid yarn build fail after make.
2019-10-14 14:52:43 +02:00
Shovan Maity
95b231727e
update build to run as current user
...
pass user and group id in docker run command to run it as current user
Signed-off-by: Shovan Maity <shovan.cse91@gmail.com >
2019-10-14 17:01:59 +05:30
Filip Barl
86d83c658d
Merge pull request #3708 from openebs/fix/docker-login-issue
...
Remove -e flag from docker login
2019-10-11 11:02:12 +02:00
Akash Srivastava
d97a091450
Remove -e flag from docker login
...
- Builds are failing because CI is not able to login to docker
because -e (email) flag is deprecated.
Signed-off-by: Akash Srivastava <akashsrivastava4927@gmail.com >
2019-10-11 00:51:37 +05:30
Filip Barl
cb446ab3e4
Merge pull request #3706 from bensooraj/k8s_example_fix
...
Fix for ImagePullBackOff error when running the k8s example
2019-10-10 20:46:44 +02:00
Ben Sooraj
23270fecc3
k8s example: updated elasticsearch's image tag from the default 'latest' to '7.4.0'
...
To fix the ImagePullBackOff error
Fixes #3401
2019-10-10 21:53:37 +05:30
Bryan Boreham
e9e05b2ba4
Merge pull request #3698 from weaveworks/update-backend-build
...
build: update CI to use Go 1.13
2019-10-10 12:32:07 +01:00
Bryan Boreham
43f6b96ee5
Merge pull request #3702 from weaveworks/report-api-details-error
...
fix: report http error if /api call fails
2019-10-10 12:31:38 +01:00
Filip Barl
916f121e78
Merge pull request #3705 from weaveworks/3434-fix-favicon-in-dev-mode
...
Fix favicon.ico in UI dev mode
2019-10-08 12:25:58 +02:00
Filip Barl
e7513fd10e
Merge pull request #3704 from weaveworks/3811-import-fonts-only-in-standalone
...
Import fonts only in Scope standalone
2019-10-08 12:05:05 +02:00
Filip Barl
b5d7beaa97
Fix favicon.ico in UI dev mode
2019-10-08 12:00:58 +02:00
Filip Barl
39e48356b0
Import fonts only in Scope standalone
2019-10-08 11:24:11 +02:00
Akash Srivastava
4bafaa1f29
Merge pull request #3703 from weaveworks/allow-disable-plugins
...
feature: allow user to disable plugins via command-line flag
2019-10-08 13:52:24 +05:30
Filip Barl
f09f9af4b9
Merge pull request #3701 from oleggator/json-stable-stringify
...
scripts: replace JSON.stringify with json-stable-stringify
2019-10-07 17:12:57 +02:00
Filip Barl
1575d5b2f9
Merge pull request #3700 from weaveworks/3577-get-rid-of-sass-files
...
Get rid of SASS files
2019-10-07 12:13:49 +02:00
Bryan Boreham
63d6a72727
feature: allow user to disable plugins via command-line flag
2019-10-06 17:35:26 +00:00
Bryan Boreham
b24917993e
fix: report http error if /api call fails
...
Previously it would try to run the JSON decoder on a string like "404
not found" and report that failing.
2019-10-06 17:27:49 +00:00
Oleg Utkin
ae112d05f3
script: replace JSON.stringify with json-stable-stringify
...
resolves issue #3133
2019-10-06 00:34:43 +03:00
Filip Barl
3036379c83
Don't try copying across app/styles
2019-10-04 16:12:30 +02:00
Filip Barl
b853244139
Fixed terminal styles
2019-10-04 16:09:51 +02:00
Filip Barl
2b41016596
Got rid of sass + sass-lint dependencies
2019-10-04 16:01:08 +02:00
Filip Barl
fd34eadf02
Removed all SASS files
2019-10-04 15:46:58 +02:00
Bryan Boreham
bd9f88b985
Merge pull request #3696 from weaveworks/ebpf-non-strings
...
handle IP addresses in binary rather than strings
2019-10-04 14:45:15 +01:00
Filip Barl
4cac153de5
Contained global styles and made themes scope static
2019-10-04 15:36:07 +02:00
Filip Barl
99f502a2b6
Fixed some styling inconsistencies
2019-10-04 15:16:28 +02:00
Bryan Boreham
23d8a418e1
performance: network namespace ID is a 32-bit quantity
...
This shrinks some data-structures slightly.
Citation: https://github.com/torvalds/linux/blob/6f0d349d922b/include/linux/ns_common.h#L10
2019-10-04 13:11:30 +00:00
Bryan Boreham
c6ce47f87d
diagnostics: make fourTuple.String() human-readable
2019-10-04 13:09:50 +00:00
Filip Barl
577282d68b
Replaced all sass variables with styled theme ones
2019-10-04 14:38:52 +02:00
Filip Barl
b6a983e5a8
Replaced all scopeTheme vars in global-style.js and got rid of the unused ones
2019-10-04 14:20:57 +02:00
Filip Barl
fa9754a829
Satisfying all the stylelint rules
2019-10-03 15:47:26 +02:00
Filip Barl
4224d45458
Copied over _base.scss + adjusted the comments
2019-10-03 14:33:03 +02:00
Filip Barl
1aa9080576
Created styled components Scope themes
2019-10-02 19:13:52 +02:00