MCPcopy Index your code
hub / github.com/weaveworks/scope

github.com/weaveworks/scope @v1.13.2

repository ↗ · DeepWiki ↗ · release v1.13.2 ↗ · + Follow
4,390 symbols 12,534 edges 422 files 1,112 documented · 25% 1 cross-repo links updated 2y agolatest_release · 2021-04-09★ 5,911445 open issues
README

Weave Scope - Troubleshooting & Monitoring for Docker & Kubernetes

Circle CI Coverage Status Go Report Card Docker Pulls GoDoc Good first issues

Weave Scope automatically generates a map of your application, enabling you to intuitively understand, monitor, and control your containerized, microservices-based application.

Understand your Docker containers in real time

Map you architecture

Choose an overview of your container infrastructure, or focus on a specific microservice. Easily identify and correct issues to ensure the stability and performance of your containerized applications.

Contextual details and deep linking

Focus on a single container

View contextual metrics, tags, and metadata for your containers. Effortlessly navigate between processes inside your container to hosts your containers run on, arranged in expandable, sortable tables. Easily find the container using the most CPU or memory for a given host or service.

Interact with and manage containers

Launch a command line.

Interact with your containers directly: pause, restart, and stop containers. Launch a command line. All without leaving the scope browser window.

Extend and customize via plugins

Add custom details or interactions for your hosts, containers, and/or processes by creating Scope plugins. Or, just choose from some that others have already written at the GitHub Weaveworks Scope Plugins organization.

Who is using Scope in production

If you would like to see your name added, let us know on Slack, or send a PR please.

Getting Started

Ensure your computer is behind a firewall that blocks port 4040 then,

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

This script downloads and runs a recent Scope image from Docker Hub. Now, open your web browser to http://localhost:4040.

For instructions on installing Scope on Kubernetes, DCOS, or ECS, see the docs.

Reach Out

We are a very friendly community and love questions, help and feedback.

If you have any questions, feedback, or problems with Scope:

Your feedback is always welcome!

We follow the CNCF Code of Conduct.

License

Scope is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.
Find more details about the licenses of vendored code in VENDORED_CODE.md.

Extension points exported contracts — how you extend this code

Renderer (Interface)
Renderer is something that can render a report to a set of Nodes. [19 implementers]
render/render.go
ReportPublisher (Interface)
ReportPublisher publishes reports, probably to a remote collector. [6 implementers]
probe/probe.go
Resolver (Interface)
Resolver is a thing that can be stopped... [26 implementers]
probe/appclient/resolver.go
StorageClass (Interface)
StorageClass represent kubernetes StorageClass interface [15 implementers]
probe/kubernetes/storageclass.go
PipeClient (Interface)
PipeClient is the type of the thing the probe uses to make pipe connections. [6 implementers]
probe/controls/pipes.go
ReportPublisher (Interface)
ReportPublisher is an interface for publishing reports immediately [6 implementers]
probe/plugins/registry.go
Merger (Interface)
Merger is the type for a thing that can merge reports. [10 implementers]
app/merger.go
Adder (Interface)
Adder is something that can accept reports. It's a convenient interface for parts of the app, and several experimental c [9 …
app/collector.go

Core symbols most depended-on inside this repo

get
called by 726
app/api_topologies.go
Add
called by 216
app/collector.go
MakeNode
called by 181
report/node.go
Lookup
called by 158
report/sets.go
Unlock
called by 139
probe/controls/controls.go
MakeStringSet
called by 138
report/string_set.go
Lock
called by 135
probe/controls/controls.go
MakeNodeWith
called by 100
report/node.go

Shape

Method 2,460
Function 1,327
Struct 366
Class 106
Interface 60
TypeAlias 44
FuncType 19
Route 8

Languages

Go83%
TypeScript16%
Python2%

Modules by API surface

cri/runtime/api.pb.go1,308 symbols
probe/kubernetes/client.go56 symbols
probe/plugins/registry_internal_test.go54 symbols
probe/docker/registry.go52 symbols
probe/docker/registry_test.go51 symbols
client/app/scripts/actions/app-actions.js49 symbols
probe/docker/container.go48 symbols
app/collector.go38 symbols
app/multitenant/aws_collector.go37 symbols
probe/kubernetes/controls.go35 symbols
probe/kubernetes/reporter_test.go34 symbols
render/detailed/summary.go33 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

camlistore.orgv0.0.0-2017123000222 · 1×
github.com/NYTimes/gziphandlerv1.0.2-0.20180227021 · 1×
github.com/armon/go-metricsv0.0.0-2019043014041 · 1×
github.com/armon/go-radixv0.0.0-2016011523472 · 1×
github.com/armon/go-socks5v0.0.0-2016090218423 · 1×
github.com/aws/aws-sdk-gov1.15.78 · 1×
github.com/bluele/gcachev0.0.0-2015082703292 · 1×
github.com/bmizerany/assertv0.0.0-2016061122193 · 1×
github.com/bradfitz/gomemcachev0.0.0-2016011719220 · 1×
github.com/c9s/goprocinfov0.0.0-2015102519115 · 1×
github.com/certifi/gocertifiv0.0.0-2015090603063 · 1×
github.com/codahale/hdrhistogramv0.0.0-2016101002545 · 1×

For agents

$ claude mcp add scope \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact