OpenTelemetry PHP

ViewProjection
in package

FinalYes

Table of Contents

Properties

$aggregation  : AggregationInterface|null
$attributeKeys  : array<string|int, mixed>|null
$description  : string|null
$excludedAttributeKeys  : array<string|int, mixed>|null
$includedAttributeKeys  : array<string|int, mixed>|null
$name  : string
$unit  : string|null

Methods

__construct()  : mixed
`$includedAttributeKeys` and `$excludedAttributeKeys` are key patterns, where `?` matches one character and `*` any sequence, and excluded wins. They are ignored if `$attributeKeys` is set.

Properties

$attributeKeys read-only

public array<string|int, mixed>|null $attributeKeys

$excludedAttributeKeys read-only

public array<string|int, mixed>|null $excludedAttributeKeys = null

$includedAttributeKeys read-only

public array<string|int, mixed>|null $includedAttributeKeys = null

Methods

__construct()

`$includedAttributeKeys` and `$excludedAttributeKeys` are key patterns, where `?` matches one character and `*` any sequence, and excluded wins. They are ignored if `$attributeKeys` is set.

public __construct(string $name, string|null $unit, string|null $description, array<int, string>|null $attributeKeys, AggregationInterface|null $aggregation[, array<int, string>|null $includedAttributeKeys = null ][, array<int, string>|null $excludedAttributeKeys = null ]) : mixed
Parameters
$name : string
$unit : string|null
$description : string|null
$attributeKeys : array<int, string>|null
$aggregation : AggregationInterface|null
$includedAttributeKeys : array<int, string>|null = null
$excludedAttributeKeys : array<int, string>|null = null
On this page

Search results