Is it possible to show PHP Stacktrace and other errors into Stackdriver Error Reporting with Fluentd and log files?
With some applications in Java, Python or Go, errors are automatically shown in Stackdriver Error Reporting but not with PHP and I don't know why.
For example, these kind of errors are sent automatically to Google Cloud Logging but not shown in Error Reporting.
[error] 8795#8795: *6 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Exception: Always throw this error in /var/www/example.com/index.php
UPDATE 1
I need this feature in order to monitor about twenty PHP Symphony applications hosted in a GKE Cluster and some other in Compute Engine. Each application is defined with a deployment and output logs to stdout or in /var/log/nginx/error.log
(for Compute Engine), pretty simple.
Do you know how to get these errors in Error Reporting without modifying my applications?