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

Method collectStats

coderd/workspaceapps/proxy.go:806–810  ·  view source on GitHub ↗
(stats StatsReport)

Source from the content-addressed store, hash-verified

804}
805
806func (s *Server) collectStats(stats StatsReport) {
807 if s.StatsCollector != nil {
808 s.StatsCollector.Collect(stats)
809 }
810}
811
812// wsNetConn wraps net.Conn created by websocket.NetConn(). Cancel func
813// is called if a read or write error is encountered.

Callers 2

proxyWorkspaceAppMethod · 0.95
workspaceAgentPTYMethod · 0.95

Calls 1

CollectMethod · 0.65

Tested by

no test coverage detected