Skip to content

[Bug]: Deprecated exception is thrown after upgrading MongoDB driver to 1.20.0  #2869

@cyberdelia1987

Description

@cyberdelia1987

Bug report

After a fresh deployment, when PECL MongoDB driver package has been upgraded to the latest https://pecl.php.net/package/mongodb/1.20.0, deprecated errors started at DataDog MongoDBIntegration


yii\base\ErrorHandler::handleError arguments
--
0 | 8192
1 | Method MongoDB\Driver\Monitoring\CommandStartedEvent::getServer() is deprecated
2 | /opt/datadog/dd-library/1.3.2/dd-trace-sources/src/DDTrace/Integrations/MongoDB/MongoDBIntegration.php
3 | 25

PHP version

8.1

Tracer or profiler version

1.3.2

Installed extensions

No response

Output of phpinfo()

No response

Upgrading from

No response

Metadata

Metadata

Assignees

Labels

🐛 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions