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

Method ConnStats

agent/agentssh/agentssh.go:331–337  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

329}
330
331func (s *Server) ConnStats() ConnStats {
332 return ConnStats{
333 Sessions: s.connCountSSHSession.Load(),
334 VSCode: s.connCountVSCode.Load(),
335 JetBrains: s.connCountJetBrains.Load(),
336 }
337}
338
339func extractMagicSessionType(env []string) (magicType MagicSessionType, rawType string, filteredEnv []string) {
340 for _, kv := range env {

Callers 1

CollectMethod · 0.80

Calls 1

LoadMethod · 0.45

Tested by

no test coverage detected