Skip to content

Commit

Permalink
code review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
andmat900 committed Jun 4, 2024
1 parent cd05bce commit 8a431a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etos_lib/logging/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get_current_otel_trace_id() -> str:
The OpenTelemetry trace id is a big integer by default, which is out of range
of the type 'long' in Elastic. For this reason the trace id is returned as string.
If OpenTelemetry is not enabled, this function will return "0".
If OpenTelemetry is not enabled, this function will return "00000000000000000000000000000000".
"""
current_span = trace.get_current_span()
trace_id = current_span.get_span_context().trace_id
Expand Down

0 comments on commit 8a431a5

Please sign in to comment.