File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
exporters/otlp/include/opentelemetry/exporters/otlp Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ struct OtlpGrpcClientOptions
3434 std::string endpoint;
3535
3636 /* * Use SSL. */
37- bool use_ssl_credentials;
37+ bool use_ssl_credentials{} ;
3838
3939 /* * CA CERT, path to a file. */
4040 std::string ssl_credentials_cacert_path;
@@ -71,14 +71,14 @@ struct OtlpGrpcClientOptions
7171 std::string user_agent;
7272
7373 /* * max number of threads that can be allocated from this */
74- std::size_t max_threads;
74+ std::size_t max_threads{} ;
7575
7676 /* * Compression type. */
7777 std::string compression;
7878
7979#ifdef ENABLE_ASYNC_EXPORT
8080 // Concurrent requests
81- std::size_t max_concurrent_requests;
81+ std::size_t max_concurrent_requests{} ;
8282#endif
8383
8484 /* * The maximum number of call attempts, including the original attempt. */
Original file line number Diff line number Diff line change @@ -234,6 +234,8 @@ class OtlpHttpClient
234234 std::shared_ptr<opentelemetry::ext::http::client::Session> session;
235235 std::shared_ptr<opentelemetry::ext::http::client::EventHandler> event_handle;
236236
237+ HttpSessionData () = default ;
238+
237239 explicit HttpSessionData (
238240 std::shared_ptr<opentelemetry::ext::http::client::Session> input_session,
239241 std::shared_ptr<opentelemetry::ext::http::client::EventHandler> input_handle)
You can’t perform that action at this time.
0 commit comments