Skip to content

Conversation

@emilienbev
Copy link
Collaborator

Remove deprecated and redundant TracingIdentifiers.ATTR_OPERATION.

  • You have read the Spring Data contribution guidelines.
  • There is a ticket in the bug tracker for the project in our JIRA.
  • You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
  • You submit test cases (unit or integration tests) that back your changes.
  • You added yourself as author in the headers of the classes you touched. Amend the date range in the Apache license header if needed. For new types, add the license header (copy from another file and set the current year only).

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 6, 2026
…iers.ATTR_OPERATION

Signed-off-by: Emilien Bevierre <emilien.bevierre@couchbase.com>
CoreTransactionAttemptContext internal = ctxOpt.get().getCore();
RequestSpan span = CbTracing.newSpan(internal.core().context(), TRANSACTION_OP_INSERT,
internal.span());
span.attribute(TracingIdentifiers.ATTR_OPERATION, TRANSACTION_OP_INSERT);
Copy link

Choose a reason for hiding this comment

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

Just curious, I see the ATTR_OPERATION span attributes have been removed but I don't see any reasoning in the release notes.

Copy link

Choose a reason for hiding this comment

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

Nm. I see the change here as it was part of JDBC-2207. 👍🏻

Copy link

@onobc onobc left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the update!

CoreTransactionAttemptContext internal = ctxOpt.get().getCore();
RequestSpan span = CbTracing.newSpan(internal.core().context(), TRANSACTION_OP_INSERT,
internal.span());
span.attribute(TracingIdentifiers.ATTR_OPERATION, TRANSACTION_OP_INSERT);
Copy link

Choose a reason for hiding this comment

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

Nm. I see the change here as it was part of JDBC-2207. 👍🏻

Copy link

@onobc onobc left a comment

Choose a reason for hiding this comment

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

Oh, one post-review comment @emilienbev...

Do you mind adding yourself as @ author on the modified files?

Signed-off-by: Emilien Bevierre <emilien.bevierre@couchbase.com>
@emilienbev
Copy link
Collaborator Author

Thanks @onobc !

@emilienbev emilienbev merged commit a4e6887 into main Feb 6, 2026
4 checks passed
@emilienbev emilienbev deleted the UpgradeSDK3.11 branch February 6, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants