jaeger-client -> opentelemetry

This commit is contained in:
Andrew Dolgov
2023-10-20 17:12:29 +03:00
parent 45a9ff0c88
commit cdd7ad020e
1159 changed files with 93352 additions and 24252 deletions
@@ -0,0 +1,24 @@
<?php
declare(strict_types=1);
namespace OpenTelemetry\SDK\Metrics;
use OpenTelemetry\SDK\Metrics\Data\Metric;
interface MetricSourceInterface
{
/**
* Returns the last metric collection timestamp.
*
* @return int last collection timestamp
*/
public function collectionTimestamp(): int;
/**
* Collects metric data from the underlying provider.
*
* @return Metric collected metric
*/
public function collect(): Metric;
}