1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-07-26 16:37:33 +02:00
ttrss/vendor/open-telemetry/api/Trace/TracerProviderInterface.php

20 lines
556 B
PHP
Raw Normal View History

2023-10-20 16:12:29 +02:00
<?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;
}