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

Breadcrumb

  1. Drupal Core 11.1.x
  2. Metric.php

class Metric

Same name in this branch
  1. 11.1.x vendor/open-telemetry/sdk/Metrics/Stream/Metric.php \OpenTelemetry\SDK\Metrics\Stream\Metric
  2. 11.1.x vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Metric.php \Opentelemetry\Proto\Metrics\V1\Metric

Hierarchy

  • class \OpenTelemetry\SDK\Metrics\Data\Metric

Expanded class hierarchy of Metric

5 files declare their use of Metric
ConsoleMetricExporter.php in vendor/open-telemetry/sdk/Metrics/MetricExporter/ConsoleMetricExporter.php
InMemoryExporter.php in vendor/open-telemetry/sdk/Metrics/MetricExporter/InMemoryExporter.php
MetricExporterInterface.php in vendor/open-telemetry/sdk/Metrics/MetricExporterInterface.php
MetricSourceInterface.php in vendor/open-telemetry/sdk/Metrics/MetricSourceInterface.php
StreamMetricSource.php in vendor/open-telemetry/sdk/Metrics/MetricFactory/StreamMetricSource.php

File

vendor/open-telemetry/sdk/Metrics/Data/Metric.php, line 10

Namespace

OpenTelemetry\SDK\Metrics\Data
View source
final class Metric {
    public function __construct(InstrumentationScopeInterface $instrumentationScope, ResourceInfo $resource, string $name, ?string $unit, ?string $description, DataInterface $data) {
    }

}

Members

Title Sort descending Modifiers Object type Summary
Metric::__construct public function
RSS feed
Powered by Drupal