ttrss/vendor/open-telemetry/sdk/Metrics/AttributeProcessor/IdentityAttributeProcessor.php

21 lines
506 B
PHP
Raw Normal View History

2023-10-20 14:12:29 +00:00
<?php
declare(strict_types=1);
namespace OpenTelemetry\SDK\Metrics\AttributeProcessor;
use OpenTelemetry\Context\ContextInterface;
use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
use OpenTelemetry\SDK\Metrics\AttributeProcessorInterface;
/**
* @internal
*/
final class IdentityAttributeProcessor implements AttributeProcessorInterface
{
public function process(AttributesInterface $attributes, ContextInterface $context): AttributesInterface
{
return $attributes;
}
}