* merge otlp exporters
continuing on from Nevay's work, this removes the individual OtlpHttp and OtlpGrpc exporters, and replaces with
Otlp\Exporter using a transport to manage grpc and http/protobuf complexity.
* tidy
* use mockery overload instead of prototype clone
* making all smoke-test examples work
* removing startBatch
verified that the call attributes have the same values when using TraceServiceClient
* tidy
* tidy
* Revert "use mockery overload instead of prototype clone"
This reverts commit bbb685b4d1.
Mocking proto-generated files segfaults with ext-protobuf (which is harder to diagnose when running in a child process, which
was required for fancy mockery mocking of "new". So, back to the prototype approach, and skip the tests if ext-protobuf enabled.
* tests without mocking protobuf
* test
* typo
* reverting FromConnectionStringInterface
* grpc headers
* revert to dumb transports, handle multiple protocols
* tidy, adding initial otlp json support
* self-review
* linting
* remove redundant interface
* Revert "remove redundant interface"
This reverts commit 350d40cdfe.
* fix getFloat
Co-authored-by: Tobias Bachert <git@b-privat.de>
* move withSignal into otlp-specific interface
* moving exporter/transport env handling into a new factory
* linting
* remove unused code
* tidy
* moving OtlpHttp into Otlp
* removing OtlpTransportFactoryInterface
* fix style
* fixing psalm error
* addressing review feedback
* replacing removed code
* fixing example
Co-authored-by: Tobias Bachert <git@b-privat.de>