jmjoy opened a new pull request, #146:
URL: https://github.com/apache/skywalking-php/pull/146

   This pull request adds support for the `php-amqp` extension to the 
SkyWalking PHP Agent, enabling tracing of AMQP message publishing. It 
introduces a new plugin for AMQP, updates documentation and tests to reflect 
the new support, and ensures end-to-end coverage for AMQP scenarios.
   
   **AMQP Plugin Support:**
   
   * Added a new `plugin_amqp.rs` implementing tracing for the 
`AMQPExchange->publish` method, including span creation, peer extraction, and 
header injection.
   * Registered the `AmqpPlugin` in the plugin system by updating `mod.rs` and 
the plugin initialization list. 
[[1]](diffhunk://#diff-fac39a545cabb01cdf0803132d836b424179ae972fb332d23bc015089c7bc5efR16)
 
[[2]](diffhunk://#diff-fac39a545cabb01cdf0803132d836b424179ae972fb332d23bc015089c7bc5efR52)
   
   **Documentation Updates:**
   
   * Updated `README.md` to mark `php-amqp` as supported for message queuing 
producers.
   
   **Testing and Validation:**
   
   * Added a new end-to-end test case (`amqp.php`) to exercise AMQP operations 
and validate tracing.
   * Integrated the new AMQP test into the test runner and added a helper 
function for the HTTP request. 
[[1]](diffhunk://#diff-62403d73a2340f1d6ac792a3d62161b538ffefa05bc7365f96351854116d63b1R65)
 
[[2]](diffhunk://#diff-62403d73a2340f1d6ac792a3d62161b538ffefa05bc7365f96351854116d63b1R156-R163)
   * Updated expected test output to include AMQP spans in the trace context, 
verifying correct span creation and tagging. 
[[1]](diffhunk://#diff-b22a9eadf4b761e70c8ca23a67fab3711c4ac568b18aaf7d7da88f07e4b0905cL18-R18)
 
[[2]](diffhunk://#diff-b22a9eadf4b761e70c8ca23a67fab3711c4ac568b18aaf7d7da88f07e4b0905cR1212-R1273)
   
   **Other:**
   
   * Removed the redundant `cargo build` step from the GitHub Actions workflow 
to streamline CI.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to