Add optional StatsD performance tracking

This commit is contained in:
Eugen Rochko 2017-01-18 23:44:29 +01:00
parent 7cfd5b680a
commit 306eb6e9c9
7 changed files with 43 additions and 4 deletions

11
app/lib/statsd_monitor.rb Normal file
View file

@ -0,0 +1,11 @@
# frozen_string_literal: true
class StatsDMonitor
def initialize(app)
@app = app
end
def call(env)
@app.call(env)
end
end