Tom Wilkie
32edfc9112
Don't reencode reports in the collector ( #1819 )
...
* Don't reencode reports in the collector
* Review feedback
* Fix comment
* Update alpine URLs so it will build
* Fix tests
2016-08-22 17:37:41 +01:00
Paul Bellamy
691ad042c7
adding a demo json report to the scope dockerfile
2016-07-11 11:50:28 +01:00
Alban Crequy
42ad3aa12b
Scope slow: improve error messages for debugging ( #1534 )
...
* alpine: dl-4.alpinelinux.org is dead, use another server
* increase buffer for docker stats
Attempt to avoid the following message:
docker container: dropping stats.
* probe: better timeout error messages
The logs contains the following messages:
Process reporter took longer than 1s
K8s reporter took longer than 1s
Docker reporter took longer than 1s
Endpoint reporter took longer than 1s
This patch prints how long it takes.
2016-05-22 18:21:55 +01:00
Tom Wilkie
531e08210c
Pin alpine version.
2016-03-23 15:41:37 +00:00
Tom Wilkie
f8c720f266
Use exec -a to differentiate app and probe process names.
2016-01-06 11:56:09 +00:00
Tom Wilkie
c749f5aa33
Merge probe and app binaries, run with ./scope probe or ./scope app.
2015-12-09 11:00:42 +00:00
Tom Wilkie
0288b3151b
Use gocertifi instead of random ca-certs.
2015-10-23 16:35:41 +00:00
Paul Bellamy
a1466cb3fc
Review Feedback
2015-10-20 14:26:27 +01:00
Tom Wilkie
206a56b1ad
Do all weave operations from within the container
...
Fixes #523
2015-09-30 11:54:38 +00:00
Peter Bourgon
36b743fe1f
probe, app: reliable shutdown
...
- Restructure main funcs for clean defer-stack-unwinds
- Fix Docker container to handle signals properly
- Introduce runsvinit for container init process
- Integration test
2015-09-29 11:45:12 +02:00
Tom Wilkie
c92ee90716
Use alpine:latest instead of gliderlabs/alpine
2015-09-01 11:15:14 +00:00
Tom Wilkie
18cda35f73
Add works.weave.role=system label to the scope container.
2015-08-27 14:17:08 +00:00
Tom Wilkie
d8ac16d3f3
Gather container IP addresses from Docker and Weave, and apply them to nodes in the container topology.
2015-08-26 10:19:08 +00:00
Peter Bourgon
ea9eaae26a
In Docker, {app,probe} -> {scope-app,scope-probe}
2015-06-29 18:59:19 +02:00
Tom Wilkie
a4ddd0094f
Duplicate endpoints in the endpoint topology to account for NAT mapping.
...
Also, move spy.go into probe/endpoint and make it adhere to the Reporter interface.
2015-06-23 10:33:06 +00:00
Tom Wilkie
07e1f0ff18
Squash docker layers to make the scope image fetch nicer.
2015-05-22 10:25:00 +00:00
Tom Wilkie
7b1c949a51
Use runit inside the scope container
2015-05-19 13:50:02 +00:00
Tom Wilkie
84d724f645
Move container build files into their own dir and introduce the scope script.
2015-05-19 10:05:40 +00:00