opentelemetry-cpp-contrib icon indicating copy to clipboard operation
opentelemetry-cpp-contrib copied to clipboard

HTTP or GRPC in config

Open iquirino opened this issue 3 years ago • 2 comments

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

iquirino avatar Dec 13 '21 11:12 iquirino

-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.

owent avatar May 09 '22 03:05 owent

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?

iquirino avatar Jun 30 '22 18:06 iquirino