Skip to content

fix: enable metrics for intermediate calls - #4724

Merged
vinayteki95 merged 2 commits into
hotfix/23102025-track-outgoing-requestsfrom
fix.metrics-for-intermediate-calls
Oct 23, 2025
Merged

vinayteki95 merged 2 commits into
hotfix/23102025-track-outgoing-requestsfrom
fix.metrics-for-intermediate-calls

Conversation

@vinayteki95

@vinayteki95 vinayteki95 commented Oct 22, 2025 •

Copy link
Copy Markdown
Contributor

What are the changes introduced in this PR?

  • Reintroduced metrics tracking for outgoing calls in transformer which was removed earlier in this PR
  • Enhanced http wrapper written around axios to disable metrics conditionally
  • This disable metrics argument is used for networkHandler(proxy) flow tracking only intermediate calls.

What is the related Linear task?

Resolves INT-4258

Please explain the objectives of your changes below

We want to track intermediate calls happening via transformer. Proxy and Router calls are being tracked from server.

Any changes to existing capabilities/behaviour, mention the reason & what are the changes ?

Yes. Reintroduced outgoing request metrics for intermediate calls only.

Any new dependencies introduced with this change?

No

Any new generic utility introduced or modified. Please explain the changes.

No

Any technical or performance related pointers to consider with the change?

No

@coderabbitai review


Developer checklist

  • My code follows the style guidelines of this project

  • No breaking changes are being introduced.

  • All related docs linked with the PR?

  • All changes manually tested?

  • Any documentation changes needed with this change?

  • Is the PR limited to 10 file changes?

  • Is the PR limited to one linear task?

  • Are relevant unit and component test-cases added in new readability format?

Reviewer checklist

  • Is the type of change in the PR title appropriate as per the changes?

  • Verified that there are no credentials or confidential data exposed with the changes.

@coderabbitai

coderabbitai Bot commented Oct 22, 2025 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix.metrics-for-intermediate-calls

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

const { httpResponse } = await handleHttpRequest('constructor', requestBody, {
feature: 'proxy',
destType: 'gogole_adwords_offline_conversions',
destType: 'google_adwords_offline_conversions',

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The name of the destType had a typo. Are we okay to fix it? we have to stitch it in our dashboards in the future though.

@devops-github-rudderstack

Copy link
Copy Markdown
Contributor

Allure Test reports for this run are available at:

@codecov

codecov Bot commented Oct 22, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.83%. Comparing base (1375eef) to head (9cf8f05).
⚠️ Report is 3 commits behind head on hotfix/23102025-track-outgoing-requests.

Additional details and impacted files
@@                             Coverage Diff                             @@
##           hotfix/23102025-track-outgoing-requests    #4724      +/-   ##
===========================================================================
- Coverage                                    91.92%   91.83%   -0.10%     
===========================================================================
  Files                                          651      651              
  Lines                                        34589    34609      +20     
  Branches                                      8117     8128      +11     
===========================================================================
- Hits                                         31796    31782      -14     
- Misses                                        2544     2575      +31     
- Partials                                       249      252       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sonarqubecloud

Copy link
Copy Markdown

@vinayteki95
vinayteki95 changed the base branch from main to hotfix/23102025-track-outgoing-requests October 23, 2025 06:18
@vinayteki95
vinayteki95 marked this pull request as ready for review October 23, 2025 06:19
@vinayteki95
vinayteki95 requested a review from a team as a code owner October 23, 2025 06:19
@vinayteki95
vinayteki95 requested review from krishna2020, maheshkutty and saikumarrs and removed request for a team and maheshkutty October 23, 2025 06:19
@vinayteki95
vinayteki95 merged commit f3f5bb5 into hotfix/23102025-track-outgoing-requests Oct 23, 2025
@vinayteki95
vinayteki95 deleted the fix.metrics-for-intermediate-calls branch October 23, 2025 07:13
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