LoggerStatsd
LoggerJsonFileBackend is elixir logger backend that count the errors/warns… and send it to statsd
Installation
Available in Hex, the package can be installed
by adding logger_statsd to your list of dependencies in mix.exs:
def deps do
[{:logger_statsd, "~> 0.1.3"}]
endConfiguration
You need a valid statsd configuration
config :logger,
backends: [{LoggerStatsdLogger, :statsd_logger}]
config :logger, :statsd_logger,
level: :info