Skip to content

chore: added router specific destinations latency metric - #2383

Merged
anantjain45823 merged 4 commits into
developfrom
chore/routerlatencymetric
Jul 21, 2023
Merged

anantjain45823 merged 4 commits into
developfrom
chore/routerlatencymetric

Conversation

@anantjain45823

Copy link
Copy Markdown
Contributor

Description of the change

Adding latency metric for router transform destinations like MP.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Fix #1

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
  • "Ready for review" label attached to the PR and reviewers mentioned in a comment
  • Changes have been reviewed by at least one other engineer
  • Issue from task tracker has a link to this pull request

@anantjain45823
anantjain45823 requested a review from sanpj2292 July 20, 2023 11:53
@anantjain45823 anantjain45823 self-assigned this Jul 20, 2023
@anantjain45823
anantjain45823 requested review from a team as code owners July 20, 2023 11:53
@anantjain45823
anantjain45823 requested a review from a team July 20, 2023 11:53
@anantjain45823
anantjain45823 requested a review from koladilip July 20, 2023 11:53
@codecov

codecov Bot commented Jul 20, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (707cff0) 86.57% compared to head (a9dfd10) 86.58%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2383   +/-   ##
========================================
  Coverage    86.57%   86.58%           
========================================
  Files          550      550           
  Lines        27587    27594    +7     
  Branches      6598     6598           
========================================
+ Hits         23884    23891    +7     
  Misses        3348     3348           
  Partials       355      355           
Impacted Files Coverage Δ
src/util/prometheus.js 7.07% <ø> (ø)
src/controllers/destination.ts 83.95% <100.00%> (+0.83%) ⬆️
src/controllers/regulation.ts 85.18% <100.00%> (+1.85%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Comment thread src/controllers/destination.ts Resolved
@sanpj2292

Copy link
Copy Markdown
  • Can we also add the same metric for batch endpoint ?
  • Check if we have a way of getting timing metrics for /deleteUsers endpoint and add a metric similar to this one, there as well ?

Comment thread src/controllers/destination.ts Resolved
@sanpj2292
sanpj2292 self-requested a review July 20, 2023 15:35
mihir-4116
mihir-4116 previously approved these changes Jul 21, 2023

@mihir-4116 mihir-4116 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Comment thread src/controllers/destination.ts Resolved
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@mihir-4116
mihir-4116 self-requested a review July 21, 2023 06:08
@anantjain45823
anantjain45823 merged commit b6d1018 into develop Jul 21, 2023
@devops-github-rudderstack
devops-github-rudderstack deleted the chore/routerlatencymetric branch October 22, 2023 01:26
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