Weave Scope – Monitoring, visualisation & management for Docker

29 / Sep / 2016 by Shivam Agrawal 0 comments

Introduction of  Weave Scope

Weave Scope is a monitoring tool and visualization for Kubernetes and Docker . It provides a deep level view of your app as well as of your full infrastructure, which allows you to find and diagnose any error in your distributed containerized app, in real-time. Weave Scope is use in standalone mode or in service mode. In standalone mode we deploy locally on our hosts. For now we work on standalone mode.

Installation Process

sudo curl -L git.io/scope -o /usr/local/bin/scope
sudo chmod a+x /usr/local/bin/scope
scope launch

Features that weave scope provides

  • Real time Container Monitoring 

1.Weave Scope provides a single UI to control the container life cycle across your cluster hosts. We can Start, pause, stop and restart containers from the details panel, and toggle filters for various  containers in the containers view. Scope can also attach and exec. Attach attached with the container and allows you to interact with the container. Exec runs a shell in the container so that you can do any operation in real-time. we can choose the to display the containers in the table or in the graph form. Then click on the container which you want to access:
Weave Scope

2. It open a window from where you can attach with the container , restart, pause, stop the container and execute the commands:
Weave Scope   pnpg1

3. clicking on the Exec shell button and it open the terminal for the container to execute the commands:
Weave Scope   pnpg2

  • Contextual details and Deep Linking

Weave Scope also provides the contextual metrics, metadata and tags for our containers. It can navigate among processes inside our container to hosts our containers run on, arranged in expandable, sortable tables. It can also give options to find the container with most CPU or memory utilization:


  •  Automatic Topologies and Intelligent Grouping

Weave scope generates a various containers, hosts and processes, showing that how they link with each other for the better understanding of your Docker topology to control your application. It uses various established APIs (like  /proc,the Docker API, conntrack etc.) to gather information about the hosts on which scope is running. This information gathering done without any changes into your application or needing a custom kernel module. Weave Scope probes collected the information which is used to build the topology of the containers and applications running on the hosts:


  •   Flexible Filtering

A Node is filtered by its properties, such as in the Container view, they can filter by Application Containers vs System Containers or by Running vs Stopped Containers. Scope can also display various metrics such as CPU and Memory usage in the nodes, which allowing you to easily find the container using the most memory or CPU.

  •   Generate the Custom Metrices Using the Plugin API

Weave Scope  includes a Plugin API, so that custom metrics may be generated and integrated with the Scope UI. With the help of Scope probe plugin, we can insert custom metrics into Scope and display them together in the user interface together with the Scope’s standard set of metrics.

Hope this blog will help you to manage and monitor your docker containers in a better way.


Leave a comment -