OtlpBench
in package
TODO https://github.com/open-telemetry/opentelemetry-go/blob/051227c9edded2c772a07a4d4e60dda27c3e4b20/sdk/trace/benchmark_test.go
Table of Contents
Constants
Properties
Methods
- __construct() : mixed
- benchCreateSpans() : void
- benchCreateSpansWithMultipleEvents() : void
- benchCreateSpansWithStackTrace() : void
- benchExportSpans_Oltp() : void
- provideEventCounts() : Generator
- provideOtlp() : Generator
- setUpNoExporter() : void
- setUpOtlpExporter() : void
- createTransport() : TransportInterface
Constants
BATCH
private
mixed
BATCH
= 'batch'
JSON
private
mixed
JSON
= 'application/json'
PROTOBUF
private
mixed
PROTOBUF
= 'application/x-protobuf'
SIMPLE
private
mixed
SIMPLE
= 'simple'
Properties
$resource read-only
private
ResourceInfo
$resource
$sampler read-only
private
SamplerInterface
$sampler
$tracer
private
TracerInterface
$tracer
Methods
__construct()
public
__construct() : mixed
benchCreateSpans()
public
benchCreateSpans() : void
Tags
benchCreateSpansWithMultipleEvents()
public
benchCreateSpansWithMultipleEvents(array<string|int, mixed> $params) : void
Parameters
- $params : array<string|int, mixed>
Tags
benchCreateSpansWithStackTrace()
public
benchCreateSpansWithStackTrace() : void
Tags
benchExportSpans_Oltp()
public
benchExportSpans_Oltp() : void
Tags
provideEventCounts()
public
provideEventCounts() : Generator
Return values
GeneratorprovideOtlp()
public
provideOtlp() : Generator
Return values
GeneratorsetUpNoExporter()
public
setUpNoExporter() : void
setUpOtlpExporter()
public
setUpOtlpExporter(array<string|int, mixed> $params) : void
Parameters
- $params : array<string|int, mixed>
Tags
createTransport()
private
createTransport(string $contentType) : TransportInterface
Parameters
- $contentType : string