Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion trace-dispatcher/doc/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ TraceOptions:
- EKGBackend
- Forwarder

# More interesing tracers
# More interesting tracers

ChainDB:
severity: Info
Expand Down
4 changes: 2 additions & 2 deletions trace-dispatcher/src/Cardano/Logging/DocuGenerator.hs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ documentTracer' hook tracer = do
tr' <- hook tracer
documentTracer tr'

-- This fuction calls document tracers and returns a DocTracer result
-- This function calls document tracers and returns a DocTracer result
documentTracer :: forall a.
MetaTrace a
=> Trace IO a
Expand Down Expand Up @@ -286,7 +286,7 @@ documentTracer tracer = do



-- | Calls the tracers in a documetation control mode,
-- | Calls the tracers in a documentation control mode,
-- and returns a DocCollector, from which the documentation gets generated
documentTracersRun :: forall a. MetaTrace a => [Trace IO a] -> IO DocCollector
documentTracersRun tracers = do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ instance MetaTrace BaseStats where
privacyFor (Namespace _ ["BaseStats"]) _ = Just Public
documentFor (Namespace _ ["BaseStats"]) = Just "Basic statistics"
metricsDocFor (Namespace _ ["BaseStats"]) =
[ ("measure", "This is the value of a single measurment")
, ("sum", "This is the sum of all measurments")]
[ ("measure", "This is the value of a single measurement")
, ("sum", "This is the sum of all measurements")]
allNamespaces = [Namespace [] ["BaseStats"]]

instance A.ToJSON BaseStats where
Expand Down