Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ RUN chmod 755 /healthcheck.sh
HEALTHCHECK --interval=15s --timeout=3s --retries=3 --start-period=30s \
CMD /healthcheck.sh || exit 1

# Add otel java agent and pyroscope extension
ARG OTEL_AGENT_VERSION=v2.21.0
ARG OTEL_PYROSCOPE_VERSION=v1.0.4
ADD "https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/${OTEL_AGENT_VERSION}/opentelemetry-javaagent.jar" "/usr/local/lib/opentelemetry-javaagent.jar"
ADD "https://github.com/grafana/otel-profiling-java/releases/download/${OTEL_PYROSCOPE_VERSION}/pyroscope-otel.jar" "/usr/local/lib/pyroscope-otel.jar"

# Where we start our server from
WORKDIR $FUSEKI_HOME
EXPOSE 3030
Expand Down
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ if [ -z "$JVM_ARGS" ]; then
# this is the default if not set, see /jena-fuseki/fuseki-server wrapper
JVM_ARGS="-Xmx4G"
fi
export JVM_ARGS="${JVM_ARGS} --enable-native-access=ALL-UNNAMED --add-modules=jdk.incubator.vector"
#export JVM_ARGS="${JVM_ARGS} --enable-native-access=ALL-UNNAMED --add-modules=jdk.incubator.vector"
info "JVM_ARGS: $JVM_ARGS"

# Start Fueski server
Expand Down
Loading