blob: 9f5d20759a7466d0587816484b1c286928439f76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?php
declare(strict_types=1);
namespace OpenTelemetry\API\Trace;
/** @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/specification/trace/api.md#tracerprovider */
interface TracerProviderInterface
{
/**
* @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/specification/trace/api.md#get-a-tracer
*/
public function getTracer(
string $name,
?string $version = null,
?string $schemaUrl = null,
iterable $attributes = []
): TracerInterface;
}
|