Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gradle task to start OTel samples (with agent) #3880

Open
adinauer opened this issue Nov 12, 2024 · 1 comment
Open

Add gradle task to start OTel samples (with agent) #3880

adinauer opened this issue Nov 12, 2024 · 1 comment
Assignees

Comments

@adinauer
Copy link
Member

adinauer commented Nov 12, 2024

Description

Add gradle task to start OTel samples (with agent) to simplify starting the samples. Currently starting involves setting up a run config with path to the agent.jar plus some ENV vars.

This would also mean we don't have to update the path to the agent.jar after each release in local run configs.

@adinauer
Copy link
Member Author

adinauer commented Nov 12, 2024

  • Current VM options: -javaagent:"sentry-java/sentry-opentelemetry/sentry-opentelemetry-agent/build/libs/sentry-opentelemetry-agent-8.0.0.1.jar" -Dotel.javaagent.debug=true
  • ENV vars: OTEL_LOGS_EXPORTER=none;OTEL_METRICS_EXPORTER=none;OTEL_TRACES_EXPORTER=none;SENTRY_AUTO_INIT=true;SENTRY_DEBUG=true;SENTRY_PROPERTIES_FILE=sentry.properties

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs Discussion
Development

No branches or pull requests

2 participants