| ▲ | bluelightning2k 2 hours ago | |
If I was building this for serverless I would transform with two copies of the code: instrumented and not. Then do one single if statement between them. If you are transforming anyway you're looking at virtually zero dev time cost and runtime cost when no probe is active of less than 1 ms. This approach survives any environment I know of and has almost zero runtime cost. | ||