diff --git a/release-notes/elastic-observability/known-issues.md b/release-notes/elastic-observability/known-issues.md index 3c3a9d44b6..b412488683 100644 --- a/release-notes/elastic-observability/known-issues.md +++ b/release-notes/elastic-observability/known-issues.md @@ -156,5 +156,38 @@ After upgrading a cluster, Collector and Symbolizer endpoints may not be configu DELETE kbn:/api/fleet/package_policies/?force=true ``` +:::: + +:::{dropdown} Error when using the Opentelemetry onboarding flow using EDOT Collector +Applies to: {{stack}} 9.1.6, 9.2.0 + +**Details** + +Users trying to collect logs and host metrics using the Elastic distribution of the OTel collector will see error when using the OpenTelemetry quickstart onboarding flow: + +``` +> sudo ./otelcol --config otel.yml + +Starting in otel mode +failed to get config: cannot unmarshal the configuration: decoding failed due to the following error(s): + +'exporters' error reading configuration for "otlp/ingest": decoding failed due to the following error(s): + +'sending_queue' decoding failed due to the following error(s): + +'batch' decoding failed due to the following error(s): + +'' has invalid keys: flush_interval + +``` + +**Workaround** + +To work around this issue, manually update the configuration of the generated `otel.yaml` file to replace incorrect key `flush_interval` with the correct key `flush_timeout`. + +```yaml +batch: + flush_timeout: 1s +``` ::::