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

Method Collect

coderd/tailnet.go:163–166  ·  view source on GitHub ↗
(metrics chan<- prometheus.Metric)

Source from the content-addressed store, hash-verified

161}
162
163func (s *ServerTailnet) Collect(metrics chan<- prometheus.Metric) {
164 s.connsPerAgent.Collect(metrics)
165 s.totalConns.Collect(metrics)
166}
167
168type ServerTailnet struct {
169 ctx context.Context

Callers

nothing calls this directly

Calls 1

CollectMethod · 0.65

Tested by

no test coverage detected