Skip to content

Conversation

@joaofbantunes
Copy link
Member

No description provided.

@joaofbantunes joaofbantunes requested a review from Copilot June 28, 2025 15:48

This comment was marked as outdated.

@joaofbantunes joaofbantunes requested a review from Copilot June 28, 2025 16:24

This comment was marked as outdated.

@joaofbantunes joaofbantunes requested a review from Copilot June 28, 2025 16:40

This comment was marked as outdated.

@joaofbantunes joaofbantunes requested a review from Copilot June 28, 2025 16:45
Copy link

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 introduces instrumentation updates to enhance logging, tracing, and metrics across various components. Key changes include adding a logger to the CompletionRetrier, updating activity recording with error statuses and exception details in several services, and integrating an UpDownCounter for pending retry metrics.

Reviewed Changes

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

Show a summary per file
File Description
src/Core/ServiceCollectionExtensions.cs Adds a logger dependency to the CompletionRetrier factory method.
src/Core/Polling/PollingProducer.cs Enhances error logging with activity status updates in a catch block.
src/Core/Polling/CompletionRetrier.cs Modifies the retry logic details, updates metrics, and adds logger usage.
src/Core/OpenTelemetry/CompletionRetrierMetrics.cs Introduces an UpDownCounter for tracking pending retry messages.
src/Core/OpenTelemetry/ActivityShared.cs Adds an extension method to record exception details on activities.
src/Core/CleanUp/CleanUpBackgroundService.cs Updates the using pattern and enriches error telemetry in clean-up tasks.

@joaofbantunes joaofbantunes merged commit b1254be into main Jun 28, 2025
1 check passed
@joaofbantunes joaofbantunes deleted the o11y-instrumentation-improvements branch June 28, 2025 16:52
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