HttpEndpointResolverInterface
Table of Contents
Constants
-
DEFAULT_PATHS
= [\OpenTelemetry\API\Signals::TRACE => self::TRACE_DEFAULT_PATH, \OpenTelemetry\API\Signals::METRICS => self::METRICS_DEFAULT_PATH, \OpenTelemetry\API\Signals::LOGS => self::LOGS_DEFAULT_PATH]
-
LOGS_DEFAULT_PATH
= 'v1/logs'
-
METRICS_DEFAULT_PATH
= 'v1/metrics'
-
TRACE_DEFAULT_PATH
= 'v1/traces'
-
VALID_SCHEMES
= ['http', 'https']
Methods
-
resolve()
: UriInterface
-
resolveToString()
: string
DEFAULT_PATHS
public
mixed
DEFAULT_PATHS
= [\OpenTelemetry\API\Signals::TRACE => self::TRACE_DEFAULT_PATH, \OpenTelemetry\API\Signals::METRICS => self::METRICS_DEFAULT_PATH, \OpenTelemetry\API\Signals::LOGS => self::LOGS_DEFAULT_PATH]
LOGS_DEFAULT_PATH
public
mixed
LOGS_DEFAULT_PATH
= 'v1/logs'
METRICS_DEFAULT_PATH
public
mixed
METRICS_DEFAULT_PATH
= 'v1/metrics'
TRACE_DEFAULT_PATH
public
mixed
TRACE_DEFAULT_PATH
= 'v1/traces'
VALID_SCHEMES
public
mixed
VALID_SCHEMES
= ['http', 'https']
resolve()
public
resolve(string $endpoint, string $signal) : UriInterface
Parameters
-
$endpoint
: string
-
-
$signal
: string
-
Return values
UriInterface
resolveToString()
public
resolveToString(string $endpoint, string $signal) : string
Parameters
-
$endpoint
: string
-
-
$signal
: string
-