Skip to content

Conversation

@GSVarsha
Copy link
Contributor

What

Enhance boto3 instrumentation to capture HTTP headers in all four flavours

Signed-off-by: Varsha GS varsha.gs@ibm.com

References

Why

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

Copy link
Member

@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
Member

@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
Member

@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
Signed-off-by: Varsha GS <varsha.gs@ibm.com>
…ssert statements

Signed-off-by: Varsha GS <varsha.gs@ibm.com>
Signed-off-by: Varsha GS <varsha.gs@ibm.com>
Signed-off-by: Varsha GS <varsha.gs@ibm.com>
Signed-off-by: Varsha GS <varsha.gs@ibm.com>
Signed-off-by: Varsha GS <varsha.gs@ibm.com>
Signed-off-by: Varsha GS <varsha.gs@ibm.com>
Signed-off-by: Varsha GS <varsha.gs@ibm.com>
Signed-off-by: Varsha GS <varsha.gs@ibm.com>
Signed-off-by: Varsha GS <varsha.gs@ibm.com>
Signed-off-by: Varsha GS <varsha.gs@ibm.com>
@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 <varsha.gs@ibm.com>
@Ferenc- Ferenc- merged commit fa2e561 into master Feb 7, 2024
@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.

3 participants