Skip to content

StatsD integration for shoryuken

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

cjlarose/shoryuken-statsd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shoryuken-statsd

Report Shoryuken metrics to StatsD or to DogStatsD

Configuration

Using standard StatsD (and the statsd-ruby gem):

Shoryuken.configure_server do |config|
  # configure middleware, if any, first, then:
  reporter = Shoryuken::StatsD::StatsDReporter.new Statsd.new('localhost', 9125)
  Shoryuken::StatsD.register shoryuken_config: config, reporter: reporter
end

For use with Datadog and DogStatsD (and the dogstatsd-ruby gem):

require 'datadog/statsd'

Shoryuken.configure_server do |config|
  # configure middleware, if any, first, then:
  reporter = Shoryuken::StatsD::DogStatsDReporter.new Datadog::Statsd.new('localhost', 8125)
  Shoryuken::StatsD.register shoryuken_config: config, reporter: reporter
end

About

StatsD integration for shoryuken

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages