Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opentelemetry-cpp: fix visibility of protobuf and gRPC headers #19793

Closed
wants to merge 1 commit into from

Commits on Sep 13, 2023

  1. opentelemetry-cpp: fix visibility of protobuf and gRPC headers

    Protobuf and gRPC headers must be made available for consumers of the
    OpenTelemetry package because the generated headers for OTLP refer to
    them.
    
    This fixes the following compiler errors downstream:
    
    ```
    In file included from $HOME/.conan2/p/b/opent272c3e9f1254c/p/include/opentelemetry/exporters/otlp/otlp_grpc_exporter.h:11:
    In file included from $HOME/.conan2/p/b/opent272c3e9f1254c/p/include/opentelemetry/proto/collector/trace/v1/trace_service.grpc.pb.h:22:
    $HOME/.conan2/p/b/opent272c3e9f1254c/p/include/opentelemetry/proto/collector/trace/v1/trace_service.pb.h:10:10: fatal error: 'google/protobuf/port_def.inc' file not found
    ```
    
    ```
    In file included from $HOME/.conan2/p/b/opentde6f16d8c2837/p/include/opentelemetry/exporters/otlp/otlp_grpc_exporter.h:11:
    $HOME/.conan2/p/b/opentde6f16d8c2837/p/include/opentelemetry/proto/collector/trace/v1/trace_service.grpc.pb.h:25:10: fatal error: 'grpcpp/generic/async_generic_service.h' file not found
    ```
    tuxu committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    a29e079 View commit details
    Browse the repository at this point in the history