| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class TimeoutsPlugin extends BasePlugin |
||
| 17 | { |
||
| 18 | |||
| 19 | /** |
||
| 20 | * {@inheritdoc} |
||
| 21 | */ |
||
| 22 | public function config(): string |
||
| 25 | graph_title Job Timeouts |
||
| 26 | graph_vlabel Timeouts per ${graph_period} |
||
| 27 | graph_category Beanstalk |
||
| 28 | graph_args --lower-limit 0 |
||
| 29 | graph_scale no |
||
| 30 | timeouts.label Timeouts |
||
| 31 | timeouts.type DERIVE |
||
| 32 | timeouts.min 0 |
||
| 33 | |||
| 34 | CONFIG; |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | public function data(): string |
||
| 46 |