Comments (6)
Hi @mat-rumian - the aws java agent is almost the same binary as the OpenTelemetry upstream one so it's really surprising if they have different performance. I tried with the upstream one a while ago and found it to have similar 40-50s overhead with normal functions, and around 10s with provisioned concurrency. Can you confirm the function configuration was the same when trying the two agents? I'll try to confirm on my end too.
from aws-otel-java-instrumentation.
@mat-rumian - I tried the upstream agent and had similar performance profiles to the AWS distro. No provisioning, ~60s, with provisioning, ~10s. This is unfortunately just the nature of doing significant bytecode manipulation at runtime I'm afraid.
One trick to try could be to disable instrumentation by default and only enable the ones you need, using -Dotel.instrumentation.common.default-enabled=false
. For example, this enables only annotatinon processing
from aws-otel-java-instrumentation.
Will this be improved going forward? Are there any plans to do more things at build time instead of runtime? (as Quarkus, Micronaut and such are doing)
from aws-otel-java-instrumentation.
@drissamri I have heard that Quarkus team is working on being able to run a java agent during compile time which would probably make the Java agent practical on lambda, even without provisioned concurrency! I'm not sure of a roadmap or any issues to follow related to it, my understanding is the effort just started.
from aws-otel-java-instrumentation.
This issue is stale because it has been open 90 days with no activity. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled
from aws-otel-java-instrumentation.
This issue was closed because it has been marked as stale for 30 days with no activity.
from aws-otel-java-instrumentation.
Related Issues (20)
- Lack of a docker image HOT 3
- OTEL trace id mismatches with XRay trace id HOT 5
- Visual presentation and Resource Detection for eks HOT 4
- How to suppress export logs in open-telemetry agent? HOT 4
- Update actions to not use Node.js 12 HOT 1
- Logback MDC `AWS-XRAY-TRACE-ID` and `trace_id` mismatch sporadically HOT 9
- AWS Lambda: Unable to debug the issue HOT 1
- xray tracing stops after some hours HOT 7
- Does the xray remote sampler respect parent sampling decision? HOT 4
- FRAME_SIZE_ERROR: 4740180 HOT 2
- Using more than one tracing systems with AWS Java Agent #2333 HOT 2
- Upgrade opentelemetry-java to 1.30.x HOT 1
- AwsXrayPropagator can create invalid trace headers during baggage propagation HOT 8
- AWS OTEL agents in Docker images HOT 3
- [ci] Add new EKS cluster targets HOT 1
- Support for OTEL Synchronous Gauge HOT 2
- http.server.duration has exceeded the maximum allowed cardinality HOT 3
- ADOT Java Agent v1.31.1 - High Cardinality Metrics
- Java autoinstrumentation does not support PKIX algorithm
- Clarification about how to autoinstrumenting a spring-boot 3 with micrometer tracing and ADOT agent
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-otel-java-instrumentation.