Spring Boot Application taking too long to start | Spcial Agent | Lightstep Tracer
See original GitHub issueI am using version 1.5.6
of special-agent.
The startup time of my spring boot application is around 10 Sec.
when I statically attach the agent the startup time of the application goes up to 3-5
minutes. When attaching the agent dynamically, no data shows up.
Command I used to launch the application
java -jar application.jar
Command I used to launch the app with static attach
java -javaagent:$SPECIAL_AGENT_JAR \
-Dsa.tracer=lightstep \
-Dsa.log.level=INFO \
-Dls.accessToken=$LS_TOKEN \
-Dsa.tracer.plugins.enable=false \
-Dls.componentName="test-app-15" \
-Dls.collectorHost="lightstep-host" \
-Dls.collectorProtocol="http" \
-Dls.collectorPort="80" \
-jar application.jar
Command I used to attach the agent dynamically
java -Dsa.tracer=lightstep \
-Dsa.log.level=INFO \
-Dsa.instrumentation.plugins.verbose=true \
-Dls.componentName=api-gateway \
-Dls.collectorHost="lightstep-host" \
-Dls.collectorProtocol="http" \
-Dls.accessToken=$LIGHTSTEP_TOKEN \
-Dls.collectorPort="80" \
-Xbootclasspath/a:$JAVA_HOME/lib/tools.jar \
-jar $SPECIAL_AGENT_JAR PID
Sample app I created for demo can be found here.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
Send Traces to Lightstep with Java
This Quick Start guide shows you how to configure your Java applications to send OpenTelemetry traces to Lightstep Observability. This guide ...
Read more >Java Agent for OpenTracing - SpecialAgent
The SpecialAgent uses the OpenTracing API for Integrations that instrument 3rd-party libraries, as well as Trace Exporters that export trace data to OpenTracing ......
Read more >open-telemetry/opentelemetry-java
I have 4 services, one of them is in java, a spring boot app that I would like ... instrumentation using opentelemetry agent...
Read more >OpenTelemetry Deep Dive: Java - YouTube
OpenTelemetry is an open source framework that provides a single set of APIs, libraries, and instrumentation resources to capture ...
Read more >lightstep (with OpenTelemetry) – Index - Wilson Mar
Competitors · Observability Platform? · Who cares? (Customer stories) · Social · Hands-on intro. Java; CI/CD and API secret handling; Collector on ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @arpit728, can you test with v1.5.8 and let me know the results?
Hi @arpit728, I’ll close this issue. If you experience any other problems, don’t hesitate to open another issue.