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.
Adding proxy_url in Otelcol Metrics Exporter and Otelcol RTM Logs Exporter
- Log in to
- 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
- 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
- Click Save Changes.
Changes will take effect automatically within five minutes.