Table of Contents
Constants
-
GRPC
= \OpenTelemetry\SDK\Common\Configuration\KnownValues::VALUE_GRPC
-
HTTP_JSON
= \OpenTelemetry\SDK\Common\Configuration\KnownValues::VALUE_HTTP_JSON
-
HTTP_NDJSON
= \OpenTelemetry\SDK\Common\Configuration\KnownValues::VALUE_HTTP_NDJSON
-
HTTP_PROTOBUF
= \OpenTelemetry\SDK\Common\Configuration\KnownValues::VALUE_HTTP_PROTOBUF
-
PROTOCOLS
= [self::GRPC => \OpenTelemetry\Contrib\Otlp\ContentTypes::PROTOBUF, self::HTTP_PROTOBUF => \OpenTelemetry\Contrib\Otlp\ContentTypes::PROTOBUF, self::HTTP_JSON => \OpenTelemetry\Contrib\Otlp\ContentTypes::JSON, self::HTTP_NDJSON => \OpenTelemetry\Contrib\Otlp\ContentTypes::NDJSON]
Methods
-
contentType()
: string
-
validate()
: void
GRPC
public
mixed
GRPC
= \OpenTelemetry\SDK\Common\Configuration\KnownValues::VALUE_GRPC
HTTP_JSON
public
mixed
HTTP_JSON
= \OpenTelemetry\SDK\Common\Configuration\KnownValues::VALUE_HTTP_JSON
HTTP_NDJSON
public
mixed
HTTP_NDJSON
= \OpenTelemetry\SDK\Common\Configuration\KnownValues::VALUE_HTTP_NDJSON
HTTP_PROTOBUF
public
mixed
HTTP_PROTOBUF
= \OpenTelemetry\SDK\Common\Configuration\KnownValues::VALUE_HTTP_PROTOBUF
PROTOCOLS
private
mixed
PROTOCOLS
= [self::GRPC => \OpenTelemetry\Contrib\Otlp\ContentTypes::PROTOBUF, self::HTTP_PROTOBUF => \OpenTelemetry\Contrib\Otlp\ContentTypes::PROTOBUF, self::HTTP_JSON => \OpenTelemetry\Contrib\Otlp\ContentTypes::JSON, self::HTTP_NDJSON => \OpenTelemetry\Contrib\Otlp\ContentTypes::NDJSON]
contentType()
public
static contentType(string $protocol) : string
Parameters
-
$protocol
: string
-
-
psalm-return
-
validate()
public
static validate(string $protocol) : void
Parameters
-
$protocol
: string
-