I used to do this when I was deep into writing fiction. The main metric being a daily wordcount, with other patterns captured as well. Here's a screenshot of it that I did for another blog, way back in the ancient times of 2018 😉
I found the process quite illuminating and motivating! The habit fell off as my writing evolved towards non-fiction and freelancing things—the discipline wasn't as necessary (or perhaps I just got burnt out on tracking).