Class: Hivehook::Resources::StatusService
- Inherits:
-
BaseService
- Object
- BaseService
- Hivehook::Resources::StatusService
- Defined in:
- lib/hivehook/resources/status_service.rb
Instance Method Summary collapse
Methods inherited from BaseService
Constructor Details
This class inherits a constructor from Hivehook::Resources::BaseService
Instance Method Details
#get ⇒ Object
6 7 8 9 |
# File 'lib/hivehook/resources/status_service.rb', line 6 def get query = "query { status { status dlqSize outboundDlqSize queueDepth activeWorkers totalWorkers uptime version sourcesTotal destinationsTotal subscriptionsTotal eventsTotal eventsFailed deliveriesTotal deliveriesPending deliveriesDelivered messagesTotal outboundDeliveriesTotal outboundDeliveriesPending outboundDeliveriesFailed } }" @transport.execute(query)["status"] end |