MCPcopy
hub / github.com/prometheus/client_golang

github.com/prometheus/client_golang @v1.23.2 sqlite

1,508 symbols 5,753 edges 160 files 593 documented

Extension points exported contracts — how you extend this code

Metric (Interface)
For convenient use with xxhash. A Metric models a single sample value with its meta data being exported to Prometheus. I [14 imple
prometheus/metric.go
Collector (Interface)
Collector is the interface implemented by anything that can be used by Prometheus to collect metrics. A Collector has to [18 imple
prometheus/collector.go
ObserverVec (Interface)
ObserverVec is an interface implemented by `HistogramVec` and `SummaryVec`. [5 implementers]
prometheus/observer.go
Gatherer (Interface)
Gatherer is the interface for the part of a registry in charge of gathering the collected metrics into a number of Metri [5 implem
prometheus/registry.go
HTTPDoer (Interface)
HTTPDoer is an interface for the one method of http.Client that is used by Pusher [5 implementers]
prometheus/push/push.go
Client (Interface)
Client is the interface for an API client. [5 implementers]
api/client.go
Histogram (Interface)
The nativeHistogramBounds above can be generated with the code below. TODO(beorn7): It's tempting to actually use `go g [3 implem
prometheus/histogram.go
Summary (Interface)
A Summary captures individual observations from an event or sample stream and summarizes them in a manner similar to tra [3 implem
prometheus/summary.go

Core symbols highest fan-in

Error
called by 206
prometheus/push/push.go
Add
called by 126
prometheus/gauge.go
String
called by 118
prometheus/desc.go
NewDesc
called by 106
prometheus/desc.go
Write
called by 90
prometheus/metric.go
Set
called by 86
prometheus/gauge.go

Shape

Function 683
Method 573
Struct 171
TypeAlias 38
Interface 33
FuncType 10

Dependencies from manifests, versioned

github.com/beorn7/perksv1.0.1 · 1×
github.com/bwplotka/tracing-gov0.0.0-2023042106160 · 1×
github.com/cenkalti/backoff/v4v4.3.0 · 1×
github.com/cespare/xxhash/v2v2.3.0 · 1×
github.com/davecgh/go-spewv1.1.1 · 1×
github.com/efficientgo/corev1.0.0-rc.3 · 1×
github.com/efficientgo/e2ev0.14.1-0.2023042107 · 1×
github.com/efficientgo/tools/corev0.0.0-2023050515374 · 1×
github.com/felixge/httpsnoopv1.0.4 · 1×
github.com/go-logr/logrv1.4.2 · 1×
github.com/go-logr/stdrv1.2.2 · 1×
github.com/google/go-cmpv0.7.0 · 1×

For agents

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

⬇ download graph artifact