Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for tid (0.14 sec)

  1. common/scripts/tracing.sh

      local start
      start="$(date -u +%s.%N)"
      # First, get a trace and span ID. We need to get one now so we can propagate it to the child
      # Get trace ID from TRACEPARENT, if present
      local tid
      tid="$(<<<"${TRACEPARENT:-}" cut -d- -f2)"
      tid="${tid:-"$(tr -dc 'a-f0-9' < /dev/urandom | head -c 32)"}"
      # Always generate a new span ID
      local sid
      sid="$(tr -dc 'a-f0-9' < /dev/urandom | head -c 16)"
    
    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