canary in a coal mine
Something whose sensitivity to adverse conditions makes it a useful early indicator of such conditions; something which warns of the coming of a greater danger or trouble by a deterioration in its health or welfare.
"A mussel is a canary in a coal mine," Clemens explained. "When the freshwater mussels are healthy, it indicates good water quality."