Skip to content

Migrate Pulsar messaging telemetry to v1.43 preview#19273

Draft
trask wants to merge 4 commits into
open-telemetry:mainfrom
trask:messaging-v1-43-pulsar
Draft

Migrate Pulsar messaging telemetry to v1.43 preview#19273
trask wants to merge 4 commits into
open-telemetry:mainfrom
trask:messaging-v1-43-pulsar

Conversation

@trask

@trask trask commented Jul 19, 2026

Copy link
Copy Markdown
Member

Depends on #19268.

Dependency baseline: 9b5ec57607668f417ce57a15c2281897fcb3f774.
Review only: 9b5ec57607668f417ce57a15c2281897fcb3f774..2fe52dc7cb1a23690d1af7b8270c50914971daed.

Exactly one Pulsar commit. Pulsar and Spring Pulsar use typed telemetry; Spring always provides a stable consumed fallback and selects it only when core receive telemetry did not mark the message. Stable metric assertions follow pinned v1.43 advice. Receive-enabled stable tests cover listener process spans in producer traces, separate linked receive roots, and root async callbacks.

Validated: full Pulsar javaagent check; focused stable receive-enabled topology under default and latest dependencies; Pulsar stable/dual/latest-deps receive-disabled suites; Spring Pulsar enabled/disabled suites; cross-scope consumed-metric deduplication; and Spotless.

@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Jul 19, 2026

Copy link
Copy Markdown

Pull request dashboard status

Status last refreshed: 2026-07-22 16:49:42 UTC.

  • Waiting on: Author
  • Next step: Move out of draft to request review.

This automated status or its linked feedback items may be incorrect. If something looks wrong, please report it with the result you expected.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Migrates Pulsar and Spring Pulsar telemetry to the shared messaging v1.43 preview infrastructure.

Changes:

  • Updates span naming, kinds, parenting, links, and metrics.
  • Adds old, preview, and dual-emission assertions.
  • Adds preview-mode Gradle test tasks.

Reviewed changes

Copilot reviewed 40 out of 40 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
instrumentation/pulsar/pulsar-2.8/javaagent/build.gradle.kts Adds preview and dual-emission test tasks.
instrumentation/pulsar/pulsar-2.8/javaagent/src/main/java/.../PulsarSingletons.java Migrates Pulsar instrumenters and context propagation.
instrumentation/pulsar/pulsar-2.8/javaagent/src/test/java/.../AbstractPulsarClientTest.java Adapts shared assertions for both conventions.
instrumentation/pulsar/pulsar-2.8/javaagent/src/test/java/.../PulsarClientTest.java Updates span and metric expectations.
instrumentation/spring/spring-pulsar-1.0/javaagent/build.gradle.kts Adds preview-mode testing.
instrumentation/spring/spring-pulsar-1.0/javaagent/src/main/java/.../SpringPulsarSingletons.java Uses the shared process instrumenter factory.
instrumentation/spring/spring-pulsar-1.0/javaagent/src/test/java/.../SpringPulsarTest.java Updates preview span expectations.
instrumentation/spring/spring-pulsar-1.0/javaagent/src/testReceiveSpansDisabled/java/.../SpringPulsarSuppressReceiveSpansTest.java Adds convention-dependent assertions.
instrumentation/spring/spring-pulsar-1.0/testing/src/main/java/.../AbstractSpringPulsarTest.java Supports old and preview operation attributes.

Comment thread instrumentation/pulsar/pulsar-2.8/javaagent/build.gradle.kts
Comment thread instrumentation/spring/spring-pulsar-1.0/javaagent/build.gradle.kts

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 40 out of 40 changed files in this pull request and generated 1 comment.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 41 out of 41 changed files in this pull request and generated 1 comment.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 41 out of 41 changed files in this pull request and generated no new comments.

@trask
trask force-pushed the messaging-v1-43-pulsar branch from 62cf466 to 3894439 Compare July 20, 2026 15:48
@trask
trask requested a review from Copilot July 20, 2026 15:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 41 out of 41 changed files in this pull request and generated no new comments.

@trask
trask force-pushed the messaging-v1-43-pulsar branch from 3894439 to 0b319a5 Compare July 21, 2026 05:22
@trask
trask requested a review from Copilot July 21, 2026 05:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 41 out of 41 changed files in this pull request and generated 2 comments.

@trask
trask force-pushed the messaging-v1-43-pulsar branch from 0b319a5 to 3784f77 Compare July 21, 2026 05:37
@trask
trask requested a review from Copilot July 21, 2026 06:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 41 out of 41 changed files in this pull request and generated 1 comment.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 41 out of 41 changed files in this pull request and generated no new comments.

@trask
trask force-pushed the messaging-v1-43-pulsar branch from 9641d71 to adf131f Compare July 21, 2026 14:25
@trask
trask requested a review from Copilot July 21, 2026 14:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 43 out of 43 changed files in this pull request and generated no new comments.

Comments suppressed due to low confidence (1)

instrumentation/spring/spring-pulsar-1.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/spring/pulsar/v1_0/SpringPulsarSingletons.java:40

  • [General] The fallback is aliased away whenever receive telemetry is globally enabled, even when core Pulsar instrumentation is disabled or its receive instrumenter does not start. In that case wasReceiveTelemetryRecorded(message) is false, but selecting instrumenterWithConsumedMessages still records no consumed-message metric. Build the fallback variant whenever stable messaging semconv is active; the per-message marker already prevents duplicate recording.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 43 out of 43 changed files in this pull request and generated no new comments.

@trask
trask force-pushed the messaging-v1-43-pulsar branch from adf131f to 5269169 Compare July 21, 2026 16:44
@trask
trask requested a review from Copilot July 21, 2026 16:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 43 out of 43 changed files in this pull request and generated 1 comment.

@trask
trask force-pushed the messaging-v1-43-pulsar branch from 5269169 to a7cb95e Compare July 21, 2026 17:00
@trask
trask requested a review from Copilot July 21, 2026 17:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 43 out of 43 changed files in this pull request and generated no new comments.

@trask
trask force-pushed the messaging-v1-43-pulsar branch from a7cb95e to 75aaf92 Compare July 21, 2026 17:42
@trask
trask requested a review from Copilot July 21, 2026 17:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 43 out of 43 changed files in this pull request and generated no new comments.

@trask
trask force-pushed the messaging-v1-43-pulsar branch from 75aaf92 to 6b35cca Compare July 22, 2026 02:15
@trask
trask requested a review from Copilot July 22, 2026 02:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 43 out of 43 changed files in this pull request and generated no new comments.

@trask
trask force-pushed the messaging-v1-43-pulsar branch from 6b35cca to 2fe52dc Compare July 22, 2026 03:15
@trask
trask requested a review from Copilot July 22, 2026 03:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 43 out of 43 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants