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
build()
public
build() : SpanLimits
Tags
Return values
SpanLimitsretainGeneralIdentityAttributes()
public
retainGeneralIdentityAttributes([bool $retain = true ]) : SpanLimitsBuilder
Parameters
- $retain : bool = true
-
whether general identity attributes should be retained
Tags
Return values
SpanLimitsBuildersetAttributeCountLimit()
public
setAttributeCountLimit(int $attributeCountLimit) : SpanLimitsBuilder
Parameters
- $attributeCountLimit : int
-
Maximum allowed attribute count per record
Return values
SpanLimitsBuildersetAttributePerEventCountLimit()
public
setAttributePerEventCountLimit(int $attributePerEventCountLimit) : SpanLimitsBuilder
Parameters
- $attributePerEventCountLimit : int
-
Maximum allowed attribute per span event count
Return values
SpanLimitsBuildersetAttributePerLinkCountLimit()
public
setAttributePerLinkCountLimit(int $attributePerLinkCountLimit) : SpanLimitsBuilder
Parameters
- $attributePerLinkCountLimit : int
-
Maximum allowed attribute per span link count
Return values
SpanLimitsBuildersetAttributeValueLengthLimit()
public
setAttributeValueLengthLimit(int $attributeValueLengthLimit) : SpanLimitsBuilder
Parameters
- $attributeValueLengthLimit : int
-
Maximum allowed attribute value length
Return values
SpanLimitsBuildersetEventCountLimit()
public
setEventCountLimit(int $eventCountLimit) : SpanLimitsBuilder
Parameters
- $eventCountLimit : int
-
Maximum allowed span event count
Return values
SpanLimitsBuildersetLinkCountLimit()
public
setLinkCountLimit(int $linkCountLimit) : SpanLimitsBuilder
Parameters
- $linkCountLimit : int
-
Maximum allowed span link count