OpenTelemetry PHP

SpanLimits
in package

FinalYes

Table of Contents

Constants

DEFAULT_EVENT_ATTRIBUTE_COUNT_LIMIT  = 128
DEFAULT_LINK_ATTRIBUTE_COUNT_LIMIT  = 128
DEFAULT_SPAN_ATTRIBUTE_COUNT_LIMIT  = 128
DEFAULT_SPAN_ATTRIBUTE_LENGTH_LIMIT  = PHP_INT_MAX
DEFAULT_SPAN_EVENT_COUNT_LIMIT  = 128
DEFAULT_SPAN_LINK_COUNT_LIMIT  = 128

Properties

$attributesFactory  : AttributesFactoryInterface
$eventAttributesFactory  : AttributesFactoryInterface
$eventCountLimit  : int
$linkAttributesFactory  : AttributesFactoryInterface
$linkCountLimit  : int

Methods

getAttributesFactory()  : AttributesFactoryInterface
getEventAttributesFactory()  : AttributesFactoryInterface
getEventCountLimit()  : int
getLinkAttributesFactory()  : AttributesFactoryInterface
getLinkCountLimit()  : int

Constants

DEFAULT_EVENT_ATTRIBUTE_COUNT_LIMIT

public mixed DEFAULT_EVENT_ATTRIBUTE_COUNT_LIMIT = 128
public mixed DEFAULT_LINK_ATTRIBUTE_COUNT_LIMIT = 128

DEFAULT_SPAN_ATTRIBUTE_COUNT_LIMIT

public mixed DEFAULT_SPAN_ATTRIBUTE_COUNT_LIMIT = 128

DEFAULT_SPAN_ATTRIBUTE_LENGTH_LIMIT

public mixed DEFAULT_SPAN_ATTRIBUTE_LENGTH_LIMIT = PHP_INT_MAX

DEFAULT_SPAN_EVENT_COUNT_LIMIT

public mixed DEFAULT_SPAN_EVENT_COUNT_LIMIT = 128
public mixed DEFAULT_SPAN_LINK_COUNT_LIMIT = 128

Properties

$eventCountLimit read-only

private int $eventCountLimit

$linkCountLimit read-only

private int $linkCountLimit

Methods

getEventCountLimit()

public getEventCountLimit() : int
Return values
int

Maximum allowed span event count

getLinkCountLimit()

public getLinkCountLimit() : int
Return values
int

Maximum allowed span link count


        
On this page

Search results