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

Enable default instrumentations #1002

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

srprash
Copy link
Contributor

@srprash srprash commented Jan 15, 2025

Description of changes:

  • Disable all instrumentations if not explicitly set by user
  • Enable Lambda instrumentation
  • Enable AWS SDK instrumentation
  • Enable selective HTTP client instrumentations.

OTel doc for enabling specific instrumentations: https://opentelemetry.io/docs/zero-code/java/agent/disable/#enable-only-specific-instrumentation

Also tested that if needed by end users these env vars can be overridden for manually controlling the enabled instrumentations.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@srprash srprash requested a review from a team as a code owner January 15, 2025 08:17
@srprash srprash merged commit 7b4fcdd into release/v1.33.x Jan 15, 2025
4 checks passed
@srprash srprash deleted the 1.33.x_lambda_instrumentations branch January 15, 2025 21:01
srprash added a commit that referenced this pull request Jan 15, 2025
…stBuckets API call (#1003)

Related to
#1002,
we want to use native Java Http Client instead of OkHttp in the sample
app.

Also, I noticed that the other language sample apps
([Python](https://github.com/aws-observability/aws-otel-python-instrumentation/blob/main/lambda-layer/sample-apps/function/lambda_function.py#L15))
does a `ListBuckets` call whereas this sample app is doing `ListBucket`
call. So updating that to be consistent with others.


By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
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