Skip to content

Conversation

@andrestejerina97
Copy link
Contributor

@andrestejerina97 andrestejerina97 commented Sep 24, 2025

@andrestejerina97 andrestejerina97 force-pushed the feature/opentelemetry-middleware-refactor branch from 9f69f85 to c349aff Compare September 24, 2025 18:05
Copy link
Collaborator

@smarcet smarcet left a comment

Choose a reason for hiding this comment

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

@andrestejerina97 please review comments

@andrestejerina97 andrestejerina97 force-pushed the feature/opentelemetry-middleware-refactor branch from c349aff to f5ab4d2 Compare September 24, 2025 20:58
@andrestejerina97 andrestejerina97 force-pushed the feature/opentelemetry-middleware-refactor branch from f5ab4d2 to 011d982 Compare September 24, 2025 22:10
@matiasperrone-exo matiasperrone-exo marked this pull request as ready for review September 26, 2025 20:18
.env.example Outdated
#Open Telemetry
OTEL_SERVICE_ENABLED=true
OTEL_SERVICE_NAME=summit-api
OTEL_PROPAGATORS=tracecontext
Copy link
Collaborator

Choose a reason for hiding this comment

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

@andrestejerina97 this need to add baggage too

{
$this->logger = $logger;
$this->shouldTrack = env('APP_ENV') !== 'testing' &&
config('opentelemetry.enhance_requests', true);
Copy link
Collaborator

Choose a reason for hiding this comment

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

this should be using the same feature flag as here

], env('OTEL_SERVICE_ENABLED', false) ? [\Keepsuit\LaravelOpenTelemetry\LaravelOpenTelemetryServiceProvider::class] : []),

} catch (\Throwable $e) {
// forcing 'single' channel in case otlp log fails
$this->logger->channel('single')->error("Error on request tracking" . $e->getMessage());
$this->logger->channel('single')->error("Error on request tracking: " . $e->getMessage());
Copy link
Collaborator

Choose a reason for hiding this comment

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

this channel single logs to laravel.log we need a to change to daily

@andrestejerina97 andrestejerina97 force-pushed the feature/opentelemetry-middleware-refactor branch from 676163e to d2b4981 Compare September 29, 2025 18:17
@smarcet smarcet force-pushed the main branch 3 times, most recently from baa6699 to a1e87f3 Compare September 30, 2025 13:29
@smarcet smarcet force-pushed the main branch 7 times, most recently from e3e142a to 161d4d3 Compare October 1, 2025 02:13
Copy link
Collaborator

@smarcet smarcet left a comment

Choose a reason for hiding this comment

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

LGTM

@smarcet smarcet merged commit 456755e into main Oct 1, 2025
3 checks passed
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.

4 participants