From 17d4adb3a3ef9abdd472feb8cb2dc054a73acfce Mon Sep 17 00:00:00 2001 From: ChrsMark Date: Wed, 18 Dec 2024 20:48:12 +0200 Subject: [PATCH] override all configurations Signed-off-by: ChrsMark --- receiver/receivercreator/README.md | 13 ++++---- receiver/receivercreator/discovery.go | 36 +++++----------------- receiver/receivercreator/discovery_test.go | 6 ++++ 3 files changed, 20 insertions(+), 35 deletions(-) diff --git a/receiver/receivercreator/README.md b/receiver/receivercreator/README.md index b378e11a98a1..6301fddfb35c 100644 --- a/receiver/receivercreator/README.md +++ b/receiver/receivercreator/README.md @@ -543,7 +543,7 @@ operators: - id: container-parser type: container ``` -This default can be extended using the respective annotation: +This default can be extended or overridden using the respective annotation: `io.opentelemetry.discovery.logs/config` **Example:** @@ -553,17 +553,14 @@ io.opentelemetry.discovery.logs/config: | include_file_name: true max_log_size: "2MiB" operators: + - type: container + id: container-parser - type: regex_parser regex: "^(?P