-
-
Couldn't load subscription status.
- Fork 460
POTEL 70 - Add sentry-opentelemetry-agentless-spring module
#4000
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
Conversation
…the ScopesStorage is initialized
Instructions and example for changelogPlease add an entry to Example: ## Unreleased
- POTEL 70 - Add `sentry-opentelemetry-agentless-spring` module ([#4000](https://github.com/getsentry/sentry-java/pull/4000))If none of the above apply, you can opt out of this check by adding |
Performance metrics 🚀
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Left one suggestion and a question
| options -> { | ||
| options.setDsn("..."); | ||
| ... | ||
| OpenTelemetryUtil.applyOpenTelemetryOptions(options, false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be removed, as it is now obsolete. I suggest we do that in the #3978 PR
| api(Config.Libs.OpenTelemetry.otelSdk) | ||
| api(Config.Libs.OpenTelemetry.otelSemconv) | ||
| api(Config.Libs.OpenTelemetry.otelSemconvIncubating) | ||
| api(Config.Libs.OpenTelemetry.otelExtensionAutoconfigure) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we not depending on the sentry-opentelemetry-agentless module because of the AgentlessMarker?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I thought, it might cause more issues than save work to reuse the other agentless module here since there's very little in both currently.
📜 Description
Add
sentry-opentelemetry-agentless-springmodule💡 Motivation and Context
So we can bring the right version of
opentelemetry-spring-boot-starterand also add a marker which can then later be detected for auto configuration.💚 How did you test it?
📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps