Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(extension): consider requests failed when status code is not 2xx #1658

Merged

Conversation

pkarakal
Copy link
Contributor

This updates the extension api client to consider requests as failed only when their status code is not 2xx. This is mostly required since AWS Lambda has updated the status code returned on successful extension registration from 200 to 201 and thus all lambda invocations fail.

@pkarakal pkarakal requested a review from a team as a code owner January 13, 2025 16:01
Copy link

linux-foundation-easycla bot commented Jan 13, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: pkarakal / name: Pavlos Karakalidis (bce5f1b)

@pkarakal pkarakal force-pushed the otel-collector-registration branch from 25a79e4 to 737071e Compare January 13, 2025 16:11
Copy link
Member

@tylerbenson tylerbenson left a comment

Choose a reason for hiding this comment

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

@rapphil @serkan-ozal does this look ok to you?

@pkarakal pkarakal force-pushed the otel-collector-registration branch from 737071e to ffc692c Compare January 13, 2025 17:43
@pkarakal pkarakal force-pushed the otel-collector-registration branch from ffc692c to db3f092 Compare January 13, 2025 17:53
@pkarakal pkarakal force-pushed the otel-collector-registration branch from db3f092 to bce5f1b Compare January 13, 2025 17:53
@tylerbenson tylerbenson merged commit e6b69d7 into open-telemetry:main Jan 14, 2025
14 checks passed
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