Skip to content

Fix/slf4j nop binding override#31

Merged
karthikeyangs9 merged 4 commits intomainfrom
fix/slf4j-nop-binding-override
Mar 18, 2026
Merged

Fix/slf4j nop binding override#31
karthikeyangs9 merged 4 commits intomainfrom
fix/slf4j-nop-binding-override

Conversation

@prathamesh-sonpatki
Copy link
Member

No description provided.

prathamesh-sonpatki and others added 4 commits March 12, 2026 14:53
…gent rules

Add ByteBuddy advice patterns, premain order requirements, route template
extraction rules, E2E testing workflow, and release conventions learned
from production debugging.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
slf4j-nop was bundled into the shaded library JAR, which overrides the
application's logback binding when re-shaded into a fat JAR. This
suppresses all application logging.

Fix: change slf4j-nop to test scope and remove from shade plugin includes.
The standalone agent doesn't need it either — AgentBootstrap uses
System.err for premain logging.

Bump version to 2.2.2-beta.1 for testing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… spans

- Add SqsReceiveAdvice/SqsReceiveHelper for AWS SQS receiveMessage()
  instrumentation (both SDK v1 and v2 via reflection)
- CONSUMER spans with messaging.system=aws_sqs, messaging.destination.name,
  messaging.operation=receive, messaging.batch.message_count, peer.service=sqs,
  server.address, net.peer.name
- Use Context.root() to prevent SQS consumer spans nesting under unrelated parents
- Add peer.service=kafka to KafkaConsumerHelper, KafkaProducerHelper, KafkaTracing
  for servicegraph dependency edge consistency
- 10 unit tests for SQS instrumentation (326 total passing)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…t failure

The bundled Ec2ResourceProvider makes OkHttp calls to IMDS during SDK
init, whose orphaned thread pools interfere with the JDK HttpClient
used by the OTLP trace exporter — causing traces to silently fail
while metrics continue working.

Removed: opentelemetry-aws-resources, opentelemetry-gcp-resources,
okhttp, okio, kotlin-stdlib. Agent JAR reduced from 9.4MB to 5.4MB.

Cloud attributes should be added by the OTel Collector's
resourcedetection processor instead (resourcedetection/ec2).

Bumps version to 2.2.2-beta.3.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@karthikeyangs9 karthikeyangs9 merged commit 0742ba4 into main Mar 18, 2026
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.

2 participants