Metric
in package
Read onlyYes
FinalYes
Tags
Table of Contents
Properties
- $labels : array<string|int, string>
- $timestamp : int|float|null
- $value : int|float|bool|MetricValue
Methods
- __construct() : mixed
- label() : string|null
Properties
$labels
public
array<string|int, string>
$labels
= []
$timestamp
public
int|float|null
$timestamp
= null
$value
public
int|float|bool|MetricValue
$value
= false
Methods
__construct()
public
__construct([int|float|bool|MetricValue $value = false ][, array<string|int, mixed> $labels = [] ][, int|float|null $timestamp = null ]) : mixed
Parameters
- $value : int|float|bool|MetricValue = false
- $labels : array<string|int, mixed> = []
- $timestamp : int|float|null = null
label()
public
label(string $name) : string|null
Parameters
- $name : string