It appears that using <Datadog’s CDK construct> to...
# sst
d
It appears that using Datadog’s CDK construct to wrap lambdas seems to break SST’s live lambda dev, swallowing the output… so I’m not getting nothing in the console. Perhaps adding monitoring like this should only happen when not
IS_LOCAL
?
t
Yeah I only attach if
app.local === false
d
@thdxr sorry can you give a bit more detail? What might that look like?
do I have access to the app inside the stack? and I guess I only need to add this check to the …
datadog.addLambdaFunctions(this.getAllFunctions())
t
Yeah it's
scope
probably
first argument to the stack constructor
d
boom… thanks!