OpenTelemetry PHP

VariableTypes

Table of Contents

Constants

BOOL  = 'bool'
A single boolean value represented as a string or integer ('true', 'false', 0, 1) example: value1
ENUM  = 'enum'
A single string value from a fixed list of values example values: value1, value2, value3 example: value1
FLOAT  = 'float'
A single float value example: 10.5
INTEGER  = 'integer'
A single integer value example: 5000
LIST  = 'list'
A comma separated list of single string values example: value1,value2,value3
MAP  = 'map'
A comma separated list of key-value pairs example: key1=value1,key2=value2
MIXED  = 'mixed'
Values of mixed type
RATIO  = 'ratio'
A single float value between 0.0 and 1.0 example: 0.5
STRING  = 'string'
A single string value example: value1

Constants

BOOL

A single boolean value represented as a string or integer ('true', 'false', 0, 1) example: value1

public mixed BOOL = 'bool'

ENUM

A single string value from a fixed list of values example values: value1, value2, value3 example: value1

public mixed ENUM = 'enum'

FLOAT

A single float value example: 10.5

public mixed FLOAT = 'float'

INTEGER

A single integer value example: 5000

public mixed INTEGER = 'integer'

LIST

A comma separated list of single string values example: value1,value2,value3

public mixed LIST = 'list'

MAP

A comma separated list of key-value pairs example: key1=value1,key2=value2

public mixed MAP = 'map'

RATIO

A single float value between 0.0 and 1.0 example: 0.5

public mixed RATIO = 'ratio'

STRING

A single string value example: value1

public mixed STRING = 'string'

        
On this page

Search results