Paul Bellamy
df856d78dc
set container IPs to host IPs for containers with --net=host
2016-02-17 16:42:52 +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
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
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
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
Paul Bellamy
4d153bdb10
Merge pull request #867 from weaveworks/510-detect-weave
...
Deal with starting / stopping weave
2016-02-09 14:51:00 +00:00
Tom Wilkie
d4e58b9e33
Decouple Scope lifecycle from Weave lifecycle
...
- Run the Weave integrations regardless of if weave is detected.
- Make everything backoff and not spam the logs.
- Add miekg dns to vendor.
- Have the app periodically register with weaveDNS, and the probe do lookups there.
- Decide what the local networks are at runtime, not once at startup.
- Correctly resolve app ids, fixes #825
2016-02-09 14:24:57 +00:00
Alfonso Acosta
26ccb4918b
Merge pull request #912 from weaveworks/812-rate-limit-proc
...
Rate-limit reading proc files
2016-02-09 11:19:51 +00:00
Alfonso Acosta
d4b114daea
Review comments
2016-02-09 10:39:51 +00:00
Alfonso Acosta
dfc136904c
Review feedback
2016-02-09 10:00:04 +00:00
Alfonso Acosta
37e57dd389
Merge pull request #944 from weaveworks/slow-report-generation-logging
...
log a warning when reporters or taggers take too long to generate
2016-02-08 23:33:35 +00:00
Alfonso Acosta
eb52adbbec
Raise maximum rate limit
2016-02-08 22:29:54 +00:00
Alfonso Acosta
0545d9a5c2
Fix variable scope bug
2016-02-08 21:04:26 +00:00
Alfonso Acosta
53bc710c4e
Review feedback
2016-02-08 19:28:54 +00:00
Paul Bellamy
dfb0f8036c
Only show key metadata by default. Hide rest in a drawer.
...
To make the interface cleaner, we can hide some non-key metadata by
default.
This needs styling, js testing, and probably a js refactor.
2016-02-08 17:14:16 +00:00
Paul Bellamy
bf3d92f12f
Merge pull request #930 from weaveworks/924-short-ids
...
Shorten docker container and image IDs in the details panel.
2016-02-08 16:17:09 +00:00
Tom Wilkie
107d3068d5
Shorten docker container and image IDs in the details panel.
2016-02-08 15:52:56 +00:00