The best way to detect boredom is to identify where readers are quietly giving up and abandoning the book. If readers are jumping ship in Chapter 3, for example, then it suggests that either Chapter 2 was a low-value grind (thereby exhausting them before they got to the good stuff), or that Chapter 3 is.