summaryrefslogtreecommitdiff
path: root/vendor/open-telemetry/sdk/Metrics/MeterInstruments.php
blob: c331cb608564e0abfd8ba91ab5a30e28b9380696 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 = [];
}