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

feat(example): adds support for request ID propagation in logs. #1121

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jcchavezs
Copy link
Member

@jcchavezs jcchavezs commented Aug 3, 2024

This PR adds example code on how to propagate the request ID to the matched rules log cc @fardin01

Make sure that you've checked the boxes below before you submit PR:

Thanks for your contribution ❤️

@M4tteoP
Copy link
Member

M4tteoP commented Aug 14, 2024

Context: #1119.

Is this PR something that we want to merge to keep evident how this can be implemented? Or was it intended just to show it?
If I'm getting this right, in the context of the request, this solution should be ported to Caddy and rely on x-request-id header as the extra provided request_id.

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.

2 participants