You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem?
If so, provide a concise description of the problem.
We used opencensus to extend the tracing capabilities. In general, Google already creates traces for any incoming requests. However, if you want to enhance the data collected, like which subprocesses took how long, you need to include tracing libraries. To do this Google recommended opencensus when we started implementing the tracing.
opencensus was archived on Oct 4, 2023 and we get a warning in php8.2 that it has been deperecated with php7.4 . The tracing still works though at the moment. It still tracks the sub “spans” and traces correctly. However, we cannot count on it for long and a change in the Google infra-structure could mean that the tracing will not be working from one day to another. Since we still want to keep the tracing, we need to migrate.
Additional context
Add any other context about the feature request here.
The Google documentation specific to php still recommends opencensus (here their php tracing sample) even though they also require at least php8.1 to be run on their servers.
The text was updated successfully, but these errors were encountered:
@HaGuesto what is the OTLP exporter missing to be able to "report correctly to Google Cloud Trace" ? This hasn't come up before AFAIK. Does google cloud trace accept traces in the opentelemety format?
Is your feature request related to a problem?
If so, provide a concise description of the problem.
We used opencensus to extend the tracing capabilities. In general, Google already creates traces for any incoming requests. However, if you want to enhance the data collected, like which subprocesses took how long, you need to include tracing libraries. To do this Google recommended opencensus when we started implementing the tracing.
opencensus was archived on Oct 4, 2023 and we get a warning in php8.2 that it has been deperecated with php7.4 . The tracing still works though at the moment. It still tracks the sub “spans” and traces correctly. However, we cannot count on it for long and a change in the Google infra-structure could mean that the tracing will not be working from one day to another. Since we still want to keep the tracing, we need to migrate.
Now in general, Google recommends OpenTelemetry for tracing, but there is no specific exporter/lib or documentation of OpenTelemetry that works for php and GoogleCloud.
Describe the solution you'd like
What do you want to happen instead? What is the expected behavior?
specific exporter/lib of OpenTelemetry that works for php and Google Cloud Trace or documentation how to use the OTLP exporter with Google Cloud trace
Describe alternatives you've considered
Which alternative solutions or features have you considered?
https://github.com/affordablemobiles/opentelemetry-operations-php
Additional context
Add any other context about the feature request here.
The Google documentation specific to php still recommends opencensus (here their php tracing sample) even though they also require at least php8.1 to be run on their servers.
The text was updated successfully, but these errors were encountered: