getsentry / sentry-java

A Sentry SDK for Java, Android and other JVM languages.
https://docs.sentry.io/
MIT License
1.16k stars 435 forks source link

Automatically create `op` from span attributes conditionally 5a #3905

Closed adinauer closed 1 day ago

adinauer commented 3 days ago

:scroll: Description

Disabled auto op generation based on instrumentation name. We only do it if it's an OTel SDK auto instrumentation.

:bulb: Motivation and Context

Solution 5a from https://github.com/getsentry/sentry-java/issues/3904

:green_heart: How did you test it?

:pencil: Checklist

:crystal_ball: Next steps

github-actions[bot] commented 3 days ago
Fails
:no_entry_sign: Please consider adding a changelog entry for the next release.
Messages
:book: Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

- Automatically create `op` from span attributes conditionally 5a ([#3905](https://github.com/getsentry/sentry-java/pull/3905))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description.

Generated by :no_entry_sign: dangerJS against 2fef9120e81e74122ff253a1e89c6ce66c68cf7e

adinauer commented 1 day ago

Closing this in favor of https://github.com/getsentry/sentry-java/pull/3906