Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
A simple exporter backend that prints your metrics to the terminal as they are submitted.
Taking the example from telemetry
, the output
would be:
09:58:54Z (03.755) Process order: calories = 667.0 flavour = true meal_name = "hamburger" precise = 45.0
Synopsis
Documentation
consoleExporter :: Exporter Source #
Output metrics to the terminal. This is mostly useful for debugging, but it can also be used as general output mechanism if your program is mostly concerned with gathering metrics and displaying them.