Skip to content

avvo/stats_doggo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StatsDoggo

  • Uses Statix to send metrics to a StatsD host
  • Uses ex_vmstats to gather VM metrics
  • Provides a Plug to get web stats

Installation

def deps do
  [
    {:stats_doggo, "~> 0.4.0",
  ]
end

Configuration in your config.exs

config :stats_doggo,
  app_name: "YOUR_APP_NAME",
  override_statix_host: {:system, "STATSD_HOST"},
  app_env: {:system, "RAILS_ENV", "dev"},
  enabled: {:system, "STATS_ENABLED", "false"},
  impl: StatsDoggo.Connection

Add to your endpoint.ex if you want the plug:

  plug StatsDoggo.Plug

About

Elixir wrapper for statix and ex_vmstats

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages