You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: utils/py-utils/dl_utils/trace_context.py
+2-5Lines changed: 2 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,13 @@
1
1
"""W3C TraceContext helpers for Digital Letters using OpenTelemetry.
2
2
3
-
Uses the OpenTelemetry API for context propagation. This means:
4
-
- Trace IDs and span IDs are generated by the OTel SDK
3
+
Uses the OpenTelemetry API only. No SDK is initialised here as the TracerProvider
4
+
is supplied at runtime by the ADOT Lambda Layer.
5
5
- traceparent strings are standard W3C format: 00-<trace-id:32hex>-<parent-id:16hex>-<flags:2hex>
6
-
- When an ADOT exporter is later configured, these traces will automatically flow into X-Ray / CloudWatch Application Signals with no code changes needed
0 commit comments