File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,7 +43,9 @@ async function run() {
4343 // through GitHub Actions expression evaluation is unreliable.
4444 const inputTraceId = ( process . env . INPUT_TRACE_ID || "" ) . trim ( ) . toLowerCase ( ) ;
4545 if ( inputTraceId ) {
46- console . log ( `[otlp] using input trace-id: ${ inputTraceId } ` ) ;
46+ console . log ( `[otlp] INPUT_TRACE_ID=${ inputTraceId } (will reuse activation trace)` ) ;
47+ } else {
48+ console . log ( "[otlp] INPUT_TRACE_ID not set, a new trace ID will be generated" ) ;
4749 }
4850
4951 if ( ! endpoint ) {
@@ -54,6 +56,8 @@ async function run() {
5456
5557 const { traceId, spanId } = await sendJobSetupSpan ( { startMs, traceId : inputTraceId || undefined } ) ;
5658
59+ console . log ( `[otlp] resolved trace-id=${ traceId } ` ) ;
60+
5761 if ( endpoint ) {
5862 console . log ( `[otlp] setup span sent (traceId=${ traceId } , spanId=${ spanId } )` ) ;
5963 }
You can’t perform that action at this time.
0 commit comments