Tags: opentelemetry-php/contrib-auto-mongodb
Tags
update instrumentations to semconv 1.32 (#369) SemConv 1.32 deprecates a couple of attributes which we use extensively: - code.function.name is now an FQN (including class name) - code.namespace is deprecated (included in code.function.name) - code.linenumber is deprecated and replaced with code.line.number Updated all packages to conform, updated min semconv to 1.32, and made a couple of minor changes"
Drop support for PHP 7.4 and 8.0, introduce support for PHP 8.4, fix … …semconv deprecations (#315) * Fixed a bit of warnings and deprecations * Dropped support for PHP 7.4 and 8.0. Introduced support for PHP 8.4 * Set revision psalm to 6.4.0, more suppressions * Curl instrumentation fix * updated packages generating deprecated warnings
ext-mongodb 2.0 support (#324) Being able to retrieve host, port + info from a CommandStartedEvent is deprecated in 1.20.0 and will be removed in 2.0. we have been advised to use SDAM subscription instead. - update tests to allow defining mongo server from env - require ext-mongodb 1.13 (which provides SDAM subscriber for server info) - use SDAM subscriber to get server info attributes. Subscribe to the serverChanged event and store the attributes in a class variable, organised by host/port. - document mongo todos
check for mongo extension (#194) if platform requirements are ignored, then trying to load this module causes a fatal error. that's particularly bad because it happens during composer autoloading, so add an extra check and do not try to run without the extension.
Fixing tests (#189) * Fixing Logs/Monolog. * Fixing Aws\Xray. * Fixing PropagatorTest. * Fixing MongoDBInstrumentation import of CachedInstrumentation. * Fixing Instrumentation/Laravel linting. * Fixing Instrumentation/Symfony linting. * Fixing Instrumentation/HttpAsyncClient linting. * Fixing Instrumentation/Symfony linting. * Fixing Symfony import. * Updating Symfony composer deps.
Initial version of MongoDB instrumentation (#175) * Initial version of MongoDB instrumentation * Laxer version requirements * Catch more general ServerException * Catch ConnectionException as well * Start MongoDB on GH * Don’t catch exceptions anymore * Wait for MongoDB * Specify version * Fix version number * Let’s try with a replica set * Update README * Remove unecessary dependencies