diff options
Diffstat (limited to 'vendor/open-telemetry/sdk/Metrics/MeterInstruments.php')
-rw-r--r-- | vendor/open-telemetry/sdk/Metrics/MeterInstruments.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/vendor/open-telemetry/sdk/Metrics/MeterInstruments.php b/vendor/open-telemetry/sdk/Metrics/MeterInstruments.php new file mode 100644 index 000000000..c331cb608 --- /dev/null +++ b/vendor/open-telemetry/sdk/Metrics/MeterInstruments.php @@ -0,0 +1,29 @@ +<?php + +declare(strict_types=1); + +namespace OpenTelemetry\SDK\Metrics; + +use ArrayAccess; + +/** + * @internal + */ +final class MeterInstruments +{ + public ?int $startTimestamp = null; + /** + * @var array<string, array<string, array{Instrument, ReferenceCounterInterface, ArrayAccess<object, ObservableCallbackDestructor>}>> + */ + public array $observers = []; + /** + * @var array<string, array<string, array{Instrument, ReferenceCounterInterface}>> + */ + public array $writers = []; + + /** + * @var list<ArrayAccess<object, ObservableCallbackDestructor>> + * @deprecated + */ + public array $staleObservers = []; +} |