Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/weaveworks/scope
/ functions
Functions
3,787 in github.com/weaveworks/scope
⨍
Functions
3,787
◇
Types & classes
595
↳
Endpoints
8
↓ 1 callers
Function
getRouter
(initialState)
client/app/scripts/router.js:25
↓ 1 callers
Function
getSVG
(doc, emptySvgDeclarationComputed)
client/app/scripts/utils/file-utils.js:101
↓ 1 callers
Method
getSanitizedCommand
()
probe/docker/container.go:369
↓ 1 callers
Function
getSchedule
(tests []string)
tools/runner/runner.go:149
↓ 1 callers
Function
getSortedNodes
(nodes, sortedByHeader, sortedDesc)
client/app/scripts/components/node-details/node-details-table.js:109
↓ 1 callers
Method
getTasks
get details on given tasks, updating cache with the results
probe/awsecs/client.go:245
↓ 1 callers
Function
getTests
(testNames []string)
tools/runner/runner.go:174
↓ 1 callers
Function
getTopologiesOnce
(getState, dispatch)
client/app/scripts/actions/request-actions.js:196
↓ 1 callers
Function
getTopologiesWithInitialPoll
()
client/app/scripts/actions/request-actions.js:484
↓ 1 callers
Function
getValueForSortedBy
(sortedByHeader)
client/app/scripts/components/node-details/node-details-table.js:76
↓ 1 callers
Function
getValuesForNode
(node)
client/app/scripts/components/node-details/node-details-table-row.js:11
↓ 1 callers
Method
getWalkedProcPid
(buf *bytes.Buffer)
probe/endpoint/procspy/reader_linux.go:24
↓ 1 callers
Function
groupNodeSummary
groupNodeSummary renders the summary for a group node. n.Topology is expected to be of the form: group:container:hostname
render/detailed/summary.go:419
↓ 1 callers
Function
handleAdd
(nodes)
client/app/scripts/utils/data-generator-utils.js:115
↓ 1 callers
Method
handleClick
(ev, href)
client/app/scripts/components/cloud-link.js:34
↓ 1 callers
Method
handleClick
(ev, headerId, currentSortedBy, currentSortedDesc)
client/app/scripts/components/node-details/node-details-table-headers.js:7
↓ 1 callers
Function
handleControl
handleControl routes control requests from the client to the appropriate probe. Its is blocking.
app/controls.go:30
↓ 1 callers
Method
handleDecodingError
handleDecodeError logs errors up to the maximum allowed count
probe/endpoint/dns_snooper.go:220
↓ 1 callers
Method
handleEvent
(event *docker_client.APIEvents)
probe/docker/registry.go:302
↓ 1 callers
Method
handleFdInstall
this callback exists to close a hole whereby we don't get a kprobe for tcp_accept if accept was called before the probe started. It's fairly safe to a
probe/endpoint/ebpf.go:273
↓ 1 callers
Method
handleFlow
(f conntrack.Conn)
probe/endpoint/conntrack.go:174
↓ 1 callers
Method
handlePipeUpdate
(key string, cp consulPipe)
app/multitenant/consul_pipe_router.go:151
↓ 1 callers
Function
handleProbeWS
handleProbeWS accepts websocket connections from the probe and registers them in the control router, such that HandleControl calls can find them.
app/controls.go:68
↓ 1 callers
Function
handleRequest
(conn net.Conn)
extras/dialer/src/dialer.go:43
↓ 1 callers
Method
handleResponses
(res *sqs.ReceiveMessageOutput)
app/multitenant/sqs_control_router.go:176
↓ 1 callers
Function
handleUpdated
(updatedNodes, prevNodes)
client/app/scripts/utils/data-generator-utils.js:123
↓ 1 callers
Function
hard
(k reflect.Kind)
test/reflect/deepequal.go:98
↓ 1 callers
Function
hasMoreThanOneConnection
When there is more than one connection originating from a source endpoint, we cannot be sure that its pid is associated with all of them, since the so
render/process.go:75
↓ 1 callers
Function
hasNewNodesOfExistingRank
(nodes, edges, cache)
client/app/scripts/charts/nodes-layout.js:347
↓ 1 callers
Function
hasNewSingleNode
* Determine if all new nodes are 0-degree nodes * Requires cached nodes (implies a previous layout run). * @param {Map} nodes new Map of nodes
client/app/scripts/charts/nodes-layout.js:332
↓ 1 callers
Function
hasSameEndpoints
* Determine if edge has same endpoints in new nodes as well as in the nodeCache * @param {Map} edge Edge with source and target * @param {Ma
client/app/scripts/charts/nodes-layout.js:370
↓ 1 callers
Method
hasSelfContainedDNSPayload
Determine if a TCP segment contains a full DNS message (i.e. not fragmented)
probe/endpoint/dns_snooper.go:139
↓ 1 callers
Function
hasUnseenNodes
(nodes, cache)
client/app/scripts/charts/nodes-layout.js:316
↓ 1 callers
Function
hasWeaveNet
Tries to determine if this report came from a host running Weave Net
app/multitenant/billing_emitter.go:188
↓ 1 callers
Function
hashDifferenceDeep
(A, B)
client/app/scripts/utils/hash-utils.js:7
↓ 1 callers
Function
hexDecode32bigNA
hexDecode32big decodes sequences of 32bit big endian bytes.
probe/endpoint/procspy/procnet.go:90
↓ 1 callers
Function
hitEsc
()
client/app/scripts/actions/app-actions.js:275
↓ 1 callers
Method
humanizedMetricInfo
()
client/app/scripts/components/nodes-resources/node-resources-metric-box-info.js:5
↓ 1 callers
Function
humanizedRoundedDownDuration
(duration)
client/app/scripts/utils/string-utils.js:91
↓ 1 callers
Function
incomingConnectionsSummary
(topologyID string, r report.Report, n report.Node, ns report.Nodes)
render/detailed/connections.go:169
↓ 1 callers
Function
interrupt
()
extras/example/searchapp/app.go:81
↓ 1 callers
Function
interrupt
()
extras/example/shout/shout.go:58
↓ 1 callers
Function
inverseScaleX
({ scaleX = 1 }, width)
client/app/scripts/utils/transform-utils.js:19
↓ 1 callers
Function
inverseScaleY
({ scaleY = 1 }, height)
client/app/scripts/utils/transform-utils.js:20
↓ 1 callers
Function
inverseTransform
(transform, { width = 0, height = 0, x, y })
client/app/scripts/utils/transform-utils.js:22
↓ 1 callers
Function
inverseTranslateX
({ scaleX = 1, translateX = 0 }, x)
client/app/scripts/utils/transform-utils.js:17
↓ 1 callers
Function
inverseTranslateY
({ scaleY = 1, translateY = 0 }, y)
client/app/scripts/utils/transform-utils.js:18
↓ 1 callers
Function
ipToPaddedString
(value)
client/app/scripts/utils/string-utils.js:85
↓ 1 callers
Function
isGenericTable
(table)
client/app/scripts/utils/node-details-utils.js:3
↓ 1 callers
Function
isIP
(data)
client/app/scripts/utils/node-details-utils.js:20
↓ 1 callers
Function
isPauseContainer
(n report.Node, rpt report.Report)
probe/kubernetes/reporter.go:245
↓ 1 callers
Function
isProbeContainerized
()
probe/host/controls_linux.go:66
↓ 1 callers
Function
isPropertyList
(table)
client/app/scripts/utils/node-details-utils.js:7
↓ 1 callers
Method
isResourceSupported
(groupVersion schema.GroupVersion, resource string)
probe/kubernetes/client.go:202
↓ 1 callers
Method
jobTopology
()
probe/kubernetes/reporter.go:534
↓ 1 callers
Function
kubeServiceNetwork
FIXME: Hideous hack to remove persistent-connection edges to virtual service IPs attributed to the internet. The global service-cluster-ip-range is no
render/theinternet.go:103
↓ 1 callers
Method
listServices
Returns a list of service names. Cannot fail as it will attempt to deliver partial results, though that may end up being no results.
probe/awsecs/client.go:163
↓ 1 callers
Function
listen
(url string)
extras/dialer/src/dialer.go:25
↓ 1 callers
Method
listenForEvents
()
probe/docker/registry.go:170
↓ 1 callers
Function
loadReport
()
render/benchmark_test.go:62
↓ 1 callers
Method
locate
locate the position where key should go, and make room for it if not there already
report/latest_map_generated.go:136
↓ 1 callers
Method
loop
()
probe/appclient/resolver.go:119
↓ 1 callers
Method
loop
()
probe/endpoint/conntrack.go:80
↓ 1 callers
Method
loop
()
probe/endpoint/resolver.go:63
↓ 1 callers
Method
loop
(walker process.Walker)
probe/endpoint/procspy/reader_linux.go:64
↓ 1 callers
Method
loop
loop periodically rescans for plugins
probe/plugins/registry.go:87
↓ 1 callers
Method
loop
()
probe/docker/registry.go:156
↓ 1 callers
Method
loop
()
app/multitenant/sqs_control_router.go:115
↓ 1 callers
Method
loop
()
app/multitenant/sqs_control_router.go:324
↓ 1 callers
Method
loop
()
app/multitenant/consul_pipe_router.go:416
↓ 1 callers
Method
loop
periodic loop to wake people up, so they can honour timeouts
app/multitenant/mock_consul_client_internal_test.go:41
↓ 1 callers
Function
main
(argv)
tools/dependencies/list_versions.py:328
↓ 1 callers
Function
main
(argv)
tools/dependencies/cross_versions.py:80
↓ 1 callers
Function
main
()
extras/example/client/client.py:37
↓ 1 callers
Method
makeECSInfo
(taskARNs []string, taskServiceMap map[string]string)
probe/awsecs/client.go:353
↓ 1 callers
Function
makeFormatters
(renderFn)
client/app/scripts/utils/string-utils.js:31
↓ 1 callers
Function
makeProbeHandler
Probe handler
app/api_report.go:34
↓ 1 callers
Function
makeRawReportHandler
Raw report handler
app/api_report.go:13
↓ 1 callers
Method
makeTopologyList
makeTopologyList returns a handler that yields an APITopologyList.
app/api_topologies.go:474
↓ 1 callers
Function
makeURLs
(t Target, ips []string)
probe/appclient/resolver.go:197
↓ 1 callers
Function
mapRead
This implementation does not use the intermediate form as that was a performance issue; skipping it saved almost 10% CPU. Note this means we are usin
report/map_helpers.go:98
↓ 1 callers
Function
mapToString
very similar to ps.Map.String() but with keys sorted
report/map_helpers.go:66
↓ 1 callers
Function
mapWrite
Inverse of mapRead, done for performance. Same comments about undocumented internal APIs apply.
report/map_helpers.go:127
↓ 1 callers
Function
matchPrefix
* True if a prefix matches a field label * Slugifies the label (removes all non-alphanumerical chars).
client/app/scripts/utils/search-utils.js:55
↓ 1 callers
Function
matchURL
(r *http.Request, pattern string)
app/router.go:64
↓ 1 callers
Function
maybeExportProfileData
(flags probeFlags)
prog/probe.go:87
↓ 1 callers
Function
maybeToLower
(value)
client/app/scripts/components/node-details/node-details-table.js:37
↓ 1 callers
Method
memoryUsageMetric
(stats []docker.Stats)
probe/docker/container.go:303
↓ 1 callers
Function
merge
(p1, p2 *cover.Profile)
tools/cover/cover.go:11
↓ 1 callers
Function
mergeMetrics
(node)
client/app/scripts/utils/data-generator-utils.js:103
↓ 1 callers
Function
metricLabel
(summary NodeSummary, n report.Node, r report.Report)
render/detailed/links.go:170
↓ 1 callers
Method
metrics
()
probe/docker/container.go:341
↓ 1 callers
Function
minEuclideanDistanceBetweenPoints
(points)
client/app/scripts/utils/math-utils.js:30
↓ 1 callers
Function
moveElement
(array, from, to)
client/app/scripts/utils/array-utils.js:22
↓ 1 callers
Function
mustUnmarshal
(r io.Reader, value interface{})
probe/plugins/registry_internal_test.go:651
↓ 1 callers
Function
namespaceIPAddresses
Code adapted from github.com/weaveworks/weave/net/netdev.go Return any non-local IP addresses for processID if in a non-root namespace
probe/docker/network_linux.go:19
↓ 1 callers
Method
namespaceTopology
()
probe/kubernetes/reporter.go:673
↓ 1 callers
Function
newBackgroundReader
starts a rate-limited background goroutine to read the expensive files from proc.
probe/endpoint/procspy/reader_linux.go:37
↓ 1 callers
Function
newBridgeConnection
(key, addr string, pipe xfer.Pipe)
app/multitenant/consul_pipe_router.go:391
↓ 1 callers
Function
newClient
(cluster string, cacheSize int, cacheExpiry time.Duration, clusterRegion string)
probe/awsecs/client.go:73
← previous
next →
1,301–1,400 of 3,787, ranked by callers