Skip to content

Commit

Permalink
some rewording
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasdicioccio committed Feb 4, 2025
1 parent 14c0a92 commit 28f00ba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/cookbook/expose-prometheus/ExposePrometheus.lhs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 28f00ba

Please sign in to comment.