Skip to content

Commit

Permalink
Update lib/prometheus/middleware/collector.rb
Browse files Browse the repository at this point in the history
Co-Authored-By: Daniel Magliola <dmagliola@crystalgears.com>
  • Loading branch information
shouichi and dmagliola authored Oct 23, 2019
1 parent 1b4a056 commit f4b773a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/prometheus/middleware/collector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ module Middleware
#
# By default metrics all have the prefix "http_server". Set
# `:metrics_prefix` to something else if you like.
#
# The request counter metric is broken down by code, method and path.
# The request duration metric is broken down by method and path.
class Collector
attr_reader :app, :registry

Expand Down

0 comments on commit f4b773a

Please sign in to comment.