Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: opentelemetry-php/contrib-auto-mongodb
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.0.6
Choose a base ref
...
head repository: opentelemetry-php/contrib-auto-mongodb
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.0.7
Choose a head ref
  • 1 commit
  • 5 files changed
  • 1 contributor

Commits on Jan 14, 2025

  1. 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
    brettmc authored Jan 14, 2025
    Configuration menu
    Copy the full SHA
    5f94d13 View commit details
    Browse the repository at this point in the history
Loading