File tree Expand file tree Collapse file tree 2 files changed +18
-20
lines changed
Expand file tree Collapse file tree 2 files changed +18
-20
lines changed Original file line number Diff line number Diff line change 1414class CustomSpanProcessor : public opentelemetry ::sdk::trace::SpanProcessor
1515{
1616public:
17- CustomSpanProcessor (std::string comment) : m_comment(comment) {}
17+ CustomSpanProcessor (const std::string & comment) : m_comment(comment) {}
1818 ~CustomSpanProcessor () override = default ;
1919
2020 std::unique_ptr<opentelemetry::sdk::trace::Recordable> MakeRecordable () noexcept override ;
Original file line number Diff line number Diff line change @@ -40,32 +40,30 @@ OtlpHttpExporterOptions::OtlpHttpExporterOptions()
4040}
4141
4242OtlpHttpExporterOptions::OtlpHttpExporterOptions (void *)
43- : json_bytes_mapping(JsonBytesMappingKind::kHexId ),
43+ : url(),
44+ content_type(HttpRequestContentType::kBinary ),
45+ json_bytes_mapping(JsonBytesMappingKind::kHexId ),
4446 use_json_name(false ),
4547 console_debug(false ),
46- ssl_insecure_skip_verify(false )
48+ timeout(0 ),
49+ http_headers(),
50+ ssl_insecure_skip_verify(false ),
51+ ssl_ca_cert_path(),
52+ ssl_ca_cert_string(),
53+ ssl_client_key_path(),
54+ ssl_client_key_string(),
55+ ssl_client_cert_path(),
56+ ssl_client_cert_string(),
57+ ssl_min_tls(),
58+ ssl_max_tls(),
59+ ssl_cipher(),
60+ ssl_cipher_suite(),
61+ compression()
4762{
48- url = " " ;
49- content_type = HttpRequestContentType::kBinary ;
50-
5163#ifdef ENABLE_ASYNC_EXPORT
5264 max_concurrent_requests = 64 ;
5365 max_requests_per_connection = 8 ;
5466#endif /* ENABLE_ASYNC_EXPORT */
55-
56- ssl_ca_cert_path = " " ;
57- ssl_ca_cert_string = " " ;
58- ssl_client_key_path = " " ;
59- ssl_client_key_string = " " ;
60- ssl_client_cert_path = " " ;
61- ssl_client_cert_string = " " ;
62-
63- ssl_min_tls = " " ;
64- ssl_max_tls = " " ;
65- ssl_cipher = " " ;
66- ssl_cipher_suite = " " ;
67-
68- compression = " " ;
6967}
7068
7169OtlpHttpExporterOptions::~OtlpHttpExporterOptions () {}
You can’t perform that action at this time.
0 commit comments