Skip to content

Conversation

@jaydeluca
Copy link
Member

No description provided.

@jaydeluca jaydeluca requested review from a team as code owners October 18, 2024 22:08
ADD build/agent/opentelemetry-javaagent.jar /opentelemetry-javaagent.jar

ENTRYPOINT java -jar -javaagent:/opentelemetry-javaagent.jar /app.jar
ENTRYPOINT java -javaagent:/opentelemetry-javaagent.jar -jar /app.jar
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the -jar -javaagent ordering was causing a manifest error trying to load the jar

@jaydeluca jaydeluca force-pushed the fix-declarative-config branch from 447c64c to 579ab02 Compare October 18, 2024 22:11
# Optional specify file configuration instead of using environment variable scheme
# To use, call "export OTEL_CONFIG_FILE=/sdk-config.yaml" before calling docker compose up
OTEL_CONFIG_FILE:
OTEL_EXPERIMENTAL_CONFIG_FILE: /sdk-config.yaml
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i figured this behavior could be the default in the example, but I can return it to being optional if we want

@jaydeluca
Copy link
Member Author

oops i dont know how i didnt notice the other PR 🤦

@jaydeluca jaydeluca closed this Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant