String formatTraceparent(String traceId, String spanId, bool sampled) => '00-$traceId-$spanId-${sampled ? '01' : '00'}';