backend for Logger that sends counters to graphite using statsderl
add
{:logger_statsderl_backend, git: "https://github.com/enotsimon/logger_statsderl_backend.git", branch: "master"}
to your mix.exs
file in deps()
section
add to your config files something like this
config :logger,
level: :info,
backends: [LoggerStatsderlBackend]
config :logger, LoggerStatsderlBackend,
level: :warn, # meant warnings and errors
prefix: "my_app.logger_messages" # prefix of graphite key