X-Ray SDK for PHP

0

Is there any plan to support X-Ray subsegment creation for all AWS PHP SDK Calls?

Mauro
gefragt vor 2 Jahren1122 Aufrufe
1 Antwort
0

Hey! We know that there is a lot of customer interest for PHP but we haven't been able to prioritize work on it yet.

However, the X-Ray team has been working hard to make the OpenTelemetry tracing project compatible with the AWS X-Ray service. OpenTelemetry is a feature-rich open source project that does many of the things that the X-Ray SDKs do.

In fact, OpenTelemetry PHP has already began work to provide the IdsGenerator and Propagator needed to make OpenTelemetry traces that are compatible with X-Ray.

If you are interested in using OpenTelemetry as an alternative and want to seee the project prioritized, you can open an issue on the AWS OTel Community repository to engage the developers working on OpenTelemetry. You can also follow or contribute to the OpenTelemetry PHP contrib repository itself.

PHP support will most likely come to OpenTelemetry before it comes as a new X-Ray SDK.

AWS
beantwortet vor 2 Jahren
  • Sorry for the delayed answer but I had to work on other stuffs before implement this. I've followed this suggestion and used OTEL to propagate php traces to xray but I didn't reach my goal.

    What I need to do is to trace all AWS SDK Calls, for example when I call SNS, SQS, EventBridge, etc through aws sdk for php. That sdk doesn't allow me to add the trace header, neither OTEL trace these calls (at least as I did in my implementation).

    Is there a solution that I can implement to check request/response to aws services done from aws php sdk? (I do it with other languages already, for example nodejs)

  • Oh great, another project. Why not JUST SUPPORT XRAY? No sidecars, no new annoying tasks to add. Just something usable... Like... Oh I don't know... X-Ray?

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen