outeredge / magento-opentelemetry-module

A Magento 2 module that adds support for sending Logs to an OTLP endpoint
MIT License
4 stars 0 forks source link

Module is throwing circular dependency error #8

Open praveenpaliya opened 1 month ago

praveenpaliya commented 1 month ago

I installed the module and on running the setup upgrade, I am getting the error of circular dependency and If I try to bypass the error by modifying the developer.php and then I am getting below error:

There is an error in /app/vendor/outeredge/magento-opentelemetry-module/Monolog/Handler/DeduplicationOpenTelemetry.php at line: 12 Too few arguments to function OuterEdge\OpenTelemetry\Monolog\Handler\DeduplicationOpenTelemetry::__construct(), 0 passed in /app/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php on line 50 and exactly 1 expected

Magento Version: 2.4.6-p1

davidwindell commented 2 weeks ago

@praveenpaliya we haven't reproduced this in our environment, which version of the module is this and are you able to identify the cause of the circular dependency?