Metric
in package
FinalYes
Table of Contents
Properties
- $data : DataInterface
- $description : string|null
- $instrumentationScope : InstrumentationScopeInterface
- $name : string
- $resource : ResourceInfo
- $unit : string|null
Methods
- __construct() : mixed
Properties
$data read-only
public
DataInterface
$data
$description read-only
public
string|null
$description
$instrumentationScope read-only
public
InstrumentationScopeInterface
$instrumentationScope
$name read-only
public
string
$name
$resource read-only
public
ResourceInfo
$resource
$unit read-only
public
string|null
$unit
Methods
__construct()
public
__construct(InstrumentationScopeInterface $instrumentationScope, ResourceInfo $resource, string $name, string|null $unit, string|null $description, DataInterface $data) : mixed
Parameters
- $instrumentationScope : InstrumentationScopeInterface
- $resource : ResourceInfo
- $name : string
- $unit : string|null
- $description : string|null
- $data : DataInterface