Skip to content

fix(stackable-telemetry/webhook): Correctly extract connect and host info in Axum trace layer #806

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

Merged
merged 14 commits into from
Jun 12, 2024

Conversation

Techassi
Copy link
Member

@Techassi Techassi commented Jun 7, 2024

This correctly extract the server.address, server.port, client.address and client.port fields in the OpenTelemetry compatible traces.

This fix requires changes in the stackable-webhook crate to instruct various parts of the connection handling chain to extract the required data, which can be consumed by the stackable-telemetry crate.

Screenshot

image

@Techassi Techassi self-assigned this Jun 7, 2024
@Techassi Techassi marked this pull request as ready for review June 12, 2024 10:49
@NickLarsenNZ NickLarsenNZ self-requested a review June 12, 2024 10:50
NickLarsenNZ
NickLarsenNZ previously approved these changes Jun 12, 2024
Copy link
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

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

LGTM, left some comments and suggestions, none of which are blockers.

@NickLarsenNZ NickLarsenNZ self-requested a review June 12, 2024 13:43
Copy link
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

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

LGTM

@Techassi Techassi enabled auto-merge June 12, 2024 13:45
@Techassi Techassi added this pull request to the merge queue Jun 12, 2024
Merged via the queue into main with commit c5032a3 Jun 12, 2024
@Techassi Techassi deleted the fix/stackable-telemetry-connect-info-and-host-header branch June 12, 2024 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants