Skip to content

Conversation

@siddhijain
Copy link
Contributor

@siddhijain siddhijain commented Sep 22, 2025

Fixes AB#2973488
Helper method to record elapsed time in Otel

@siddhijain siddhijain requested a review from a team as a code owner September 22, 2025 21:23
Copilot AI review requested due to automatic review settings September 22, 2025 21:23
@github-actions
Copy link

✅ Work item link check complete. Description contains link AB#2973488 to an Azure Boards work item.

Copy link
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 a helper method to simplify recording elapsed time in OpenTelemetry by calculating the duration between a start time and the current time, then recording it as a span attribute.

  • Adds a new recordElapsedTime method to the OTelUtility class for measuring and recording time durations

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

@github-actions github-actions bot changed the title Helper method to record elapsed time in Otel Helper method to record elapsed time in Otel, Fixes AB#2973488 Sep 22, 2025
@siddhijain siddhijain requested a review from a team as a code owner September 23, 2025 14:28
Copy link
Contributor

@mohitc1 mohitc1 left a comment

Choose a reason for hiding this comment

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

:shipit:

@siddhijain siddhijain added the Skip-Consumers-Check Only include this if making a breaking change purposefully, and there is an MSAL/ADAL/Broker PR label Sep 23, 2025
@siddhijain siddhijain merged commit 8038c39 into dev Sep 23, 2025
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skip-Consumers-Check Only include this if making a breaking change purposefully, and there is an MSAL/ADAL/Broker PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants