Breaking changes
This release contains a lot of breaking changes
- Compare your published config and update it accordingly.
- ENV variables prefix is changed from
OTtoOTELand some env variables are changed. - Tracer has been completely refactored, manual traces must been updated with the new methods.
Tracer::start, Tracer::measure and Tracer::measureAsync has been removed and replaced with:
Tracer::newSpan('name')->start(); // same as old start
Tracer::newSpan('name')->measure(callback); // same as old measure
Tracer::newSpan('name')->setSpanKind(SpanKind::KIND_PRODUCER)->measure(callback); // same as old measureAsyncTracer::recordExceptionToSpan has been removed and exception should be recorded directly to span: $span->recordException($exception)
Tracer::setRootSpan($span) has been removed, it was only used to share traceId with log context. This has been replaced with Tracer::updateLogContext()
What's Changed
- Refactoring tracer api by @cappuc in #12
- Track http headers by @cappuc in #13
- Improved http client tests by @cappuc in #15
- Dropped laravel 9 & added laravel 11 by @cappuc in #16
- Auto queue instrumentation by @cappuc in #14
- Follow OTEL env variables specifications by @cappuc in #17
Full Changelog: 0.4.0...1.0.0-beta1