"example_otlp_grpc_log" sample not running. libopentelemetry_exporter_otlp_grpc_log.so and libopentelemetry_exporter_otlp_grpc.so library symbols are mixing/overlapping when used together. #1603
Labels
bug
Something isn't working
Describe your environment
https://github.com/open-telemetry/opentelemetry-cpp; main branch
Steps to reproduce
To run example_otlp_grpc_log
cd ~/(path to opentelemetry-cpp)/build/examples/otlp/
./example_otlp_grpc_log
What is the expected behavior?
What did you expect to see?
Resource SchemaURL:
Resource labels:
-> service.name: STRING(unknown_service)
-> telemetry.sdk.version: STRING(1.6.0)
-> telemetry.sdk.name: STRING(opentelemetry)
-> telemetry.sdk.language: STRING(cpp)
ScopeLogs #0
ScopeLogs SchemaURL: https://opentelemetry.io/schemas/1.11.0
InstrumentationScope default 1.0.0
LogRecord #0
ObservedTimestamp: 1970-01-01 00:00:00 +0000 UTC
Timestamp: 2022-09-09 10:54:09.260830957 +0000 UTC
Severity: DEBUG
Body: body
Trace ID: 58fadb6c445f6f741eb5e7466cb89480
Span ID: 06eb3556ba870e11
Flags: 1
{"kind": "exporter", "data_type": "logs", "name": "logging"}
What is the actual behavior?
What did you see instead?
Nothing
Its just stuck
threads are creating and exiting continuously until forcefully killing application.
Additional context
Add any other context about the problem here.
About "opentelemetry_exporter_otlp_grpc and opentelemetry_exporter_otlp_grpc_log library symbols are mixing when used together" when ran ./example_otlp_grpc_log using debugger (gdb) found out libopentelemetry_exporter_otlp_grpc_log.so library symbols are getting overlapped by libopentelemetry_exporter_otlp_grpc.so symbols.
When both used separately (opentelemetry_exporter_otlp_grpc, opentelemetry_exporter_otlp_grpc_log), working as expected.
The text was updated successfully, but these errors were encountered: