ttrss/vendor/open-telemetry/sdk/Metrics/Stream/WritableMetricStreamInterfa...

20 lines
413 B
PHP
Raw Normal View History

2023-10-20 14:12:29 +00:00
<?php
declare(strict_types=1);
namespace OpenTelemetry\SDK\Metrics\Stream;
use OpenTelemetry\Context\ContextInterface;
use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
/**
* @internal
*/
interface WritableMetricStreamInterface
{
/**
* @param float|int $value
*/
public function record($value, AttributesInterface $attributes, ContextInterface $context, int $timestamp): void;
}