- Issue created by @tyler36
- 🇮🇳India mukhtarm
its because the module is trying to connect to the telemetry default endpoint specified in the
opentelemetry.settings.yml
(http://localhost:4318
). Either need to disable it or enable the server and try. - 🇯🇵Japan tyler36 Osaka
@gaurav_manerkar
Seems I was on beta2; I update the summary.@MukhtarM
Disabling the enpoint resolves the issue.
Perhaps we can improve the error message? - 🇮🇳India gaurav_manerkar Vasco Da Gama, Goa
@tyler36
1. Use the dev version of the module which has latest fixes.2. Update all the dependent composer packages to latest stable version:-
- Package versions i usedrupal/opentelemetry (dev-1.0.x 6d55b6f) google/protobuf (v3.25.2) open-telemetry/api (1.0.2) open-telemetry/context (1.0.2) open-telemetry/exporter-otlp (1.0.3) open-telemetry/gen-otlp-protobuf (1.1.0) open-telemetry/opentelemetry-propagation-traceresponse (0.0.2) open-telemetry/sdk (1.0.6) open-telemetry/sem-conv (1.23.1) php-http/discovery (1.19.2) symfony/polyfill-php82 (v1.28.0)
3. Make sure open-telemetry module is configured with endpoint, by default it will point to localhost.
4. For remote env, you might problem described in https://www.drupal.org/project/opentelemetry/issues/3416011 🐛 Unhandled export error: Error occurred during parsing: Fail to push limit. Closed: won't fix - Status changed to Postponed: needs info
10 months ago 8:31am 5 February 2024 - 🇦🇲Armenia murz Yerevan, Armenia
@tyler36, this error means that the module can't upload traces to the default endpoint "localhost:4318".
So, if your OpenTelemetry receiver has another endpoint - configure it in the module settings, and the error should gone.
If your endpoint matches the default one ("localhost:4318") - please check errors on the endpoint side, maybe the format is wrong or some other settings.