Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sid (0.36 sec)

  1. common/scripts/tracing.sh

      # Always generate a new span ID
      local sid
      sid="$(tr -dc 'a-f0-9' < /dev/urandom | head -c 16)"
    
      # Execute the command they wanted with the propagation through TRACEPARENT
      if [[ $was_execution_trace == 1 ]]; then
        { set -x; } 2>/dev/null
      fi
    
      TRACEPARENT="00-${tid}-${sid}-01" "${@:2}"
      local result="$?"
      { set +x; } 2>/dev/null
    
      local end
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jul 28 15:25:47 GMT 2023
    - 4.1K bytes
    - Viewed (0)
Back to top