sentry-python
sentry-python copied to clipboard
Improve POTel span/description/status logic
@sentrivana moved op/description/status logic to utils, but status mapping will be done separately. Maybe @szokeasaurusrex can look into making this logic as similar to JS as possible, but for now this is good enough for this PR.
https://github.com/getsentry/sentry-javascript/blob/master/packages/opentelemetry/src/utils/mapStatus.ts https://github.com/getsentry/sentry-javascript/blob/master/packages/opentelemetry/src/utils/parseSpanDescription.ts
Originally posted by @sl0thentr0py in https://github.com/getsentry/sentry-python/issues/3223#issuecomment-2203101277