ttrss/vendor/open-telemetry/sdk/Metrics/MeterInstruments.php

30 lines
649 B
PHP
Raw Permalink Normal View History

2023-10-20 14:12:29 +00:00
<?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 = [];
}