Commit Graph

1537 Commits

Author SHA1 Message Date
Alfonso Acosta
efeab520bc Bump github.com/ugorji/go/codec
To reduce garbage from simpleIoEncWriterWriter
(https://github.com/ugorji/go/issues/143)
2016-02-22 12:30:12 +00:00
Paul Bellamy
d2bf204181 Merge pull request #960 from weaveworks/no-ips-for-no-network
Don't show blank IPs metadata row for containers with no IP
2016-02-19 17:39:01 +00:00
Paul Bellamy
5535f5e738 Review Feedback 2016-02-19 17:04:00 +00:00
Alfonso Acosta
d744278854 Merge pull request #989 from weaveworks/812-docker-stats-perf
Improve performance of docker stats obtention
2016-02-19 14:07:14 +00:00
Alfonso Acosta
49f6568138 Place buffer infront of the docker stats decoder 2016-02-19 14:06:47 +00:00
Tom Wilkie
0402f6d8f3 Merge pull request #962 from weaveworks/no-pointer-math
Remove pointer math (comparison) from render caching, as it is unreliable
2016-02-19 12:43:43 +00:00
Paul Bellamy
38653c4f7a Merge pull request #969 from weaveworks/759-term-env-var
set TERM=xterm on execs to work around docker issue 9299
2016-02-19 11:08:18 +00:00
Paul Bellamy
e6b60e3e6d Merge pull request #966 from weaveworks/readme-dependencies
added note about docker and go dependency to the readme
2016-02-19 11:07:34 +00:00
Tom Wilkie
a38db2eff6 Update README.md 2016-02-18 16:58:09 +00:00
Alfonso Acosta
369e319afe Merge pull request #976 from weaveworks/955-weave-tagger-crash
Fix weave tagger crash
2016-02-18 16:54:07 +00:00
Alfonso Acosta
7f384032fd Review feedback 2016-02-18 16:00:41 +00:00
Alfonso Acosta
bf3ecd7f03 k8s: Add container Ids to container report 2016-02-18 14:52:10 +00:00
David
04504b9de4 Merge pull request #979 from weaveworks/874-contrast
Improve contrast of default view
2016-02-18 15:22:10 +01:00
Alfonso Acosta
4f987556cc Merge pull request #980 from weaveworks/973-remove-2opremio-codec
Remove github.com/2opremio/go-1/codec
2016-02-18 13:46:24 +00:00
Alfonso Acosta
ddf5fff5c2 Inline encoding of previously embedded fields
To avoid impacting the client's code with implementation details.
2016-02-18 12:49:31 +00:00
Alfonso Acosta
6ac176a492 Remove github.com/2opremio/go-1/codec
* Bump github.com/ugorji/go/codec, to get fixes which make
  github.com/2opremio/go-1/codec unnecessary

* Remove github.com/2opremio/go-1/codec

* Remove type embeddings to avoid the problem explained at
  https://github.com/ugorji/go/issues/141#issuecomment-185450157
2016-02-18 12:47:06 +00:00
Paul Bellamy
e49d1a721c set TERM=xterm on execs to work around docker issue 9299 2016-02-18 11:50:11 +00:00
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