OpenTelemetry PHP

SpanLimitsBuilder
in package

Table of Contents

Properties

$attributeCountLimit  : int|null
$attributePerEventCountLimit  : int|null
$attributePerLinkCountLimit  : int|null
$attributeValueLengthLimit  : int|null
$eventCountLimit  : int|null
$linkCountLimit  : int|null
$retainGeneralIdentityAttributes  : bool

Methods

build()  : SpanLimits
retainGeneralIdentityAttributes()  : SpanLimitsBuilder
setAttributeCountLimit()  : SpanLimitsBuilder
setAttributePerEventCountLimit()  : SpanLimitsBuilder
setAttributePerLinkCountLimit()  : SpanLimitsBuilder
setAttributeValueLengthLimit()  : SpanLimitsBuilder
setEventCountLimit()  : SpanLimitsBuilder
setLinkCountLimit()  : SpanLimitsBuilder

Properties

$attributeCountLimit

private int|null $attributeCountLimit = null

Maximum allowed attribute count per record

$attributePerEventCountLimit

private int|null $attributePerEventCountLimit = null

Maximum allowed attribute per span event count

$attributePerLinkCountLimit

private int|null $attributePerLinkCountLimit = null

Maximum allowed attribute per span link count

$attributeValueLengthLimit

private int|null $attributeValueLengthLimit = null

Maximum allowed attribute value length

$eventCountLimit

private int|null $eventCountLimit = null

Maximum allowed span event count

$linkCountLimit

private int|null $linkCountLimit = null

Maximum allowed span link count

$retainGeneralIdentityAttributes

private bool $retainGeneralIdentityAttributes = false

Methods

setAttributePerEventCountLimit()

public setAttributePerEventCountLimit(int $attributePerEventCountLimit) : SpanLimitsBuilder
Parameters
$attributePerEventCountLimit : int

Maximum allowed attribute per span event count

Return values
SpanLimitsBuilder

        
On this page

Search results