Commit Graph
4879 Commits
Author SHA1 Message Date
Paul Bellamy 7bd7cb7c2e Merge pull request #974 from weaveworks/fix-weave-tagger-logging
Use Sirupsen/logrus logger in the Weave tagger
2016-02-18 11:43:17 +00:00
David Kaltschmidt 20b3c4286d Improve contrast of default view
* expand contrast between text styles
* remove low opacity from footer
2016-02-18 12:35:09 +01:00
Alfonso Acosta 1e3014c417 Fix weave tagger crash 2016-02-17 18:53:43 +00:00
Alfonso Acosta 07d34205ce Merge pull request #975 from weaveworks/fixedprobe-codec-fix
Fix JSON encoding for fixedprobe
2016-02-17 17:18:15 +00:00
Paul Bellamy 0379fc4cf3 generate an ID for each memoiser so they can share cache
Makes cache clearing easier, and then we don't need to add
`ResetCache()` to the Renderer interface.
2016-02-17 17:10:14 +00:00
Alfonso Acosta c8752c7841 Fix JSON encoding for fixedprobe 2016-02-17 17:06:57 +00:00
Paul Bellamy df856d78dc set container IPs to host IPs for containers with --net=host 2016-02-17 16:42:52 +00:00
Alfonso Acosta f96e7dffa9 Use Sirupsen/logrus logger in the Weave tagger 2016-02-17 16:25:17 +00:00
Paul Bellamy 092342c0ff don't show blank ips metadata row for containers with no IP 2016-02-17 16:21:37 +00:00
Paul Bellamy 1a27e5199e gitignore *.generated.go 2016-02-17 16:20:39 +00:00
Paul Bellamy a0a60ca079 Remove pointer math (comparison) from render caching, as it is unreliable 2016-02-17 15:41:16 +00:00
Alfonso Acosta a2710ecfd5 Merge pull request #916 from weaveworks/854-reports-codec
Improve codec performance
2016-02-17 14:07:31 +00:00
Alfonso Acosta 359919b456 Review comments 2016-02-17 13:18:17 +00:00
Paul Bellamy 611f933f4d Merge pull request #961 from weaveworks/729-open-fds-metric
Gather file descriptors as process metric
2016-02-17 10:13:42 +00:00
Alfonso Acosta bdc97d6e06 Circumvent https://github.com/ugorji/go/issues/142 2016-02-16 23:52:36 +00:00
Alfonso Acosta 9c368c4e84 Implement Selfers for all render types
To workaround https://github.com/ugorji/go/issues/141
2016-02-16 23:52:32 +00:00
Paul Bellamy 404aa7f0dd clarifying the relationship between make and make deps 2016-02-16 14:56:58 +00:00
Paul Bellamy 0a383d75f7 added note about docker dependency to the readme 2016-02-16 13:56:19 +00:00
Paul Bellamy 2fc05672db containerize build of prog/static.go 2016-02-16 13:55:51 +00:00
Paul Bellamy 44dada25f2 Review Feedback 2016-02-16 10:37:25 +00:00
Paul Bellamy a866066769 Merge pull request #959 from weaveworks/937-mounting-host-weave-fix
Overwrite /etc/weave/apps, because it might already exist
2016-02-16 10:15:16 +00:00
Alfonso Acosta 9f02e20ac3 Bump github.com/ugorji/go/codec/ for performance improvements
This caused a dependency chain reaction (sigh):

* All the k8s packages had to be fetched again. This in turn required:
  * Pining github.com/docker/docker/pkg/parsers to
    0f5c9d301b9b1cca66b3ea0f9dec3b5317d3686d to cirvumvent
    https://github.com/kubernetes/kubernetes/issues/18774
  * Update github.com/juju/ratelimit
  * Make probe/kubernetes/client.go comply with API changes.
2016-02-16 06:31:35 +00:00
Alfonso Acosta 0d917b2d8b Use github.com/ugorji/go/codec/ for wiring messages
* New encoding format:
  * Msgpack reports between probe<->app (smaller representation, faster to
    encode/decode).
  * Still use JSON between app<->UI (try to avoid making javascript deal with
    mspack).

  The app still suports publishing reports in both gob and JSON, not braking
  backwards compatibility.

* Use compile-time generated marshallers/unmarshallers for higher performance. In
  order to be able to skip code-generation for certain types, I included
  https://github.com/2opremio/go-1/tree/master/codec/codecgen instead of
  upstream until https://github.com/ugorji/go/pull/139 is merged.

* Encode/decode intermediate types using github.com/ugorji/go/codec.Selfer
  for higher performance and reducing garbage collection (no temporary buffers).
2016-02-16 06:31:31 +00:00
David 3b56244c90 Merge pull request #965 from weaveworks/945-docker-labels
Docker Labels Component
2016-02-15 18:04:02 +00:00
David Kaltschmidt bfc1e29fb6 Review feedback 2016-02-15 18:03:41 +00:00
David Kaltschmidt 7dfb126e31 Docker Labels Component
* moved to bottom of details panel in its own section
* show all labels (no expand/collapse)
* label vs value width 1:1
2016-02-15 17:09:40 +00:00
David 53f3f78d34 Merge pull request #964 from weaveworks/fix-status-icon
Fixes status icon regression
2016-02-15 16:54:23 +00:00
David Kaltschmidt 5c2a80d573 Fixes status icon regression 2016-02-15 16:40:56 +00:00
Simon 0ebefe02d6 Merge pull request #901 from weaveworks/900-fix-building-outside-container
Fixes building scope outside of a container.
2016-02-15 17:30:37 +01:00
David 04b05c1a7b Merge pull request #954 from weaveworks/contrast-mode
High contrast mode switch
2016-02-15 16:21:40 +00:00
David Kaltschmidt 531068179c High contrast mode switch
* added button to the bottom right to switch to higher contrast,
* suitable for projectors
* increased contrast between background and text colors
* thicker strokes around chart elements
* ensure yellow details panel backgrounds are darker
2016-02-15 16:20:40 +00:00
Paul Bellamy 5bb3d49297 gather file descriptors as process metric 2016-02-12 17:13:27 +00:00
Paul Bellamy d4c6280820 Review Feedback: Stick args in /var/run/weave 2016-02-12 15:51:17 +00:00
Paul Bellamy fc06569c53 Merge pull request #956 from weaveworks/951-uncontained-no-render
don't render any metrics/metadata for uncontained node
2016-02-12 15:43:40 +00:00
Paul Bellamy 217b68c764 overwrite /etc/weave/apps, because it might already exist 2016-02-12 13:54:49 +00:00
Simon Howe 9b7bd64f95 Don't use make's export directive for GO15VENDOREXPERIMENT 2016-02-11 23:04:34 +07:00
Paul Bellamy 8c4f025bf5 don't render any metrics/metadata for uncontained node 2016-02-11 16:01:04 +00:00
Paul Bellamy 05d4ce05a3 Merge pull request #946 from weaveworks/929-show-more-metadata
Only show key metadata by default. Hide rest in a drawer.
2016-02-11 11:08:39 +00:00
Paul Bellamy d5a2b5bb9d show all process and pod metadata, as there's only 4, and 3 rows respectively. 2016-02-11 09:39:25 +00:00
Paul Bellamy c79fd4de1f Merge pull request #952 from weaveworks/update-go-dockerclient
update go-dockerclient to fix bug with docker 1.10
2016-02-10 16:51:04 +00:00
Paul Bellamy 4fc8aa2f9e Merge pull request #950 from weaveworks/939-no-column-labels-when-no-metrics
Show nice column labels when no children have metrics
2016-02-10 15:47:44 +00:00
Paul Bellamy 37a8b1294c update go-dockerclient to fix bug with docker 1.10 2016-02-10 14:59:58 +00:00
Paul Bellamy 89d7ebe977 show nice column labels when no children have metrics 2016-02-10 11:42:03 +00:00
Paul Bellamy 78d7e29437 Merge pull request #941 from weaveworks/reorder-children-tables
Reorder the children tables in the details panel
2016-02-10 11:40:25 +00:00
Adam Harrison cbb0567cd4 Exclude ALL_CAPS warnings from linter 2016-02-10 10:33:16 +00:00
Simon 8ba5a055a7 Merge pull request #948 from weaveworks/947-fixes-process-by-name-layout
Fixes process-by-name layout with ./foo and /foo nodes
2016-02-10 16:16:37 +07:00
David Kaltschmidt a80d04afe5 Refactored Show-expand, added styles 2016-02-09 12:12:52 -08:00
Simon Howe 3e73226ea7 Refactor some var names 2016-02-09 23:02:18 +07:00
Simon Howe 5237a43c2a Fixes process-by-name layout with ./foo and /foo nodes
lodash (used by dagre) was in effect mixing up these ids.
2016-02-09 22:47:09 +07:00
Paul Bellamy 1b554baa91 Reorder the children tables in the details panel
The Container images was first on hosts, but is probably the least
useful, so this moves it to the bottom.

In general, it needs more thought put into the detail panel contents,
but this is a quick fix to re-prioritize the data.
2016-02-09 15:35:54 +00:00