MCPcopy
hub / github.com/grafana/dskit

github.com/grafana/dskit @main sqlite

4,159 symbols 19,080 edges 350 files 1,400 documented

Extension points exported contracts — how you extend this code

Cache (Interface)
Cache is a high level interface to interact with a cache. [7 implementers]
cache/cache.go
Interface (Interface)
Interface is the shared contract for all middlesware, and allows middlesware to wrap handlers. [8 implementers]
middleware/middleware.go
HTTPConnectionTTLMiddleware (Interface)
HTTPConnectionTTLMiddleware is an HTTP middleware that limits the maximum lifetime of TCP connections. [13 implementers]
middleware/http_connection_ttl_middleware.go
Registerer (Interface)
Registerer is a thing that can RegisterFlags [13 implementers]
flagext/register.go
SignalReceiver (Interface)
SignalReceiver represents a subsystem/server/... that can be stopped or queried about the status with a signal [13 implementers]
signals/signals.go
Sizer (Interface)
Sizer can return its size in bytes. [17 implementers]
grpcutil/metadata.go
AddressProvider (Interface)
AddressProvider performs node address resolution given a list of clusters. [5 implementers]
cache/memcached_client.go
Codec (Interface)
Codec allows KV clients to serialise and deserialise values. [5 implementers]
kv/codec/codec.go

Core symbols highest fan-in

Run
called by 603
server/server.go
Add
called by 562
cache/cache.go
String
called by 290
ring/ownership_priority_queue.go
GenerateTokens
called by 249
ring/token_generator.go
With
called by 210
tenant/metadata.go
StopAndAwaitTerminated
called by 188
services/services.go

Shape

Method 1,957
Function 1,639
Struct 411
Interface 70
TypeAlias 54
FuncType 28

Dependencies from manifests, versioned

github.com/HdrHistogram/hdrhistogram-gov1.2.0 · 1×
github.com/alecthomas/unitsv0.0.0-2024092700094 · 1×
github.com/armon/go-metricsv0.4.1 · 1×
github.com/beorn7/perksv1.0.1 · 1×
github.com/cenkalti/backoff/v5v5.0.3 · 1×
github.com/cespare/xxhash/v2v2.3.0 · 1×
github.com/coreos/go-semverv0.3.1 · 1×
github.com/coreos/go-systemd/v22v22.6.0 · 1×
github.com/cristalhq/hedgedhttpv0.9.1 · 1×
github.com/davecgh/go-spewv1.1.2-0.20180830191 · 1×
github.com/facette/natsortv0.0.0-2018121007275 · 1×
github.com/fatih/colorv1.16.0 · 1×

For agents

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

⬇ download graph artifact