-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed as not planned
Labels
needs author feedbackWaiting for additional feedback from the authorWaiting for additional feedback from the authorstale
Description
Hi, after adding opentelemetry-javaagent.jar to the init command, it takes a minute longer to start the jvm. What are possible causes for that and how can I analyze and reduce the slow start? It doesn't seem to vary much between servers of different configs, so I think there might be some network issue during the startup? But it did report trace.
nohup java -javaagent:"$workspace"/AliyunJavaAgent/aliyun-java-agent.jar \
-Dmse.licenseKey="$licenseKey" \
-Dmse.appName="$appKey" \
-Dprofiler.micro.service.mse.version=pro \
-Dmse.namespace="$profile" \
-Dmse.enable=true \
-javaagent:"$workspace"/opentelemetry-javaagent.jar \
-Dotel.resource.attributes=service.name="$trace_service_name",service.version=v1.0.0,deployment.environment="$profile" \
-Dotel.exporter.otlp.protocol=http/protobuf \
-Dotel.exporter.otlp.traces.endpoint=http://tracing-analysis-dc-hz-internal.aliyuncs.com/xxx \
-Dotel.exporter.otlp.metrics.endpoint=http://tracing-analysis-dc-hz-internal.aliyuncs.com/xxx \
-Dotel.logs.exporter=none \
-jar "$jar_file" --spring.profiles.active="$profile" > "$workspace"/project.log 2>&1 &
Metadata
Metadata
Assignees
Labels
needs author feedbackWaiting for additional feedback from the authorWaiting for additional feedback from the authorstale