interface MetricMetadataInterface
Hierarchy
- interface \OpenTelemetry\SDK\Metrics\MetricMetadataInterface
Expanded class hierarchy of MetricMetadataInterface
All classes that implement MetricMetadataInterface
7 files declare their use of MetricMetadataInterface
- ConsoleMetricExporter.php in vendor/
open-telemetry/ sdk/ Metrics/ MetricExporter/ ConsoleMetricExporter.php - ExportingReader.php in vendor/
open-telemetry/ sdk/ Metrics/ MetricReader/ ExportingReader.php - InMemoryExporter.php in vendor/
open-telemetry/ sdk/ Metrics/ MetricExporter/ InMemoryExporter.php - MetricExporter.php in vendor/
open-telemetry/ exporter-otlp/ MetricExporter.php - MultiRegistryRegistration.php in vendor/
open-telemetry/ sdk/ Metrics/ MetricRegistration/ MultiRegistryRegistration.php
File
-
vendor/
open-telemetry/ sdk/ Metrics/ MetricMetadataInterface.php, line 9
Namespace
OpenTelemetry\SDK\MetricsView source
interface MetricMetadataInterface {
/**
* @return string|InstrumentType
*/
public function instrumentType();
public function name() : string;
public function unit() : ?string;
public function description() : ?string;
/**
* Returns the underlying temporality of this metric.
*
* @return string|Temporality internal temporality
*/
public function temporality();
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
MetricMetadataInterface::description | public | function | 1 | |
MetricMetadataInterface::instrumentType | public | function | 1 | |
MetricMetadataInterface::name | public | function | 1 | |
MetricMetadataInterface::temporality | public | function | Returns the underlying temporality of this metric. | 1 |
MetricMetadataInterface::unit | public | function | 1 |