MCPcopy Index your code
hub / github.com/cprobe/cprobe

github.com/cprobe/cprobe @v0.12.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.12.0 ↗ · + Follow
2,717 symbols 8,231 edges 495 files 1,160 documented · 43%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Extension points exported contracts — how you extend this code

Scraper (Interface)
Scraper is minimal interface that let's you add new prometheus metrics to mysqld_exporter. [35 implementers]
plugins/mysql/collector/scraper.go
Plugin (Interface)
(no doc) [17 implementers]
plugins/interface.go
Collector (Interface)
(no doc) [18 implementers]
plugins/postgres/collector/collector.go
Metric (Interface)
Metric is the type of data that is processed by Telegraf. Input plugins, and to a lesser degree, Processor and Aggregat [1 …
types/metric/metric_interface.go
LabelUpdater (Interface)
LabelUpdater updates the labels of upstream server and server zone metrics [1 implementers]
plugins/nginx/collector/nginx_plus.go
RequestCallback (FuncType)
RequestCallback is called on the request before sending the request to the server.
lib/discoveryutils/client.go
GRPCHealthCheck (Interface)
(no doc) [1 implementers]
plugins/blackbox/prober/grpc.go
ServerOpt (FuncType)
ServerOpt configures a server.
plugins/postgres/server.go

Core symbols most depended-on inside this repo

Errorf
called by 777
lib/logger/throttler.go
Errorf
called by 288
lib/logger/logger.go
Add
called by 238
lib/promutils/labels.go
parseFloatOrZero
called by 169
plugins/zookeeper/exporter/exporter.go
MergeLabels
called by 139
plugins/nginx/collector/helper.go
Set
called by 111
lib/flagutil/bytes.go
Close
called by 103
plugins/postgres/server.go
parseAndNewMetric
called by 73
plugins/memcached/exporter/exporter.go

Shape

Function 1,233
Method 838
Struct 604
TypeAlias 22
FuncType 12
Interface 8

Languages

Go100%

Modules by API surface

plugins/nginx/collector/nginx_plus.go61 symbols
lib/promauth/config.go48 symbols
plugins/mongodb/exporter/v1_compatibility.go42 symbols
plugins/elasticsearch/collector/nodes_response.go41 symbols
types/metric/metric_interface.go32 symbols
types/metric/metric_implement.go31 symbols
lib/flagutil/array.go31 symbols
lib/encoding/int.go31 symbols
plugins/postgres/exporter.go29 symbols
lib/promutils/labels.go29 symbols
lib/promrelabel/if_expression.go27 symbols
lib/logger/logger.go27 symbols

Datastores touched

changelogCollection · 1 repos
chunksCollection · 1 repos
collectionsCollection · 1 repos
databasesCollection · 1 repos
settingsCollection · 1 repos
shardsCollection · 1 repos
versionCollection · 1 repos
adminDatabase · 1 repos

For agents

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

⬇ download graph artifact