Skip to content

instrumenting selector#37

Merged
WendelHime merged 4 commits intomainfrom
feat/instrumenting-selector
Aug 29, 2025
Merged

instrumenting selector#37
WendelHime merged 4 commits intomainfrom
feat/instrumenting-selector

Conversation

@WendelHime
Copy link
Copy Markdown
Contributor

No description provided.

@WendelHime WendelHime marked this pull request as ready for review August 28, 2025 23:21
Copilot AI review requested due to automatic review settings August 28, 2025 23:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds instrumentation to selector and URLTest outbound protocols by wrapping them with OpenTelemetry tracing capabilities.

  • Adds selector and urltest to the list of supported protocols
  • Registers new instrumented versions of Selector and URLTest outbounds
  • Implements tracing for network operations (DialContext, ListenPacket) and connection handling

Reviewed Changes

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

File Description
protocol/register.go Adds "selector" and "urltest" to supported protocols and registers their instrumented versions
protocol/group/urltest.go Implements instrumented URLTest outbound with OpenTelemetry tracing for network operations
protocol/group/selector.go Implements instrumented Selector outbound with OpenTelemetry tracing for network and connection operations

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Copy Markdown
Collaborator

@garmr-ulfr garmr-ulfr left a comment

Choose a reason for hiding this comment

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

One comment, but otherwise LGTM!

Copy link
Copy Markdown
Contributor

@myleshorton myleshorton left a comment

Choose a reason for hiding this comment

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

LGTM!

@WendelHime WendelHime merged commit 09f950c into main Aug 29, 2025
1 check passed
@WendelHime WendelHime deleted the feat/instrumenting-selector branch August 29, 2025 18:51
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.

4 participants