Hi!
Is there a way to log HTTP headers and payload under transaction metadata for PHP agent? I could not find any solution to how to do that.
Hi!
Is there a way to log HTTP headers and payload under transaction metadata for PHP agent? I could not find any solution to how to do that.
Hi Anton,
You might be able to set additional context to the transaction like the following:
ElasticApm::getCurrentTransaction()->context()->setLabel('userId', Auth::id());
That way you can implement additional information while processing the transaction with its spans.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.