We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9ad4bc commit 6ea3c0fCopy full SHA for 6ea3c0f
opentelemetry-api/src/opentelemetry/trace/span.py
@@ -592,7 +592,7 @@ def format_trace_id(trace_id: int) -> str:
592
trace_id: Trace ID int
593
594
Returns:
595
- The trace ID as 32-byte hexadecimal string
+ The trace ID (16 bytes) cast to a 32-character hexadecimal string
596
"""
597
return format(trace_id, "032x")
598
@@ -603,6 +603,6 @@ def format_span_id(span_id: int) -> str:
603
span_id: Span ID int
604
605
606
- The span ID as 16-byte hexadecimal string
+ The span ID (8 bytes) cast to a 16-character hexadecimal string
607
608
return format(span_id, "016x")
0 commit comments