Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecate event logger #1466

Merged
merged 2 commits into from
Jan 8, 2025
Merged

Conversation

brettmc
Copy link
Collaborator

@brettmc brettmc commented Jan 6, 2025

The event logger was a Development-status component of the logging signal. It has been removed in favour of adding emitEvent to the logger interface, see open-telemetry/opentelemetry-specification#4319

Related: #1459

The event logger was a Development-status component of the logging signal. It has been
removed in favour of adding emitEvent to the logger interface,
see open-telemetry/opentelemetry-specification#4319
@brettmc brettmc requested a review from a team as a code owner January 6, 2025 07:02
Copy link

codecov bot commented Jan 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.45%. Comparing base (b515b6b) to head (805080a).
Report is 3 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #1466      +/-   ##
============================================
+ Coverage     73.27%   73.45%   +0.18%     
  Complexity     2683     2683              
============================================
  Files           387      387              
  Lines          8014     8014              
============================================
+ Hits           5872     5887      +15     
+ Misses         2142     2127      -15     
Flag Coverage Δ
8.1 73.07% <ø> (+0.09%) ⬆️
8.2 73.25% <ø> (+0.06%) ⬆️
8.3 73.29% <ø> (+0.11%) ⬆️
8.4 73.29% <ø> (+0.08%) ⬆️
8.5 73.23% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/API/Globals.php 100.00% <ø> (ø)
src/API/Instrumentation/CachedInstrumentation.php 100.00% <ø> (ø)
src/API/Instrumentation/Configurator.php 100.00% <ø> (ø)
src/API/Instrumentation/ContextKeys.php 100.00% <ø> (ø)
src/API/Logs/NoopEventLogger.php 0.00% <ø> (ø)
src/API/Logs/NoopEventLoggerProvider.php 0.00% <ø> (ø)
src/SDK/Logs/EventLogger.php 100.00% <ø> (ø)
src/SDK/Logs/EventLoggerProvider.php 100.00% <ø> (ø)
src/SDK/Logs/EventLoggerProviderFactory.php 100.00% <ø> (ø)
src/SDK/Logs/NoopEventLoggerProvider.php 100.00% <ø> (ø)
... and 3 more

... and 6 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b515b6b...805080a. Read the comment docs.

@@ -74,6 +74,9 @@ public static function autoload(): bool
return true;
}

/**
* @phan-suppress PhanDeprecatedClass,PhanDeprecatedFunction
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this work if moved to phan-suppress-next-line around the event logger? 🤔

@brettmc brettmc merged commit 4b575e6 into open-telemetry:main Jan 8, 2025
11 checks passed
@brettmc brettmc deleted the deprecate-event-logger branch January 8, 2025 23:50
brettmc added a commit to brettmc/opentelemetry-php that referenced this pull request Jan 9, 2025
The event logger was a Development-status component of the logging signal. It has been
removed in favour of adding emitEvent to the logger interface,
see open-telemetry/opentelemetry-specification#4319
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants