After chatting to Epsagon support, it turns out th...
# general
r
After chatting to Epsagon support, it turns out that support for tracing via the provided lambda layer is not available for NodeJS, the documentation is wrong and they're going to correct it. Just a heads up that the SST docs need updating, probs best to just remove the Epsagon section altogether as the only way to enable tracing is by wrapping each function using the epsagon.lambdaWrapper method.
t
Ah thanks for that
a
šŸ˜ž
Worst news ever.
r
I've done what I mentioned in the other thread. Exported a wrapped and unwrapped version from the handler files, wrapped is referenced by the SST stack and unwrapped in my Jest tests. Bit of extra boilerplate but not the end of the world
t
@Frank was really interested in offering function wrapping as a feature in sst
a
Yes, I want ittttt.
j
Oh thatā€™s unfortunate to hear
a
@Jay please prioritize function wrapping šŸ˜© .
šŸ™
I would send you an online šŸŗ if you do.
šŸ˜‚
j
haha. @Frank?
f
alright.. i feel iā€™ve been advocating the wrappers for monthsā€¦ letā€™s take a crack at it next month
Btw.. opened an issue for updating Epsagon docs https://github.com/serverless-stack/serverless-stack/issues/957
a
Thanks @Frank.