-
Notifications
You must be signed in to change notification settings - Fork 19
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
Rewrite doesn't generate a trace #47
Comments
Can you provide minimal and complete config example to reproduce the issue? I'd guess, that "/private_api" location disables tracing. |
/api just rewrite to /private_api on the $host. My problem is that otel logs /api but when it's rewrite to /private_api otel don't detect it |
In my logs when i hit |
I was able to reproduce the issue, basically server level rewrites prevent trace generation. We'll need to fix that. |
Hi @p-pautov ! Thanks in advance ! |
Possibly. Rearranging config to avoid server level rewrites might be an option, in the meantime. |
Describe the bug
Hi, i have an nginx configurated with some location.
I also have a rewrite confs :
When i hit
/test
the trace are succesfully createdBut with
/client_name/api/...
there is no trace.I think that otel don't want to create a trace because he detect
/client_name/api/
and not/api/
after theExpected behavior
I want a trace for location after the rewrite
(before:
/client_name/api/
-> after:/api/
)Your environment
The text was updated successfully, but these errors were encountered: