()
| 55 | ) |
| 56 | |
| 57 | func 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 |
no test coverage detected