-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question on Usage #69
Comments
If everything is working, you should see these logs in the X-Ray daemon logs - https://docs.aws.amazon.com/xray/latest/devguide/xray-daemon.html#xray-daemon-logging Particularly something similar to -
Do confirm if you have installed xhprof PHP extension, you should see it in PHP info. |
Hello, Yes I can. [root@s192-169-216-152 ~]# tail -f /var/log/xray/xray.log 2020-07-01T07:59:17-07:00 [Error] Cannot fetch region variable from config file, environment variables and ec2 metadata. 2020-07-01T08:01:13-07:00 [Error] Get instance id metadata failed: RequestError: send request failed ` |
Looks like you need to configure the X-Ray daemon based on that, as it looks like you don't have an IAM instance profile. |
Hi, its actually configured, I just forgot to use -o on launch that time (since its not inside AWS). |
Hello, Is there any update on this? I am still unable to see any info coming from non AWS servers via Xray plugin. Thanks for your help! |
I'm having the same problem. I have installed and activated the But I never get any X-Ray log messages after the initial daemon startup sequence. Any ideas? Do you have usage instructions documented somewhere? |
@adambiggs Did you ever figure this out? I am having the same issue. Plugin/xhprof extension installed, X-Ray agent running w/ IAM permissions, but no X-Ray logs messages after the start-up. I have added debug logs and determined that the !function_exists(namespace . '\bootstrap' ) conditional is returning, which apparently means X-Ray is disabled? Wordpress shows the plugin as active, though. Any help here would be greatly appreciated. |
Hello,
I have a GoDaddy Dedicated server and have installed the x-ray agent, credentials, and the aws-xray plugin you provided but nothing appears to be sent to AWS.
bash-4.1# xray -o -n us-west-2
2020-06-18T07:27:09-07:00 [Info] Initializing AWS X-Ray daemon 3.2.0
2020-06-18T07:27:09-07:00 [Info] Using buffer memory limit of 327 MB
2020-06-18T07:27:09-07:00 [Info] 5232 segment buffers allocated
2020-06-18T07:27:09-07:00 [Info] Using region: us-west-2
2020-06-18T07:27:09-07:00 [Info] HTTP Proxy server using X-Ray Endpoint : https://xray.us-west-2.amazonaws.com
2020-06-18T07:27:09-07:00 [Info] Starting proxy http server on 127.0.0.1:2000
This looks to be correct to me. Can you give me any idea on a way to test this or see if it is working as expected? The Wordpress site is getting clicks and the plugin is enabled.
The text was updated successfully, but these errors were encountered: