summaryrefslogtreecommitdiff
path: root/vendor/open-telemetry/sdk/Trace/TracerProviderInterface.php
blob: d61c1ea8f26dbf63d36c7f0a0bc94390b30b8649 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

declare(strict_types=1);

namespace OpenTelemetry\SDK\Trace;

use OpenTelemetry\API\Trace as API;
use OpenTelemetry\SDK\Common\Future\CancellationInterface;

interface TracerProviderInterface extends API\TracerProviderInterface
{
    public function forceFlush(?CancellationInterface $cancellation = null): bool;

    public function shutdown(?CancellationInterface $cancellation = null): bool;
}