module TraceView::Inst::Moped
Constants
- COLLECTION_OPS
Moped::Collection
- DB_OPS
Moped::Database
- FLAVOR
- INDEX_OPS
Moped::Indexes
- QUERY_OPS
Moped::Query
Public Instance Methods
remote_host(server)
click to toggle source
This utility method converts the server into a host:port pair for reporting
# File lib/traceview/inst/moped.rb, line 33 def remote_host(server) if ::Moped::VERSION < '2.0.0' server else "#{server.address.host}:#{server.address.port}" end end