Hi Jonathan,
Thank you for response !
I have attached the widget we are using as an option for scheduler in one of our content where we are facing the issue. It is not standard Datatime Timestamp but Datetime Timestamp for Scheduler.
We are not getting any warnings as well regarding wrong Widget selection. Infact we have not done any reinstallation of the scheduler module recently.
Is there any other point where we need to debug more or any other custom code that can impact the default behavior of this module? Because like i mentioned the issue appears whenever we are not filling the mandatory field in node for the first time and Hit submit and again refill/select the mandate field and submit again. The mandatory fields here are List/Reference/Media field, We are not getting the error for the same with text field / text area.
Thanks again.!
sudhanjs → created an issue.
Hi @euphoric_mv, @Murz,
Can you please let me know the implementation of Auto instrumentation with drupal 10, php 8.1.
I have already enabled opentelemetry extension, what else is required for enabling auto instrumentation.
Thanks!
Hi @Murz,
Can you please help me on this.
Thanks!
sudhanjs → created an issue.
Hi @Murz,
I have installed the opentelemetry module and when i try to enable the module with export protocol as grpc i am receiving the error below:
Uncaught PHP Exception RuntimeException: "Transport factory not defined for protocol: grpc" at /opt/drupal/vendor/open-telemetry/sdk/Registry.php line 162, referer: http://localhost:81/admin/config/development/opentelemetry
[Fri Sep 01 09:22:55.014327 2023] [php:notice] [pid 45] [client 172.21.0.1:52326] RuntimeException: Transport factory not defined for protocol: grpc in /opt/drupal/vendor/open-telemetry/sdk/Registry.php on line 162 #0 /opt/drupal/vendor/open-telemetry/exporter-otlp/SpanExporterFactory.php(53): OpenTelemetry\\SDK\\Registry::transportFactory('grpc')\n#1 /opt/drupal/vendor/open-telemetry/exporter-otlp/SpanExporterFactory.php(36): OpenTelemetry\\Contrib\\Otlp\\SpanExporterFactory->buildTransport()\n#2 /opt/drupal/web/modules/contrib/opentelemetry/src/OpenTelemetrySpanExporterFactory.php(67): OpenTelemetry\\Contrib\\Otlp\\SpanExporterFactory->create()\n#3 [internal function]: Drupal\\opentelemetry\\OpenTelemetrySpanExporterFactory->create()\n#4 /opt/drupal/web/core/lib/Drupal/Component/DependencyInjection/Container.php(255): call_user_func_array(Array, Array)\n#5 /opt/drupal/web/core/lib/Drupal/Component/DependencyInjection/Container.php(177): Drupal\\Component\\DependencyInjection\\Container->createService(Array, 'OpenTelemetry\\\\C...')\n#6 /opt/drupal/web/core/lib/Drupal/Component/DependencyInjection/Container.php(440): Drupal\\Component\\DependencyInjection\\Container->get('OpenTelemetry\\\\C...', 1)\n#7 /opt/drupal/web/core/lib/Drupal/Component/DependencyInjection/Container.php(237):
Any solution or fix for this issue?
Hi @Murz
While installing i can able to witness that the following packages are getting installed properly:
- Installing php-http/discovery (1.19.1): Extracting archive
- Installing symfony/polyfill-php82 (v1.28.0): Extracting archive
- Installing open-telemetry/sem-conv (1.0.0beta4): Extracting archive
- Installing open-telemetry/context (1.0.0beta5): Extracting archive
- Installing open-telemetry/api (1.0.0beta12): Extracting archive
- Installing open-telemetry/sdk (1.0.0beta16): Extracting archive
- Installing open-telemetry/opentelemetry-propagation-traceresponse (0.0.1): Extracting archive
- Installing google/protobuf (v3.24.2): Extracting archive
- Installing open-telemetry/gen-otlp-protobuf (1.0.0beta6): Extracting archive
- Installing open-telemetry/exporter-otlp (1.0.0beta13): Extracting archive
- Installing drupal/opentelemetry (1.0.0-alpha6): Extracting archive
But when i try to enable the module facing the below issue :
Uncaught PHP Exception Error: "Class "OpenTelemetry\\API\\Common\\Log\\LoggerHolder" not found" at /opt/drupal/web/modules/contrib/opentelemetry/src/OpentelemetryTracerService.php line 122
Is there any other check i should do while installing or enabling? or any solution?
Thanks @Murz
Hi @Murz,
While enabling the module i am facing the below error, Any solution for resolving it?
Uncaught PHP Exception Error: "Class "OpenTelemetry\\API\\Common\\Log\\LoggerHolder" not found" at /opt/drupal/web/modules/contrib/opentelemetry/src/OpentelemetryTracerService.php line 122.
sudhanjs → created an issue.
Hi Murz, Thanks for the quick response, We have tried with the commands provided and still the same error persist.
Root composer.json requires drupal/opentelemetry 1.0@alpha, found drupal/opentelemetry[dev-1.0.x, 1.0.0-alpha1,
..., 1.0.x-dev (alias of dev-1.0.x)] but it does not match the constraint.
Currently im trying to use the module in version DRUPAL 9.5.10 and PHP 8.1
Is there any other constrains that restrict or block the module from download ?
Also please let me know after installing the module where the data that are tracked by opentelemetry will be getting saved. Will it be inside our Drupal site DB or telemetry backend services like Jaeger, Zipkin, Prometheus, etc.
sudhanjs → created an issue.