We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e836079 commit 3681288Copy full SHA for 3681288
doc/cookbook/expose-prometheus/ExposePrometheus.lhs
@@ -118,7 +118,7 @@ type HelloAPI =
118
helloWhoToCounterBreakdown :: HelloWho -> Text
119
helloWhoToCounterBreakdown (HelloWho txt) = txt
120
121
-handleHello :: Counters -> Maybe HelloWhom -> Handler Greeting
+handleHello :: Counters -> Maybe HelloWho -> Handler Greeting
122
handleHello counters Nothing = do
123
let breakdown = "n/a"
124
liftIO $ Prometheus.withLabel (countHellos counters) breakdown Prometheus.incCounter
0 commit comments