OpenTelemetry gateway is not enabled on a cluster

If the gateway is not enabled on your cluster, you must add the proxy_url in Otelcol Metrics Exporter and Otelcol RTM Logs Exporter in Cloudera Manager.

For information on configuring the gateway, see the Configuring the gateway nodes using Cloudera Manager documentation.

Adding proxy_url in Otelcol Metrics Exporter and Otelcol RTM Logs Exporter

  1. Log in to Cloudera Manager > Hosts > Hosts Configuration
  2. Search for otelcol_exporters and add the proxy_url configuration. For example,
    exporters:
      prometheusremotewrite/host-metrics:
        proxy_url: http://proxy-server:port
        endpoint: $HOST_PARAM(otelcol_remote_write_url)
        timeout: 30s
        retry_on_failure:
          enabled: true
  3. Search for otelcol_rtm_logs_exporters and add the proxy_url configuration. For example,
    exporters:
        exporter_timeout:
          timeout: '45s'
        retry_on_failure:
          enabled: false
        proxy_url: http://proxy-host:port
        auth:
          authenticator: $CDPAUTH_LOGS_EXTENSION_NAME
  4. Click Save Changes.

    Changes will take effect automatically within five minutes.