Lambda instrumentation is not showing RDS spans

We have a serverless architecture in place on AWS. We wanted to enable distributed tracing on it, and so instrumented our lambda functions. Also, cloudFront, RDS, etc are instrumented too. But when I check trace for distributed tracing of any lambda function, it does not show the trace for the RDS instances.

Also, we can’t find the option for service maps after lambda instrumentation.

Hi,

Can you try setting the NEW_RELIC_RECORD_SQL environment variable to “obfuscated” in your function? Some New Relic agents disable SQL tracing by default. Setting this environment variable should enable automatic tracing of your SQL queries.

Hey

I tried adding the environment variable to my lambda and also triggered a few functions after that to see if the RDS spans are visible. But I still can’t see the spans.