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

Breadcrumb

  1. Drupal Core 11.1.x

Metric.php

Same filename in this branch
  1. 11.1.x vendor/open-telemetry/sdk/Metrics/Data/Metric.php
  2. 11.1.x vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Metric.php

Namespace

OpenTelemetry\SDK\Metrics\Stream

File

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

View source
<?php

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

use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
use OpenTelemetry\SDK\Metrics\Data\Exemplar;

/**
 * @internal
 *
 * @template T
 */
final class Metric {
    
    /**
     * @param array<AttributesInterface> $attributes
     * @param array<T> $summaries
     * @param array<Exemplar> $exemplars
     */
    public function __construct(array $attributes, array $summaries, int $timestamp, array $exemplars = []) {
    }

}

Classes

Title Deprecated Summary
Metric @internal
RSS feed
Powered by Drupal