You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Flask to handle requests in my application. My application is on ECS Fargate and I have a separated Docker container in which the XRay daemon resides on it. XRay console shows the requests coming to Flask correctly. So far so good. Here is the code snippet for using Flask middleware:
My problem is when I using xray_recorder.capture decorator to my function in other python files, XRay won't show me anything. Here is the code that I used:
from aws_xray_sdk.core import xray_recorder
class Test:
def __init__(self):
pass
@xray_recorder.capture('## run')
def run(self):
...
...
...
The text was updated successfully, but these errors were encountered:
Have you checked the daemon logs to confirm it is receiving traces?
Can you post a snippet of the logs?
They should be located at /var/log/xray/xray.log
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in next 7 days. Thank you for your contributions.
I am using Flask to handle requests in my application. My application is on ECS Fargate and I have a separated Docker container in which the XRay daemon resides on it. XRay console shows the requests coming to Flask correctly. So far so good. Here is the code snippet for using Flask middleware:
My problem is when I using
xray_recorder.capture
decorator to my function in other python files, XRay won't show me anything. Here is the code that I used:The text was updated successfully, but these errors were encountered: