Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enable X-Ray Active tracing of a lambda function

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?

like image 422
xShirase Avatar asked Mar 14 '26 04:03

xShirase


1 Answers

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
like image 66
hjpotter92 Avatar answered Mar 16 '26 01:03

hjpotter92



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!