3

I'm trying to add active tracing to 2 lambda functions, one in Node and one in Python. My service role has all the XRayWriteAccess permissions, I click the Advanced > Enable active tracing , see the info on permissions, click save, and see :

enter image description here

A web search did not return anything conclusive, any ideas?

xShirase
  • 11,975
  • 4
  • 53
  • 85
  • Try using AWS CLI to enable the tracing and see what output is generated: `aws lambda update-function-configuration --function-name --tracing-config Mode=Active` – hjpotter92 Nov 25 '17 at 18:34
  • Surprisingly, the only effect this command had was to enable the tracing without a hiccup. make it an answer if you want the points? Here's the output, sanitised : https://gist.github.com/xShirase/8c1a421b056272520388e3039cc27c21 – xShirase Nov 25 '17 at 19:41

1 Answers1

3

Your web console maybe was prefilling some form fields (I blame the browser for it). If you just want to enable X-Ray Active tracing for the function, make a call to update-function-configuration with AWS CLI:

aws lambda update-function-configuration \
    --function-name <name> \
    --tracing-config Mode=Active
hjpotter92
  • 78,589
  • 36
  • 144
  • 183