opentelemetry-cpp-contrib
opentelemetry-cpp-contrib copied to clipboard
HTTP or GRPC in config
Describe your environment I am compiling from the source
Should I compile two different versions, on with gRPC and another with HTTP?
-DWITH_OTLP_GRPC=ON
-DWITH_OTLP_HTTP=ON
In case of compile with gRPC and HTTP = ON, how could I select which to use? or it is not necessary to?
What is the expected behavior? A selector of which protocol use
-DWITH_OTLP_GRPC=ON
and -DWITH_OTLP_HTTP=ON
are just be used to tell build system to build the exporters. Which to use depends your codes.
I am building nginx docker images, so, I dont know which one each project will use. Do I need to make two different versions of the docker container? Is it possible to use these two options at the same time?