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

Breadcrumb

  1. Drupal Core 11.1.x

MetricMetadataInterface.php

Namespace

OpenTelemetry\SDK\Metrics

File

vendor/open-telemetry/sdk/Metrics/MetricMetadataInterface.php

View source
<?php

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

use OpenTelemetry\SDK\Metrics\Data\Temporality;
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();

}

Interfaces

Title Deprecated Summary
MetricMetadataInterface

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal