Configuration
Read onlyYes
FinalYes
Constants
- DEFAULT_ENDPOINT = 'http://localhost:4318'
Properties
- $emitMetrics : bool
- $emitTestCaseSpans : bool
- $emitTestSpans : bool
- $emitTraces : bool
- $serviceName : string
- $transport : CurlTransportConfig|GrpcTransportConfig
Methods
- __construct() : mixed
- fromParameters() : self
Constants
DEFAULT_ENDPOINT
public
mixed
DEFAULT_ENDPOINT
= 'http://localhost:4318'
Properties
$emitMetrics
public
bool
$emitMetrics
$emitTestCaseSpans
public
bool
$emitTestCaseSpans
$emitTestSpans
public
bool
$emitTestSpans
$emitTraces
public
bool
$emitTraces
$serviceName
public
string
$serviceName
$transport
public
CurlTransportConfig|GrpcTransportConfig
$transport
Methods
__construct()
public
__construct(string $serviceName, CurlTransportConfig|GrpcTransportConfig $transport, bool $emitTraces, bool $emitMetrics, bool $emitTestSpans, bool $emitTestCaseSpans) : mixed
Parameters
- $serviceName : string
- $transport : CurlTransportConfig|GrpcTransportConfig
- $emitTraces : bool
- $emitMetrics : bool
- $emitTestSpans : bool
- $emitTestCaseSpans : bool
fromParameters()
public
static fromParameters(ParameterCollection $parameters) : self
Parameters
- $parameters : ParameterCollection