10 #include "opentelemetry/exporters/otlp/otlp_environment.h"
11 #include "opentelemetry/exporters/otlp/otlp_http.h"
12 #include "opentelemetry/version.h"
14 #ifdef ENABLE_ASYNC_EXPORT
36 OtlpHttpExporterOptions();
38 OtlpHttpExporterOptions(
void *);
39 OtlpHttpExporterOptions(
const OtlpHttpExporterOptions &) =
default;
40 OtlpHttpExporterOptions(OtlpHttpExporterOptions &&) =
default;
41 OtlpHttpExporterOptions &operator=(
const OtlpHttpExporterOptions &) =
default;
42 OtlpHttpExporterOptions &operator=(OtlpHttpExporterOptions &&) =
default;
43 ~OtlpHttpExporterOptions();
68 std::chrono::system_clock::duration timeout;
73 #ifdef ENABLE_ASYNC_EXPORT
75 std::size_t max_concurrent_requests;
78 std::size_t max_requests_per_connection;
82 bool ssl_insecure_skip_verify;
85 std::string ssl_ca_cert_path;
88 std::string ssl_ca_cert_string;
91 std::string ssl_client_key_path;
94 std::string ssl_client_key_string;
97 std::string ssl_client_cert_path;
100 std::string ssl_client_cert_string;
103 std::string ssl_min_tls;
106 std::string ssl_max_tls;
109 std::string ssl_cipher;
112 std::string ssl_cipher_suite;
115 std::string compression;
118 std::uint32_t retry_policy_max_attempts{};
121 std::chrono::duration<float> retry_policy_initial_backoff{};
124 std::chrono::duration<float> retry_policy_max_backoff{};
127 float retry_policy_backoff_multiplier{};