Skip to content

chore(INT-377): introduce endpointPath label for outgoing_request_latency stat in Braze - #2485

Merged
yashasvibajpai merged 2 commits into
developfrom
chore.endpoint.label.for.req.latency.metric
Aug 18, 2023
Merged

yashasvibajpai merged 2 commits into
developfrom
chore.endpoint.label.for.req.latency.metric

Conversation

@yashasvibajpai

Copy link
Copy Markdown
Contributor

Description of the change

Introducing endpointPath label for outgoing_request_latency, so as to gain more visibility on the API endpoints with the most latency.
For now, Braze is introduced with this change.

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

@codecov

codecov Bot commented Aug 15, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 66.66% and project coverage change: -0.01% ⚠️

Comparison is base (e5a7023) 86.64% compared to head (36cdeb5) 86.64%.
Report is 19 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2485      +/-   ##
===========================================
- Coverage    86.64%   86.64%   -0.01%     
===========================================
  Files          563      563              
  Lines        27864    27911      +47     
  Branches      6669     6659      -10     
===========================================
+ Hits         24144    24184      +40     
- Misses        3366     3374       +8     
+ Partials       354      353       -1     
Files Changed Coverage Δ
src/util/prometheus.js 7.07% <ø> (ø)
src/v0/destinations/braze/deleteUsers.js 97.29% <50.00%> (+0.07%) ⬆️
src/util/myAxios.js 65.90% <100.00%> (+0.79%) ⬆️

... and 10 files with indirect coverage changes

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

@yashasvibajpai yashasvibajpai changed the title chore: introduce endpointPath label for outgoing_request_latency stat in Braze chore (INT-237): introduce endpointPath label for outgoing_request_latency stat in Braze Aug 16, 2023
@yashasvibajpai yashasvibajpai changed the title chore (INT-237): introduce endpointPath label for outgoing_request_latency stat in Braze chore (INT-377): introduce endpointPath label for outgoing_request_latency stat in Braze Aug 16, 2023
@linear

linear Bot commented Aug 16, 2023

Copy link
Copy Markdown
INT-377 Update endpoint label and support in latency metric

Update the destination API endpoint path as label for the newly introduced latency metric

Reviewer: dilipkola chandu

@rudderlabs rudderlabs deleted a comment from linear Bot Aug 16, 2023
@yashasvibajpai yashasvibajpai changed the title chore (INT-377): introduce endpointPath label for outgoing_request_latency stat in Braze chore(INT-377): introduce endpointPath label for outgoing_request_latency stat in Braze Aug 16, 2023
koladilip
koladilip previously approved these changes Aug 16, 2023
@koladilip

Copy link
Copy Markdown
Contributor

we need to do the same for rudder-server too where delivery is happening

@koladilip

Copy link
Copy Markdown
Contributor

@yashasvibajpai what about other end points we make calls?

@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 1 Code Smell

60.0% 60.0% Coverage
0.0% 0.0% Duplication

@yashasvibajpai
yashasvibajpai merged commit 5ec97bb into develop Aug 18, 2023
@devops-github-rudderstack
devops-github-rudderstack deleted the chore.endpoint.label.for.req.latency.metric branch November 17, 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