/**
  * {@inheritdoc}
  */
 public function getConfiguration() : PromiseInterface
 {
     if ($this->configuration instanceof Configuration) {
         return resolve($this->configuration);
     }
     $this->configuration = new Configuration();
     $this->configuration->setPair('graph_category', 'event_loop');
     $this->configuration->setPair('graph_title', 'Streams');
     $this->configuration->setPair('current_read_streams.label', 'Current Read Streams');
     $this->configuration->setPair('current_write_streams.label', 'Current Write Streams');
     return resolve($this->configuration);
 }
 /**
  * {@inheritdoc}
  */
 public function getConfiguration() : PromiseInterface
 {
     if ($this->configuration instanceof Configuration) {
         return resolve($this->configuration);
     }
     $this->configuration = new Configuration();
     $this->configuration->setPair('graph_category', 'event_loop');
     $this->configuration->setPair('graph_title', 'Totals');
     $this->configuration->setPair('streams_read_total.label', 'Read Streams');
     $this->configuration->setPair('streams_total_total.label', 'Total Streams');
     $this->configuration->setPair('streams_write_total.label', 'Write Streams');
     $this->configuration->setPair('timers_once_total.label', 'One-off Timers');
     $this->configuration->setPair('timers_periodic_total.label', 'Periodic Timers');
     $this->configuration->setPair('ticks_future_total.label', 'Future ticks');
     $this->configuration->setPair('ticks_next_total.label', 'Next ticks');
     return resolve($this->configuration);
 }
 /**
  * {@inheritdoc}
  */
 public function getConfiguration() : PromiseInterface
 {
     if ($this->configuration instanceof Configuration) {
         return resolve($this->configuration);
     }
     $this->configuration = new Configuration();
     $this->configuration->setPair('graph_category', $this->categorySlug);
     $this->configuration->setPair('graph_title', $this->title);
     $this->configuration->setPair('current_size.label', 'Current Pool size');
     $this->configuration->setPair('current_queued_calls.label', 'Current Queued call count');
     $this->configuration->setPair('current_busy.label', 'Current Busy worker count');
     $this->configuration->setPair('current_idle_workers.label', 'Current Idle Workers count');
     return resolve($this->configuration);
 }