cling on by (one's) fingertips
1. Literally, to grasp something, such as a cliff, with one's fingertips to avoid falling. The stranded hiker was clinging on by her fingertips until the rescue crew arrived.
2. By extension, to narrowly avoid problems or failure. They're clinging on by their fingertips out there—the other team's offensive is totally overwhelming them. Now that I have three small children to care for, I feel as if I'm clinging on by my fingertips every day.