Skip to content

chore: capture correct status code on faas pod time out - #2831

Merged
Jayachand merged 1 commit into
developfrom
fix.capture-faas-timeout-error-code
Nov 16, 2023
Merged

Jayachand merged 1 commit into
developfrom
fix.capture-faas-timeout-error-code

Conversation

@abhimanyubabbar

@abhimanyubabbar abhimanyubabbar commented Nov 16, 2023 •

Copy link
Copy Markdown
Contributor

Description of the change

We were getting notified for faas timed out alerts in the system because it was getting captured with status code 400 inspite of status code 504 timedout. The error itself is a valid error and doesn't need to raise an alert on.

The fix raises the error with code as well to allow the stat to capture the code and then we will make changes in alert to bypass this code i.e. 504.

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 DAT-508 https://linear.app/rudderstack/issue/DAT-508/python-transformations-high-internal-error-count

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

@abhimanyubabbar abhimanyubabbar changed the title capture correct status code on faas pod time out chore: capture correct status code on faas pod time out Nov 16, 2023
@abhimanyubabbar
abhimanyubabbar marked this pull request as ready for review November 16, 2023 10:24
@abhimanyubabbar
abhimanyubabbar requested review from a team as code owners November 16, 2023 10:24
@Jayachand
Jayachand self-requested a review November 16, 2023 10:27
@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

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@Jayachand
Jayachand merged commit e5f8714 into develop Nov 16, 2023
@Jayachand
Jayachand deleted the fix.capture-faas-timeout-error-code branch November 16, 2023 12:22
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