Skip to content

Releases: elastic/elastic-otel-php

v1.7.0

Choose a tag to compare

@github-actions github-actions released this 24 Jun 11:06
7dff6eb

1.7.0

Based on opentelemetry-php-distro v0.5.1 (PR #388).

Features and enhancements

  • PSR-18 auto instrumentation — HTTP clients implementing PSR-18 (ClientInterface) are now automatically instrumented (upstream PR #111)
  • Attribute-based instrumentation — Annotate methods and functions with #[WithSpan] and #[SpanAttribute] to create spans automatically (upstream #117, PR #118)
  • File-based declarative configuration (OTEL_CONFIG_FILE) — Supports loading SDK configuration from a YAML file (upstream PR #106)
  • earlySetup support — Allows registering OTLP transport before SDK initialization (upstream PR #121)
  • Disabling scoped dependencies through configuration — Individual scoped dependencies can now be disabled through configuration (upstream PR #95)

Fixes

  • Security: bumped guzzlehttp/guzzle to fix a security vulnerability (upstream PR #123)
  • Fixed deprecated ResourceAttributes usage (upstream PR #96)
  • Fixed deprecated TraceAttributes usage (upstream PR #90)
  • Fixed passing production options to component tests app code (upstream PR #107)
  • Fixed mock object leak in OpAmp tests (upstream PR #103)

Full changelog: v1.6.0...v1.7.0

v1.6.0

Choose a tag to compare

@github-actions github-actions released this 15 May 15:57
7c7f538

1.6.0 [edot-php-1.6.0-release-notes]

Features and enhancements [edot-php-1.6.0-features-enhancements]

  • Enabled opamp_polling_interval remote configuration option and improved remote configuration handling in native extension (#272) (PR #381)

Other [edot-php-1.6.0-other]

  • ci(docs): scope pull_request triggers to integration branches (PR #372)

Full changelog: v1.5.0...v1.6.0

v1.5.0

Choose a tag to compare

@github-actions github-actions released this 07 May 10:09
8395d93

Features and enhancements

  • Rebased on upstream OpenTelemetry PHP distro - EDOT PHP is now built on top of the upstream opentelemetry-php-distro (v0.4.0) as a vendor customization layer. This brings full alignment with the OpenTelemetry PHP ecosystem while retaining Elastic-specific features such as remote configuration. (#352, PR #367)
  • Configuration options renamed to OTEL_PHP_* prefix - All configuration environment variables now follow the upstream OTEL_PHP_* naming convention (e.g. OTEL_PHP_LOG_LEVEL, OTEL_PHP_ENABLED). The previous ELASTIC_OTEL_* names are deprecated but still supported for backward compatibility - they are automatically mapped to their OTEL_PHP_* equivalents at startup. (#352)
  • Added support for PHP 8.5 (upstream #58)
  • Added user bootstrap config option (OTEL_PHP_USER_BOOTSTRAP) allowing users to specify a custom PHP file to be loaded during the distro bootstrap (upstream PR #76)
  • Updated Laravel instrumentation to 1.7.0 (upstream PR #65)
  • Updated OpenTelemetry SDK and instrumentation modules (upstream PR #62)
  • Dependency shadowing/scoping with OTelDistroScoped\ prefix to avoid conflicts with user-installed OpenTelemetry packages (upstream PR #47)

Fixes

  • Fixed internal inferred spans filtering for scoped namespace (upstream PR #56)

Other

  • Updated documentation for the upstream naming conventions (#373, PR #374)
  • Upstream PHP dependency notices are now propagated to the EDOT NOTICE file during build (#375, PR #376)

v1.4.0

Choose a tag to compare

@github-actions github-actions released this 27 Apr 14:09
73718ed

1.4.0

Fixes

  • Fixes high CPU usage caused by a futex spin loop by using system_clock for Boost.Interprocess timed_receive (#358, #368).

Features and enhancements

  • Adds the send_logs, send_metrics, and send_traces remote configuration options (#328).
  • Adds the deactivate_all_instrumentations remote configuration option (#327).
  • Adds the deactivate_instrumentations remote configuration option (#326).

Other

  • Adds TLS notes and settings (#339).
  • Starts using the Snyk service account credentials (#351).
  • Moves docs workflows to elastic/docs-actions (#359).
  • Adds Vale docs linting support (#353).

Full changelog: v1.3.1...v1.4.0

v1.3.1

Choose a tag to compare

@github-actions github-actions released this 22 Dec 15:52
c0e21c9

1.3.1

Fixes

  • Fixes handling of remote configuration when the file format is unrecognized and post-fork handler is missing for OpAmp (PR #347)

Full changelog: v1.3.0...v1.3.1

v1.3.0

Choose a tag to compare

@github-actions github-actions released this 19 Dec 18:57
15abeb9

1.3.0

Features and enhancements

  • Introduce central coordinator for worker telemetry routing and remote config distribution (#226) (PR #294)

Other

  • Implemented a safer way of installing internal functions instrumentations (curl, PDO, MySQLi, PostgreSQL) on PHP 8.1 (PR #305)

Full changelog: v1.2.0...v1.3.0

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 07 Nov 14:41
8b09fc9

1.2.0

Features and enhancements

  • Updated OTel SDK to 1.9.0 (PR #281)
  • Enable PostgreSQL instrumentation (PR #248)
  • Handle secure connection configuration variables in async http exporter and OpAMP client (#299) (PR #300)
  • Implemented handling of sampling_rate remote config option (PR #296)
  • Allow to enable inferred spans remotely (#257) (PR #259)

Fixes

  • Fixed handling of logging_level remote config (PR #295)
  • Fixed attributes for used central configuration in Kibana (PR #282)

Other

  • Capture output from processes spawned by component tests (PR #290)
  • Allow adding tasks to PeriodicTaskExecutor (#283) (PR #284)
  • Improved link to docs from root README.md (PR #292)
  • Updated PHPStan to 2.1.31 (PR #280)
  • Documented logging level remote option (PR #273)
  • Fixed missing extension in otel unit tests Dockerfile (PR #262)
  • Scanning for vulnerabilities with Snyk (#247) (PR #258)
  • Pinned dependencies (composer's vendor) versions to make build reproducible (PR #252)

Full changelog: v1.1.1...v1.2.0

v1.1.1

Choose a tag to compare

@github-actions github-actions released this 29 Jul 08:44
a52f6e9

1.1.1

Fixes

  • Controlling the OpAMP activation using the ELASTIC_OTEL_OPAMP_ENDPOINT environment variable (#245) (PR #245)

Full changelog: v1.1.0...v1.1.1

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 28 Jul 12:29
cf591b1

1.1.0

Features and enhancements

  • OpAMP remote configuration support (Technical preview) (PR #243)
  • Updated opentelemetry-auto-pdo package to 0.1.1 (PR #233)
  • Updated open-telemetry/sdk (PR #235)
  • Added component test for MySQLi auto-instrumentation (PR #181)

Other

  • Enable std::format in logger (PR #207)
  • Added checks to ensure OTLP exporters native implementation is in sync with upstream PHP implementation (PR #201)
  • AutoZval phpt tests (#202) (PR #203)
  • Removed direct loading of opcache.so in phpt tests (PR #237)
  • Updated dev packages (PR #230)
  • Add docs CI files (PR #227)
  • Add release notes files (PR #218)
  • Fixed packages build script and static checks (#216) (PR #220)
  • Update EDOT links (PR #212)

Full changelog: v1.0.0...v1.1.0

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 02 Apr 10:21
6bee33e

What's new

  • OTLP protobuf built-in native serialization (PR #198)

Technical news

  • Move EDOT PHP documentation to elastic/opentelemetry (PR #197)

Full changelog: v0.4.0...v1.0.0