You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have 2 dll integrated with opentelemetry APIs. If I am testing single dll, it is working fine but with both dlls in place while testing I am getting above error.
I guess this issue coming as with more that one dll, protobuf database is trying to initialize twice.
Is there any way to get this initialized once only.
Please note our end users for openetelemetry are dlls which would not link protobuf static libs.
Here are steps to reproduce:
Clone opentelmetry git repo
Instrument for http exporter
Create 2 different dlls which will use opentelemetry APIs
Create application which will use API from above 2 dlls
Run the application
The text was updated successfully, but these errors were encountered:
After integrated CPP opentelemetry libs with our dlls we are getting below error:
[libprotobuf ERROR D:\workdir\source\opentelemetry-cpp\tools\vcpkg\buildtrees\protobuf\src\23fa7edd52-47d9944e09.clean\src\google\protobuf\descriptor_database.cc:641] File already exists in database: opentelemetry/proto/common/v1/common.proto
[libprotobuf FATAL D:\workdir\source\opentelemetry-cpp\tools\vcpkg\buildtrees\protobuf\src\23fa7edd52-47d9944e09.clean\src\google\protobuf\descriptor.cc:1371] CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size):
I have 2 dll integrated with opentelemetry APIs. If I am testing single dll, it is working fine but with both dlls in place while testing I am getting above error.
I guess this issue coming as with more that one dll, protobuf database is trying to initialize twice.
Is there any way to get this initialized once only.
Please note our end users for openetelemetry are dlls which would not link protobuf static libs.
Here are steps to reproduce:
Clone opentelmetry git repo
Instrument for http exporter
Create 2 different dlls which will use opentelemetry APIs
Create application which will use API from above 2 dlls
Run the application
The text was updated successfully, but these errors were encountered: