MCPcopy Index your code
hub / github.com/coder/coder / Collect

Method Collect

agent/stats.go:23–23  ·  view source on GitHub ↗
(ctx context.Context, networkStats map[netlogtype.Connection]netlogtype.Counts)

Source from the content-addressed store, hash-verified

21
22type statsCollector interface {
23 Collect(ctx context.Context, networkStats map[netlogtype.Connection]netlogtype.Counts) *proto.Stats
24}
25
26type statsDest interface {

Callers 9

CollectMethod · 0.65
collectAndSortMetricsFunction · 0.65
benchmarkRunnerFunction · 0.65
CollectMethod · 0.65
CollectMethod · 0.65
collectStatsMethod · 0.65
heartbeatTickMethod · 0.65
ListTemplatesFunction · 0.65
reportLockedMethod · 0.65

Implementers 12

ServerTailnetcoderd/tailnet.go
MetricsAggregatorcoderd/prometheusmetrics/aggregator.go
CachedGaugeVeccoderd/prometheusmetrics/collector.go
MetricsCollectorcoderd/prometheusmetrics/insights/metr
PGPubsubcoderd/database/pubsub/pubsub.go
StatsCollectorcoderd/workspaceapps/stats.go
streamStateCollectorcoderd/x/chatd/chatd.go
DERPExpvarCollectortailnet/derpmetrics/metrics.go
MetricsCollectorenterprise/coderd/license/metricscolle
MetricsCollectorenterprise/coderd/prebuilds/metricscol
agentagent/agent.go
fakeCollectoragent/stats_internal_test.go

Calls

no outgoing calls

Tested by 2

collectAndSortMetricsFunction · 0.52
benchmarkRunnerFunction · 0.52