Releases: plunkettscott/laravel-otel
v0.4.2
v0.4.1
Dependency updates
What's Changed
- chore(deps): update symfony/http-client requirement from ^6.2 to ^6.2 || ^7.0 by @dependabot in #20
- chore(deps): update guzzlehttp/promises requirement from ^1.5 to ^1.5 || ^2.0 by @dependabot in #21
- chore(deps-dev): update orchestra/testbench requirement from ^8.0 to ^8.0 || ^9.0 by @dependabot in #22
New Contributors
- @dependabot made their first contribution in #20
Full Changelog: v0.4.0...v0.4.1
v0.4.0
What's Changed
- Update composer.json to support Laravel 11.x by @Braunson in #17
- Add tests for Laravel 11 and PHP 8.3 by @plunkettscott in #18
New Contributors
Full Changelog: v0.3.2...v0.4.0
v0.3.2
v0.3.1
What's Changed
- Fix deprecation notice in str_starts_with by @stickeegreg in #11
New Contributors
- @stickeegreg made their first contribution in #11
Full Changelog: v0.3.0...v0.3.1
v0.3.0
Adds support for Laravel 9.x and removes the dependency on OpenTelemetry\SemConv\TraceAttributesValues
which is no longer offered by the OpenTelemetry PHP project.
v0.2.0
What's Changed
The following changes are included in this release:
UserResolver
OpenTelemetry for Laravel now includes a UserResolver
contract that may be implemented to attach enduser.*
metadata to spans for HTTP requests. A DefaultUserResolver
is included and enabled by default, this resolver will add the User's ID along with any scopes granted via Passport or abilities granted via Sanctum.
You may use your own resolver by modifying the configuration file to point to a class that implements the PlunkettScott\LaravelOpenTelemetry\Resolvers\Contracts\UserResolver
contract.
Event Watcher
The Event Watcher
is now available, which adds span events for all non-Laravel events dispatched in the application throughout a trace.
Schedule Watcher
The Schedule Watcher
is now available, which creates spans for scheduled tasks executed as part of the schedule:run
command.
Queue Watcher
The Queue Watcher
is now available, which creates spans for each attempt of queued jobs and listeners. If a job fails due, the span will record the exception and be marked with an error status.
By default, all jobs are traced. If you want to disable tracing for a Job you may implement the NotTraceAware
contract. The TraceA ware
contract can opt-in individual jobs If OpenTelemetry for Laravel is configured to not trace jobs by default.
Redis Watcher
The Redis Watcher
is now available, which creates spans for each Redis command executed by the application.
Full Changelog: v0.1.2...v0.2.0
v0.1.2
What's Changed
- Ensure span is set before accessing it by @plunkettscott in #2
Full Changelog: v0.1.1...v0.1.2
v0.1.1
What's Changed
- Add support for other response types by @plunkettscott in #1
New Contributors
- @plunkettscott made their first contribution in #1
Full Changelog: v0.1.0...v0.1.1
v0.1.0
Full Changelog: https://github.com/plunkettscott/laravel-otel/commits/v0.1.0