Learn how you can enable OTel in Impala and configure certain properties that enable
you to optimize the data collection.
Ensure that you are on Cloudera Runtime 7.3.2 or higher
version.
To ensure secure and reliable telemetry data transfer, you can configure SSL
or TLS, and retry settings. These flags apply specifically to the
communication between the Impala daemon and the OTel collector.
In Cloudera Manager, click Clusters > Impala > Configuration.
Search for Impala Daemon Command Line Argument Advanced Configuration
Snippet (Safety Valve)
Manually add the configurations as needed:
Required: Add the --otel_trace_collector_url configuration
key.
Specifies the URL of the OpenTelemetry collector to which trace data
will be exported. The endpoint must be a valid URL.
--otel_collector_url= https://collector-endpoint
Required: Add the --otel_trace_enabled configuration key. The
default value is false.
If set to true, OpenTelemetry traces will be
generated and exported to the configured OpenTelemetry collector.
Optional: Add the otel_trace_batch_max_batch_size configuration
key. The default value is 512.
Specifies the maximum batch size of every export to the OTel
Collector.
Optional: Add the otel_trace_batch_queue_size configuration key.
The default value is 2048.
Specifies the maximum buffer or queue size. After the set size is
reached, spans are dropped.
Optional: Add the otel_trace_batch_schedule_delay_ms
configuration key. The default value is 5000.
Specifies the delay interval in milliseconds between two consecutive
batch exports.
Optional: Add the otel_trace_additional_headers configuration
key.
Specifies a list of additional HTTP headers to be sent with each call
to the OTel Collector .
Optional: Add the otel_trace_ca_cert_path configuration
key.
Specifies the path to a file containing a CA certificates
bundle.
Optional: Add the otel_trace_ca_cert_string configuration
key.
Specifies a string containing a CA certificates bundle.
Optional: Add the otel_trace_compression configuration key. The
default value is true.
If set to true, uses ZLib compression for sending
data to the OTel Collector.
Optional: Add the otel_trace_timeout_s configuration key. The
default value is 10.
Specifies the export timeout in seconds.
Optional: Add the otel_trace_tls_insecure_skip_verify
configuration key. The default value is false.
If set to true, skips verification of the collector
TLS certificate.
Optional: Add the otel_trace_tls_minimum_version configuration
key.
The default value is the overall minimum TLS version from the
ssl_minimum_version flag.
Optional: Add the ssl_minimum_version configuration key. The
default value is tlsv1.2.
Specifies the minimum SSL or TLS version that Impala Thrift services
are expected to use for both client and server connections. This flag
applies to all Impala Thrift services, and supported versions include
TLSv1, TLSv1.1, and TLSv1.2.
Optional: Add the otel_trace_ssl_ciphers configuration key. The
default value is the value of Impala ssl_cipher_list
startup flag.
Specifies a list of allowed TLS cipher suites when using TLS
1.2.
Optional: Add the otel_trace_tls_cipher_suites configuration
key. The default value is the value of Impala
tls_ciphersuites startup flag.
Specifies a list of allowed TLS cipher suites when using TLS
1.3.
Optional: Add the otel_trace_retry_policy_max_attempts
configuration key. The default value is 5.
Specifies the maximum number of call attempts, including the original
attempt.
Optional: Add the otel_trace_retry_policy_initial_backoff_s
configuration key. The default value is 1.
Specifies the initial backoff delay between retry attempts in
seconds.
Optional: Add the otel_trace_retry_policy_max_backoff_s
configuration key. The default value is 0.
Specifies the maximum backoff delay between retry attempts in seconds.
A value of 0 or less indicates that the configuration
key is not set.
Optional: Add the otel_trace_retry_policy_backoff_multiplier
configuration key. The default value is 2.
Specifies the factor by which the retry interval increases after every
failed attempt.
Optional: Add the otel_debug configuration key. The default
value is false.
If set to true, this outputs additional debug
information.