Is there a way to capture API calls or network tra...
# help
m
Is there a way to capture API calls or network traffic going into or out of the lambda? My use case is traffic mirroring for playback in my CI environment. Essentially, I’m trying build a cheap version of writing test cases by using stuff we’ve already recorded. I’m very (very) new to SST so forgive my ignorance if I missed something obvious - I also realize this is most definitely an edge case.
f
Hey @Matt LeRay, if you are using NodeJS, you might want to inject the
http
module.
I think that’s how X-Ray captures in/out network traffic.
m
oh that’s how the monitoring agents work - I hadn’t thought of that. Thanks @Frank!