Class: ThriftServer::ThreadPoolServer::MetricsSubscriber
- Inherits:
-
Object
- Object
- ThriftServer::ThreadPoolServer::MetricsSubscriber
- Defined in:
- lib/thrift_server/thread_pool_server.rb
Instance Method Summary collapse
Instance Method Details
#thread_pool_server_pool_change(meta) ⇒ Object
28 29 30 |
# File 'lib/thrift_server/thread_pool_server.rb', line 28 def thread_pool_server_pool_change() statsd.gauge('server.pool.size', '%+d' % [ .fetch(:delta) ]) end |