MCPcopy Index your code
hub / github.com/keploy/keploy / probeHTTPOn

Function probeHTTPOn

pkg/agent/proxy/integrations/http/encode.go:33–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31)
32
33func probeHTTPOn() bool {
34 probeHTTPOnce.Do(func() {
35 if os.Getenv("KEPLOY_PROBE_FANOUT") == "1" {
36 probeHTTPEnabled.Store(true)
37 }
38 })
39 return probeHTTPEnabled.Load()
40}
41
42// probeHTTP emits a [PROBE/http] log tagged with the connID pulled from
43// the parser context and a phase name. Cheap to call when the probe is

Callers 1

probeHTTPFunction · 0.85

Calls 2

LoadMethod · 0.65
StoreMethod · 0.45

Tested by

no test coverage detected