Safe Haskell | None |
---|
Logging to stdout is primarily intended for development purposes or creating command line status tools.
For more meaningful access to statistics, metrics should be sent to something like Librato or Graphite.
- printHealthCheck :: HealthCheck -> IO ()
- printHealthChecks :: HealthChecks -> IO ()
- reportMetrics :: MetricRegistry IO -> IO ()
- dumpMetrics :: MetricRegistry IO -> IO [(Text, String)]
Documentation
printHealthCheck :: HealthCheck -> IO ()Source
Pretty-print a single HealthCheck to the console using ANSI colors.
printHealthChecks :: HealthChecks -> IO ()Source
Pretty-print a list of HealthChecks to the console using ANSI colors.
reportMetrics :: MetricRegistry IO -> IO ()Source
dumpMetrics :: MetricRegistry IO -> IO [(Text, String)]Source