MCPcopy
hub / github.com/keploy/keploy / probeOn

Function probeOn

pkg/agent/proxy/proxy.go:57–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55)
56
57func probeOn() bool {
58 probeFanoutOnce.Do(func() {
59 if os.Getenv("KEPLOY_PROBE_FANOUT") == "1" {
60 probeFanoutEnabled.Store(true)
61 }
62 })
63 return probeFanoutEnabled.Load()
64}
65
66// probeProxy emits a [PROBE/proxy] log tagged with a stable conn id
67// and phase name. Cheap to call when the probe is off (single atomic

Callers 2

probeProxyFunction · 0.85
probeDialFunction · 0.85

Calls 2

LoadMethod · 0.65
StoreMethod · 0.45

Tested by

no test coverage detected