From 28f00ba0760d5f54d027e1f78dfc0a842881bd9b Mon Sep 17 00:00:00 2001 From: Lucas DiCioccio Date: Tue, 4 Feb 2025 17:06:44 +0100 Subject: [PATCH] some rewording --- doc/cookbook/expose-prometheus/ExposePrometheus.lhs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/cookbook/expose-prometheus/ExposePrometheus.lhs b/doc/cookbook/expose-prometheus/ExposePrometheus.lhs index 352908239..0be1ced34 100644 --- a/doc/cookbook/expose-prometheus/ExposePrometheus.lhs +++ b/doc/cookbook/expose-prometheus/ExposePrometheus.lhs @@ -129,8 +129,9 @@ handleHello counters (Just who) = do pure $ "hello, " <> getWho who ``` -The second metrics we use to instrument our program is a background thread -incrementing a counter every second. +We further instrument our program with a second metrics. This second metrics +consist of a simple counter. A background thread will increment the counter +every second. ``` haskell startBackgroundThread :: Counters -> IO ThreadId