Thanks to visit codestin.com
Credit goes to github.com

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/sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: opentelemetry-php/sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.x
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 11 commits
  • 69 files changed
  • 2 contributors

Commits on Jan 9, 2025

  1. 2.x prep (#1463)

    Initial config changes for 2.x versions:
    * update to php 8.2 minimum
    * gitsplit 2.x
    * skip rector ReadOnlyClassRector
    brettmc authored Jan 9, 2025
    Configuration menu
    Copy the full SHA
    56c9474 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a45c75f View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2025

  1. Merge branch 'main' into 2.x

    brettmc committed Jan 10, 2025
    Configuration menu
    Copy the full SHA
    f85af2b View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into 2.x

    brettmc committed Jan 10, 2025
    Configuration menu
    Copy the full SHA
    7272221 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2025

  1. reduce default set of resource detectors (#1471)

    Limit the default detectors from everything to:
    - sdk
    - sdk_provided
    - env
    
    This is controlled by a new detector key, OTEL_PHP_DETECTORS=default (which is
    the default if no value is provided). The previous behaviour can be restored
    by explicitly setting OTEL_PHP_DETECTORS=all.
    brettmc authored Jan 14, 2025
    Configuration menu
    Copy the full SHA
    c568df5 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2025

  1. implement mutable ReadWriteLogRecord (#1482)

    open-telemetry/opentelemetry-specification#3907 implements some new
    requirements for logging:
    - ReadWriteLogRecord can mutate (eg by processors)
    - mutated ReadWriteLogRecord can be seen by later processors
    
    This is a breaking change because LogRecordProcessorInterface onEmit param changes to by-reference
    brettmc authored Jan 23, 2025
    Configuration menu
    Copy the full SHA
    0b255ca View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2025

  1. use SPI to manage components (#1412)

    To resolve our long-standing race conditions stemming from using composer's autoload->files
    to registry SDK components at runtime, this changes things so that:
    - components are registerd in various _register.php files, and SPI is used to remove those files from autoload->files
    - the SDK Registry is removed, replaced by an internal service loader which interacts with SPI similarly to how the Registry did
    brettmc authored Jan 29, 2025
    Configuration menu
    Copy the full SHA
    d330d84 View commit details
    Browse the repository at this point in the history
  2. revert pass-by-reference to LogRecordProcessor::onEmit (#1492)

    add a test to demonstrate that mutations are still seen by later processors without by-reference
    brettmc authored Jan 29, 2025
    Configuration menu
    Copy the full SHA
    58c63bd View commit details
    Browse the repository at this point in the history
  3. implement SpanProcessor::onEnding (#1483)

    * added to spec 1.36.0
    * mutable span in OnEnding, prevent async mutation (a clone rather than the original span is passed to onEnd)
    * change composer/tools cache key
    cached vendor dir was causing havoc with a conflict between vendor and vendor-bin/psalm (amphp/amp)
    brettmc authored Jan 29, 2025
    Configuration menu
    Copy the full SHA
    797af04 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2025

  1. drop string options for Temporality, InstrumentType (#1493)

    * drop metrics string temporality
    Temporality|string|null was allowed for temporality to avoid BC in 1.x
    convert Temporality to an enum
    
    * convert InstrumentType to enum
    - drop string|InstrumentType, which exists in 1.x for forward-compatibility
    
    * add advisory to DefaultAggregationProviderInterface
    brettmc authored Feb 12, 2025
    Configuration menu
    Copy the full SHA
    d486283 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2025

  1. Merge branch 'main' into 2.x

    brettmc committed Apr 14, 2025
    Configuration menu
    Copy the full SHA
    45ad2b3 View commit details
    Browse the repository at this point in the history
Loading