Peter Bourgon 8602132ab6 Move concurrency from resolve to HTTP GET
- Process DNS resolution serially
- Process up to 10 HTTP GET (for app ID) concurrently

More than 10 concurrent GET requests will block on the semaphore. This
will cause the staticResolver.resolve method to block, which is probably
fine: it will just delay the next resolve loop, currently at 1m
intervals.

To make this a little bit more robust, I've also added a fastClient for
app ID resolution, with a timeout (total, including connect, request,
and response) of 5s.
2015-09-24 16:56:37 +02:00
2015-09-24 16:11:54 +02:00
2015-09-10 16:58:49 +02:00
2015-08-19 10:22:31 +01:00
2015-09-21 11:44:26 +02:00
2015-09-24 16:11:54 +02:00
2015-09-23 09:53:40 +00:00
2015-09-14 04:00:27 +00:00
2015-09-16 12:24:17 +00:00
2015-09-14 04:16:52 +00:00
2015-05-19 10:02:02 +00:00
2015-09-15 08:57:42 +00:00
2015-05-19 10:02:55 +00:00
2015-09-16 17:52:18 +02:00

Scope

Circle CI Coverage Status Sourcegraph

Weave Scope Screenshot

Overview

Weave Scope automatically generates a map of your containers, enabling you to intuitively understand, monitor, and control your applications.

Please note that the code, and especially the building and running story, is in a prerelease state. Please take a look, but don't be surprised if you hit bugs or missing pieces.

Getting started

sudo wget -O /usr/local/bin/scope \
  https://github.com/weaveworks/scope/releases/download/latest_release/scope
sudo chmod a+x /usr/local/bin/scope
sudo scope launch

This script will download and run a recent Scope image from the Docker Hub. Now, open your web browser to http://localhost:4040. (If you're using boot2docker, replace localhost with the output of boot2docker ip.)

Build

The build is in five stages. make deps installs some tools we use later in the build. make frontend builds a UI build image with all NPM dependencies. make static compiles the UI into static.go which is part of the repository for convenience. make backend builds the backend Go app which then includes the static files. The final make pushes the app into a Docker image called weaveworks/scope.

make deps
make frontend
make static
make backend
make

Run

./scope launch
Description
Monitoring, visualisation & management for Docker & Kubernetes
Readme Pixar 103 MiB
Languages
Go 60.9%
JavaScript 28.3%
Shell 6.7%
Python 1.6%
HCL 1%
Other 1.5%