Skip to content

Tags: opentelemetry-php/contrib-auto-mongodb

Tags

0.1.1

Toggle 0.1.1's commit message
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"

0.1.0

Toggle 0.1.0's commit message
Fix mongo-ext requirements condition to support both ^1.13 and ^2.0 v…

…ersion (#360)

0.0.8

Toggle 0.0.8's commit message
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

0.0.7

Toggle 0.0.7's commit message
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

0.0.6

Toggle 0.0.6's commit message
silence mongo deprecation warnings (#283)

this is caused by the moratorium on updating semconv, so I guess we will see more of these soon enough

0.0.5

Toggle 0.0.5's commit message
update sem-conv to 1.23 (#229)

0.0.4

Toggle 0.0.4's commit message
Update `TraceAttributes` to semconv to 1.22.0 (#204)

* Replace HTTP_FLAVOR with NETWORK_PROTOCOL_VERSION
* Set SemConv version
* Update deprecated attributes
* Update NETWORK_PEER_ADDRESS

0.0.3

Toggle 0.0.3's commit message
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.

0.0.2

Toggle 0.0.2's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
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.

0.0.1

Toggle 0.0.1's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
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