OpenTelemetry PHP

OtlpHttpTransportFactory
in package
implements TransportFactoryInterface

Table of Contents

Interfaces

TransportFactoryInterface

Constants

DEFAULT_COMPRESSION  = 'none'

Methods

create()  : PsrTransport

Constants

Methods

create()

public create(string $endpoint, string $contentType[, array<string|int, mixed> $headers = [] ][, mixed $compression = null ][, float $timeout = 10.0 ][, int $retryDelay = 100 ][, int $maxRetries = 3 ][, string|null $cacert = null ][, string|null $cert = null ][, string|null $key = null ]) : PsrTransport
Parameters
$endpoint : string
$contentType : string
$headers : array<string|int, mixed> = []
$compression : mixed = null
$timeout : float = 10.0
$retryDelay : int = 100
$maxRetries : int = 3
$cacert : string|null = null
$cert : string|null = null
$key : string|null = null
Return values
PsrTransport

        
On this page

Search results