Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

MetricAggregatorFactory.php

Namespace

OpenTelemetry\SDK\Metrics\Stream

File

vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregatorFactory.php

View source
<?php

declare (strict_types=1);
namespace OpenTelemetry\SDK\Metrics\Stream;

use OpenTelemetry\SDK\Metrics\AggregationInterface;
use OpenTelemetry\SDK\Metrics\AttributeProcessorInterface;

/**
 * @internal
 */
final class MetricAggregatorFactory implements MetricAggregatorFactoryInterface {
    public function __construct(?AttributeProcessorInterface $attributeProcessor, AggregationInterface $aggregation) {
    }
    public function create() : MetricAggregatorInterface {
        return new MetricAggregator($this->attributeProcessor, $this->aggregation);
    }

}

Classes

Title Deprecated Summary
MetricAggregatorFactory @internal
RSS feed
Powered by Drupal