Lines
n/a
0 / 0
Functions and Methods
n/a
0 / 0
Classes and Traits
n/a
0 / 0
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | <?php | |
| 2 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace Stewart\Runtime\Metrics; | |
| 6 | ||
| 7 | use Stewart\Runtime\Control\Protocol\Status\RuntimeSnapshot; | |
| 8 | use Stewart\Runtime\Metrics\Exposition\MetricFamily; | |
| 9 | ||
| 10 | interface RuntimeMetricSource | |
| 11 | { | |
| 12 | /** @return list<MetricFamily> */ | |
| 13 | public function collectMetrics(RuntimeSnapshot $snapshot): array; | |
| 14 | } |