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

Enhance boto3 instrumentation to capture HTTP headers in all four flavours #499

Merged
merged 12 commits into from
Feb 7, 2024

Conversation

GSVarsha
Copy link
Contributor

What

Enhance boto3 instrumentation to capture HTTP headers in all four flavours

Signed-off-by: Varsha GS [email protected]

References

Why

According to our spec, tracers SHOULD capture all four flavours of HTTP headers.

Copy link
Collaborator

@Ferenc- Ferenc- left a comment

Choose a reason for hiding this comment

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

The request header extraction should either focus on headers that paricipate in the HTTP call, or should be omitted.

@GSVarsha GSVarsha requested a review from Ferenc- January 31, 2024 11:17
Copy link
Collaborator

@Ferenc- Ferenc- left a comment

Choose a reason for hiding this comment

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

If we want pursue the extraction from request headers, then we should ensure that it works when the headers are added with event_system.register_first('before-sign.s3.CreateBucket', _add_header).

Copy link
Collaborator

@Ferenc- Ferenc- left a comment

Choose a reason for hiding this comment

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

Very well done! Hats off.

@GSVarsha GSVarsha marked this pull request as ready for review February 6, 2024 12:03
@GSVarsha GSVarsha closed this Feb 6, 2024
@GSVarsha GSVarsha reopened this Feb 6, 2024
@GSVarsha GSVarsha force-pushed the enhance-boto3-instrumentation branch from 89d519c to 06268d2 Compare February 6, 2024 12:29
@GSVarsha GSVarsha requested a review from Ferenc- February 6, 2024 12:49
Signed-off-by: Varsha GS <[email protected]>
@Ferenc- Ferenc- merged commit fa2e561 into master Feb 7, 2024
12 checks passed
@Ferenc- Ferenc- deleted the enhance-boto3-instrumentation branch February 7, 2024 10:39
@GSVarsha GSVarsha removed the wip work in progress label Feb 7, 2024
@GSVarsha GSVarsha added this to the H1-2024 milestone Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants