Closed cmnemoi closed 1 week ago
I think that's a 422 response from the opentelemetry collector (or whichever service you are sending telemetry to). Is anything logged upstream if you dial up the logging?
@cmnemoi have you had any time to look further into this?
Sorry for the delay,
I had time to work on this again, and after updating my opentelemetry dependencies, it works again.
I am therefore closing the issue.
Regards,
Describe your environment PHP 8.3.12, open-telemetry/api 1.1.0, open-telemetry/context 1.1.0, open-telemetry/exporter-otlp 1.1.0, open-telemetry/sdk 1.1.0, open-telemetry/sem-conv 1.27.1 PHP runs inside a Docker container
Steps to reproduce Launching this project on the following branch : https://gitlab.com/eternaltwin/mush/mush/-/tree/internal/otel
What is the expected behavior? I expect to see OpenTelemetry traces sent through my OLTP endpoint
What is the actual behavior? I see this error:
Additional context Here is some relevant code :
OpenTelemetry.php
: https://gitlab.com/eternaltwin/mush/mush/-/blob/internal/otel/Api/src/OpenTelemetry.php where I setup SpanExporter etc.index.php
where I create spans : https://gitlab.com/eternaltwin/mush/mush/-/blob/internal/otel/Api/public/index.php