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

Logs do not contain OTEL tracing information #2048

Closed
3 tasks done
dadrus opened this issue Dec 19, 2024 · 0 comments
Closed
3 tasks done

Logs do not contain OTEL tracing information #2048

dadrus opened this issue Dec 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dadrus
Copy link
Owner

dadrus commented Dec 19, 2024

Preflight checklist

  • I agree to follow this project's Code of Conduct.
  • I have read and am following this repository's Contribution Guidelines."
  • I could not find a solution in the existing issues, docs, nor discussions.

Describe the bug

Older versions of the project have logged OTEL tracing information which allowed correlation of logs and tracing. This functionality is lost now.

How can the bug be reproduced

Just use one of the docker-compose based examples from the main branch and from the older alpha tagged versions. The older will log the relevant data. The newer do not (including the version from the main branch).

Relevant log output

The following snippet shows the expected entries (_parent_id (optionally), _span_id and_trace_id)

heimdall-1       | 2024-12-19T12:08:58Z INF TX started _client_ip=172.19.0.6 _grpc_method=/envoy.service.auth.v3.Authorization/Check _parent_id=087c75897ee82b3c _span_id=5cc9d98b1ddffd1c _trace_id=12eafcb6359e2734ade125841f5f41e9 _tx_start=1734610138 _x_forwarded_for=172.19.0.6
heimdall-1       | 2024-12-19T12:08:58Z INF Executing rule _id=demo:protected _parent_id=087c75897ee82b3c _span_id=5cc9d98b1ddffd1c _src=file_system:/etc/heimdall/rules.yaml _trace_id=12eafcb6359e2734ade125841f5f41e9
heimdall-1       | 2024-12-19T12:08:58Z INF TX finished _access_granted=true _client_ip=172.19.0.6 _grpc_method=/envoy.service.auth.v3.Authorization/Check _grpc_status_code=0 _parent_id=087c75897ee82b3c _span_id=5cc9d98b1ddffd1c _subject=2 _trace_id=12eafcb6359e2734ade125841f5f41e9 _tx_duration_ms=-7 _tx_start=1734610138 _x_forwarded_for=172.19.0.6

Relevant configuration

No response

Version

0.15.3

On which operating system are you observing this issue?

Linux

In which environment are you deploying?

Docker Compose

Additional Context

No response

@dadrus dadrus added the bug Something isn't working label Dec 19, 2024
@dadrus dadrus closed this as completed Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant