From 4e708deb9ab109c8ea4c3db0a5edbbc6cf3eb45e Mon Sep 17 00:00:00 2001 From: Paulin Todev Date: Tue, 14 Nov 2023 12:09:12 +0000 Subject: [PATCH] Remove examples --- .../otelcol.processor.resourcedetection.md | 48 ------------------- 1 file changed, 48 deletions(-) diff --git a/docs/sources/flow/reference/components/otelcol.processor.resourcedetection.md b/docs/sources/flow/reference/components/otelcol.processor.resourcedetection.md index 74936c2421d9..58dc7d9a8cc3 100644 --- a/docs/sources/flow/reference/components/otelcol.processor.resourcedetection.md +++ b/docs/sources/flow/reference/components/otelcol.processor.resourcedetection.md @@ -235,51 +235,3 @@ information. ## Examples ### Basic usage - -```river -otelcol.processor.resourcedetection "default" { - - output { - logs = [otelcol.exporter.otlp.default.input] - } -} -``` - -### Sample 15% of the logs - -```river -otelcol.processor.resourcedetection "default" { - sampling_percentage = 15 - - output { - logs = [otelcol.exporter.otlp.default.input] - } -} -``` - -### Sample logs according to their "logID" attribute - -```river -otelcol.processor.resourcedetection "default" { - sampling_percentage = 15 - attribute_source = "record" - from_attribute = "logID" - - output { - logs = [otelcol.exporter.otlp.default.input] - } -} -``` - -### Sample logs according to a "priority" attribute - -```river -otelcol.processor.resourcedetection "default" { - sampling_percentage = 15 - sampling_priority = "priority" - - output { - logs = [otelcol.exporter.otlp.default.input] - } -} -```