/admin/config/development/opentelemetry Missing

Created on 18 April 2024, 7 months ago
Updated 21 June 2024, 5 months ago

Problem/Motivation

After Installing your module, the dev menu is missing.
If I clear cache, I've got an error (variables missing):

PHP Fatal error: Uncaught Error: Class "OpenTelemetry\SDK\Common\Configuration\Variables" not found in /var/www/site-gpmm/modules/opentelemetry/src/OpentelemetryTransportFactoryProvider.php:100

Steps to reproduce

Just install module with UI
I'm on Drupal 10.1, with php 8.1

🐛 Bug report
Status

Closed: cannot reproduce

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @irwin6
  • Status changed to Closed: cannot reproduce 5 months ago
  • 🇦🇲Armenia murz Yerevan, Armenia

    I rechecked this and all installs correctly. Seems you install the module not via Composer, but via manually copying files to Drupal? Via this way it will not install all required dependencies.
    So, try to install them manually then, like this:

    composer require google/protobuf open-telemetry/sdk open-telemetry/exporter-otlp open-telemetry/opentelemetry-propagation-traceresponse open-telemetry/sem-conv
    
Production build 0.71.5 2024