You are getting an otel-collector template error during a deployment
Example:
Task 200223 | 20:18:08 | Preparing deployment: Rendering templates (00:00:12)
L Error: Unable to render instance groups for deployment. Errors are:
- Unable to render jobs for instance group 'nats'. Errors are:
- Unable to render templates for job 'otel-collector'. Errors are:
- Error filling in template 'config.yml.erb' (line 190: The following configured exporters are not allowed: ["otlphttp"]. Allowed: ["otlp", "prometheus"].)This may happen after adding configuration to Foundation Core -> Elastic Application Runtime -> System Logging/OTEL -> OpenTelemetry Collector Configuration
Elastic Application Runtime
This happens if you try to use an exporter, extension, or processor that is not in the allow_list. By default, only some of the exporters and processors are allowed. For example, this is the default allow list for otel-collector v0.11.29
jobs:
- name: otel-collector
properties:
allow_list:
exporters: "[otlp, prometheus, prometheusremotewrite]"
extensions: "[]"
processors: "[batch, memory_limiter]"
Enable the Foundation Core -> Elastic Application Runtime -> System Logging/OTEL -> Enable additional Open Telemetry Collector features property.
This will allow the rest of the available components. For the list of included components, please refer to the Configuring the OpenTelemetry Collector documentation