Add open-telemetry/sdk and open-telemetry/exporter-otlp as dev dependencies

Created on 5 April 2023, over 1 year ago

Problem/Motivation

Spin-off from Add PerformanceTestBase for allowing browser performance assertions within FunctionalJavaScriptTests Fixed which is itself a spin-off from 🌱 Automated performance testing for core Active .

Open telemetry is a collection of libraries/projects to support performance instrumentation in a variety of languages.

https://opentelemetry.io/

It has a PHP implementation: https://opentelemetry.io/docs/instrumentation/php/

The rationale for using OpenTelemetry is at 🌱 Automated performance testing for core Active .

Dependency Evaluation

The project appears well-maintained and has multiple official maintainers as well as active contributors, details at https://github.com/open-telemetry/opentelemetry-php/blob/main/CONTRIBUTI...

It's part of the broader OpenTelemetry project, although I'm not clear how that works organisationally.

OpenTelemetry itself is under the umbrella of the Cloud Native Computing Foundation https://www.cncf.io/

Prefer e-mail, github issue as a last resort, documented here: https://github.com/open-telemetry/opentelemetry-php/security/policy

Approaching a 1.0.0 release (currently beta), the 0.x series had tagged releases approximately once per month. Uses semver for release numbering.

Modern PHP, strict types, decent online and in-code documentation.

@todo

Proposed resolution

Add opentelemetry as a development dependency.

Note that OpenTelemetry requires a telemetry collector however the current implementation of Add PerformanceTestBase for allowing browser performance assertions within FunctionalJavaScriptTests Fixed skips this logic if no endpoint is defined.

Tag1 is working with the Drupal Association to provide an endpoint, however it would be useful to have the dependency in core while that's being worked on, and it's not a hard dependency for the new performance tests which run and do their own assertions without it.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

10.1

Component
PHPUnit 

Last updated about 13 hours ago

Created by

🇬🇧United Kingdom catch

Live updates comments and jobs are added and updated live.
  • Needs release manager review

    It is used to alert the release manager core committer(s) that an issue significantly affects the overall technical debt or release timeline of Drupal, and their signoff is needed. See the governance policy draft for more information.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024