| ▲ | MdJasimuddin 3 hours ago | |||||||||||||||||||||||||
Congrats on the launch! The ability to drop read-only probes into a live service without triggering a painful redeploy is a massive time-saver. Since my workflow relies heavily on cloud-based development, I am curious—how does your SDK handle serverless environments where the container lifecycle is extremely short? Really great concept! | ||||||||||||||||||||||||||
| ▲ | karanraina 3 hours ago | parent [-] | |||||||||||||||||||||||||
Thanks! You're correct, serverless is a bit tricky. CPU gets suspended the moment your function returns. The way it works is that you wrap your functions with a wrapper in our sdk. that wrapper is supposed to track if there's telemetry to be sent, if so.. it sends it, otherwise, return as usual this makes sure that when there's no active probe, there's no latency added. But when there's an active probe.. ~100-200ms could be added in the worst case if the probe is just before the return. again, this isnt a problem in non serverless worloads because the CPU is always on. but since probes are bounded by time and count, this will go away as soon as the time or count condition meets. beats adding new logs and redeploying in my opinion | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||