gRPC transport for OpenTelemetry.
This package provides a transport which can be used by open-telemetry/exporter-otlp
to send protobuf-encoded telemetry
over gRPC.
https://opentelemetry.io/docs/instrumentation/php/exporters/#otlp
$transport = (new \OpenTelemetry\Contrib\Grpc\GrpcTransportFactory())->create('http://collector:4317');
$exporter = new \OpenTelemetry\Contrib\Otlp\SpanExporter($transport);
This repository is a read-only git subtree split. To contribute, please see the main OpenTelemetry PHP monorepo.