Skip to content

Optimize features context reads in TelemetryEventHandler#2576

Merged
0xnm merged 1 commit into
developfrom
nogorodnikov/optimize-feature-context-reads-in-telemetry-event-handler
Apr 2, 2025
Merged

Optimize features context reads in TelemetryEventHandler#2576
0xnm merged 1 commit into
developfrom
nogorodnikov/optimize-feature-context-reads-in-telemetry-event-handler

Conversation

@0xnm

@0xnm 0xnm commented Apr 2, 2025

Copy link
Copy Markdown
Member

What does this PR do?

A very minor 🤏 optimization for the features context read in the TelemetryEventHandler: it is already available in the DatadogContext object, so there is no need to do additional queries.

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

@0xnm
0xnm requested review from a team as code owners April 2, 2025 09:28
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.17%. Comparing base (05e490a) to head (5419577).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2576   +/-   ##
========================================
  Coverage    70.17%   70.17%           
========================================
  Files          808      808           
  Lines        30301    30300    -1     
  Branches      5073     5075    +2     
========================================
  Hits         21263    21263           
+ Misses        7629     7625    -4     
- Partials      1409     1412    +3     
Files with missing lines Coverage Δ
...ndroid/telemetry/internal/TelemetryEventHandler.kt 87.33% <100.00%> (+0.29%) ⬆️

... and 27 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@0xnm
0xnm merged commit 50a8e24 into develop Apr 2, 2025
@0xnm
0xnm deleted the nogorodnikov/optimize-feature-context-reads-in-telemetry-event-handler branch April 2, 2025 10:33
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.

3 participants