How can you tell when it is time to replace front shocks?

invalid@example.com (JimH), JimH
Thu, 20 Nov 2025 15:01:05 +0000
F3 Shop Talk

I have a 2017 F3-L with stock shocks. How can I tell when it is time to replace my stock front shock. Machine has 34K miles on it.
Thanks,
Jim