module Metrics
Provides:
-
configurable agent
-
endpoint for accessing metrics JSON
Provides:
-
configurable agent
-
configurable endpoint for current metrics
-
strings == path_info
-
regexp =~ path_info
-
proc.call(env) #=> boolean
-
-
env upstream
-
specific metrics by default
-
requests (timer)
-
uncaught_exceptions (counter)
-
response_1xx through response_5xx (counter)
-
Constants
- VERSION
Attributes
logger[W]
Public Class Methods
logger()
click to toggle source
# File lib/ruby-metrics.rb, line 9 def logger @logger ||= Logger.new(STDOUT) end