记得上下班打卡 | git大法好,push需谨慎

Commit a9818a7f authored by wangyifan's avatar wangyifan

添加jvm参数

parent 88518273
...@@ -41,6 +41,7 @@ echo "Resource Attributes: ${RESOURCE_ATTRS}" ...@@ -41,6 +41,7 @@ echo "Resource Attributes: ${RESOURCE_ATTRS}"
echo "Starting application..." echo "Starting application..."
exec java \ exec java \
${JAVA_OPTS} \
-javaagent:/app/opentelemetry-javaagent.jar \ -javaagent:/app/opentelemetry-javaagent.jar \
-Dotel.resource.attributes="${RESOURCE_ATTRS}" \ -Dotel.resource.attributes="${RESOURCE_ATTRS}" \
${OTEL_JAVA_OPTS} \ ${OTEL_JAVA_OPTS} \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment