Configuring OTel in Impala
Learn how you can enable OTel in Impala and configure certain properties that enable you to optimize the data collection.
- You must ensure that you are on Cloudera Data Warehouse on premises 1.5.5 SP1 or higher version.
-
Log in to the Cloudera web interface and
navigate to the Cloudera Data Warehouse service.
The Overview page is displayed.
-
From the Overview page, click the Virtual
Warehouses tab, identify the Impala Virtual Warehouse that you
want to configure, and then click the
icon and choose the Edit
action from the list of actions.
- In the Virtual Warehouse Details page, go to Configurations > Impala Coordinator and then select the flagfile option from the Configuration files list.
-
Click the Add Custom Configuration button and manually
add the configurations as needed.
- Required:
Add the
--otel_trace_collector_urlconfiguration 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_enabledconfiguration key. The default value isfalse.If set totrue, OpenTelemetry traces will be generated and exported to the configured OpenTelemetry collector. - Optional:
Add the
otel_trace_batch_max_batch_sizeconfiguration key. The default value is512.Specifies the maximum batch size of every export to the OTel Collector. This configuration is applicable when the value of theotel_trace_span_processorconfiguration isbatch. - Optional:
Add the
otel_trace_batch_queue_sizeconfiguration key. The default value is2048.Specifies the maximum buffer or queue size. After the set size is reached, spans are dropped. This configuration is applicable when the value of theotel_trace_span_processorconfiguration isbatch. - Optional:
Add the
otel_trace_batch_schedule_delay_msconfiguration key. The default value is5000.Specifies the delay interval in milliseconds between two consecutive batch exports. This configuration is applicable when the value of theotel_trace_span_processorisbatch. - Optional:
Add the
otel_trace_additional_headersconfiguration 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_pathconfiguration key.Specifies the path to a file containing a CA certificates bundle. - Optional:
Add the
otel_trace_ca_cert_stringconfiguration key.Specifies a string containing a CA certificates bundle. - Optional:
Add the
otel_trace_compressionconfiguration key. The default value istrue.If set totrue, uses ZLib compression for sending data to the OTel Collector. - Optional:
Add the
otel_trace_timeout_sconfiguration key. The default value is10.Specifies the export timeout in seconds. - Optional:
Add the
otel_trace_tls_insecure_skip_verifyconfiguration key. The default value isfalse.If set totrue, skips verification of the collector TLS certificate. - Optional:
Add the
otel_trace_tls_minimum_versionconfiguration key. The default value is the overall minimum TLS version.Specifies the minimum allowed TLS version. - Optional:
Add the
ssl_minimum_versionconfiguration key. The default value istlsv1.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_ciphersconfiguration key. The default value is the value of Impalassl_cipher_list startupflag.Specifies a list of allowed TLS cipher suites when using TLS 1.2. - Optional:
Add the
otel_trace_tls_cipher_suitesconfiguration key. The default value is the value of Impalatls_ciphersuitesstartup flag.Specifies a list of allowed TLS cipher suites when using TLS 1.3. - Optional:
Add the
otel_trace_retry_policy_max_attemptsconfiguration key. The default value is5.Specifies the maximum number of call attempts, including the original attempt. - Optional:
Add the
otel_trace_retry_policy_initial_backoff_sconfiguration key. The default value is1.Specifies the initial backoff delay between retry attempts in seconds. - Optional:
Add the
otel_trace_retry_policy_max_backoff_sconfiguration key. The default value is0.Specifies the maximum backoff delay between retry attempts in seconds. A value of0or less indicates that the configuration key is not set. - Optional:
Add the
otel_trace_retry_policy_backoff_multiplierconfiguration key. The default value is2.Specifies the factor by which the retry interval increases after every failed attempt. - Optional:
Add the
otel_debugconfiguration key. The default value isfalse.If set totrue, this outputs additional debug information.
- Required:
Add the
- Click the Apply Changes button and restart the Impala Virtual Warehouse.
