Commit Graph

3765 Commits

Author SHA1 Message Date
abuehrle
ee3c25317e added search type variable 2017-05-02 19:36:56 -05:00
jpellizzari
ee084dffd6 Changed client to use minor Node version when used as an npm package 2017-05-02 14:53:53 -07:00
David
288258d2a3 Merge pull request #2490 from weaveworks/2489-prevent-topo-filter-error
Adds a default list to topology options if previous options are missing
2017-05-02 21:03:15 +02:00
Ilya Dmitrichenko
ff2164b482 Remove double quote from the URL 2017-05-02 19:45:06 +01:00
Alfonso Acosta
3431cabfe7 Merge pull request #2456 from kinvolk/alban/open-files-count
proc walker: optimize open file counter
2017-05-02 17:02:40 +02:00
David Kaltschmidt
941f51645b Adds a default list to topology options if previous options are missing
This can happen when a new option is introduced while using an old URL
state.

Fixes #2489
2017-05-02 15:31:54 +02:00
Alban Crequy
640b240469 proc walker: optimize open file counter
Golang's ReadDirNames is expensive and better avoided when we don't care
about the names.
2017-05-02 14:45:12 +02:00
Alban Crequy
c6a299402c vendor: update github.com/weaveworks/common 2017-05-02 14:42:11 +02:00
Matthias Radestock
b7eb53aa76 Merge pull request #2486 from weaveworks/less-now
eliminate excessive calls to mtime.Now()
2017-04-29 01:34:19 +01:00
Matthias Radestock
17b88b4110 eliminate excessive calls to mtime.Now()
This isn't going to noticeably improve performance, but enables future
optimisations, e.g. more compact representations of LatestMaps where
many/all entries share the same timestamp.
2017-04-28 23:54:24 +01:00
Matthias Radestock
911f456a18 make Node.WithTableTruncationInformation private
It is not used elsewhere and is rather specialised.
2017-04-28 23:43:35 +01:00
Ilya Dmitrichenko
6ea8e88769 Merge pull request #2480 from weaveworks/netlify
Add website preview via Netlify
2017-04-27 14:58:52 +01:00
Filip Barl
206a88df41 Calculate viewport dimensions from the scope-app div (#2473)
* Calculate viewport dimensions from the scope-app div.

* Addressed @foot's comments.
2017-04-27 15:36:22 +02:00
Ilya Dmitrichenko
05f6a9b217 Add website preview via Netlify 2017-04-27 13:52:57 +01:00
Filip Barl
65b9b48b53 Added mixpanel tracking for some basic events (#2462)
* Added mixpanel tracking for bunch of events.

* Changed hitEnter action to pinSearch.

* Moved all the event tracking out of app-actions.js

* Addressed @foot's comment.

* Added more keypress events tracking.

* Disable 'r' keyboard shortcut when Resource View is disabled
2017-04-27 14:26:07 +02:00
Ilya Dmitrichenko
1849f0f561 Merge pull request #2438 from weaveworks/consistent-spacing-in-markdown-headings
Consisten spacing in Markdown headings
2017-04-27 13:00:16 +01:00
Alfonso Acosta
5d7b05979a Merge pull request #2454 from kinvolk/ckuehl/add-plugin-mention-to-scope-README
Add plugin mention to scope readme
2017-04-27 11:39:40 +02:00
Mike Lang
8bd74a6523 Merge pull request #2477 from weaveworks/2269-fix-linting
only lint files in git ls-files, not .git/*
2017-04-26 12:55:58 -07:00
Mike Lang
e127392add Merge pull request #2025 from kinvolk/alessandro/data-structures
Report data structure documentation

Note we are merging despite what appears to be an unrelated test error to do with how the linting script works.
2017-04-26 10:21:19 -07:00
Alfonso Acosta
70cd3aaba0 only lint files in git ls-files, not .git/* 2017-04-26 16:43:06 +00:00
Alban Crequy
a3d262f79f site/plugins.md: Metadata Templates: change English phrasing 2017-04-26 16:56:28 +02:00
Filip Barl
23fb14d0be Polished the metric selection logic (#2468)
* Polished the metric selection code

* Fixed hovering advantage over pinning.
2017-04-26 16:18:42 +02:00
Alban Crequy
1bc0bca2ad site/plugins.md: English wording
From Anita Buehrle's review
2017-04-26 14:35:41 +02:00
Michael Schubert
beefec17f2 site/plugins.md: document sets and counters 2017-04-26 14:35:41 +02:00
Michael Schubert
d9b6e81ef6 site/plugins.md: clarify that node ids are different 2017-04-26 14:35:41 +02:00
Michael Schubert
3fb13e885b site/plugins.md: fix identifier typo 2017-04-26 14:35:41 +02:00
Michael Schubert
525beba83c Mention new ECSTask and ECSService 2017-04-26 14:35:41 +02:00
Alban Crequy
73a2eb0b3b site/plugins.md: more fixes thanks to Iago 2017-04-26 14:35:41 +02:00
Alban Crequy
6966a8c04e site/plugins.md: english wording 2017-04-26 14:35:41 +02:00
Alban Crequy
bcae01c580 site/plugins.md: clarify the difference between latest and metrics 2017-04-26 14:35:41 +02:00
Alban Crequy
176ffcfef4 site/plugins.md: fixes after Iago's review 2017-04-26 14:35:41 +02:00
Alban Crequy
d2fc48fa4e site/plugins: data structures: fixes 2017-04-26 14:35:41 +02:00
Alessandro Puccetti
84723244cc site/plugins: add report data structures section
This patch adds the report's data structures outline and specifications
for the topologies, the nodes, the metadata templates, the table
templates, the metric templates, the controls, the metadata, the
metrics and the time window.
2017-04-26 14:35:41 +02:00
Filip Barl
c7bf7df975 Fixed view mode switching keyboard shortcuts (#2471)
* Replaced toggleGridMode with working actions.

* Addressed @foot's comment.
2017-04-26 14:26:47 +02:00
Alfonso Acosta
7544f4bc7d Merge pull request #2449 from weaveworks/2448-dockerhub-publish
publish master to dockerhub (again)
2017-04-25 16:11:37 +02:00
Alfonso Acosta
876bb97539 Merge pull request #2452 from weaveworks/mike/docker-swarm/service-ns-selector
Add docker swarm Stack selector ala k8s namespace selector
2017-04-25 15:57:15 +02:00
Bryan Boreham
8ad2d0e42c Merge pull request #2466 from weaveworks/map-write-optimise
Msgpack perf: write psMap out directly
2017-04-25 14:55:45 +01:00
Alfonso Acosta
372d818804 Merge pull request #2453 from kinvolk/schu/proc-walker
proc_linux: don't exec `getNetNamespacePathSuffix()` on every walk
2017-04-25 15:54:26 +02:00
Bryan Boreham
6842b08eb8 Fix out-of-date error message in test 2017-04-25 12:28:14 +00:00
Bryan Boreham
f9a1ecbef0 Remove Gob from plugin spec - not used any more 2017-04-25 12:27:51 +00:00
Bryan Boreham
b49ee2ae95 Remove Gob from report package - no longer used 2017-04-25 12:26:15 +00:00
Bryan Boreham
36ff5ab71a Write psMap out directly
rather than going via intermediate data structure
2017-04-25 10:38:56 +00:00
David
64fadf3c20 Merge pull request #2457 from weaveworks/remove-double-click
Remove zoom on double-click
2017-04-24 12:52:37 +02:00
Bryan Boreham
0281d4aeef Fix typo 2017-04-23 16:58:15 +00:00
David Kaltschmidt
11d9903d8f Remove zoom on double-click
This was confusing in demos at KubeCon and DockerCon this year, as
clicking on nodes kept the UI zooming in.
Plus, when asked, users had no idea that double-click meant zoom in.

Fixes weaveworks/service-ui#453
2017-04-21 17:00:09 +02:00
Chris Kühl
eb175e661b README: Add prominent section about plugins 2017-04-19 15:30:03 +02:00
Michael Schubert
1d1f7347ce proc_linux: don't exec getNetNamespacePathSuffix() on every walk 2017-04-19 12:49:04 +02:00
Mike Lang
51999529a7 Add docker swarm Stack selector ala k8s namespace selector
We have to introduce the kinda hacky concept of a 'No Stack' stack
to reconcile it with the idea of a 'default' k8s namespace. This is important
because swarm services without a stack don't have the same docker labels as ones that do.
Curiously, they still have what appears to be a stack name 'prefix' on their names,
but I can't isolate that name anywhere easily so they'll just have to make do.

I basically copy-pasted updateFilters to make this work, todo go back and refactor
to not duplicate 90% of the code.
2017-04-18 09:08:22 -07:00
Bryan Boreham
c944225475 Merge pull request #2437 from kinvolk/alban/gzip-compression-level-default
gzip: change compression level to the default
2017-04-18 10:45:38 +01:00
Mike Lang
b58832df7e Merge pull request #2450 from weaveworks/mike/docker-swarm/stack-ns
swarm service: Capture stack namespace and strip it from name
2017-04-17 18:13:53 -07:00