Skip to content

Commit 4e708de

Browse files
committed
Remove examples
1 parent c4c6e75 commit 4e708de

File tree

1 file changed

+0
-48
lines changed

1 file changed

+0
-48
lines changed

docs/sources/flow/reference/components/otelcol.processor.resourcedetection.md

-48
Original file line numberDiff line numberDiff line change
@@ -235,51 +235,3 @@ information.
235235
## Examples
236236

237237
### Basic usage
238-
239-
```river
240-
otelcol.processor.resourcedetection "default" {
241-
242-
output {
243-
logs = [otelcol.exporter.otlp.default.input]
244-
}
245-
}
246-
```
247-
248-
### Sample 15% of the logs
249-
250-
```river
251-
otelcol.processor.resourcedetection "default" {
252-
sampling_percentage = 15
253-
254-
output {
255-
logs = [otelcol.exporter.otlp.default.input]
256-
}
257-
}
258-
```
259-
260-
### Sample logs according to their "logID" attribute
261-
262-
```river
263-
otelcol.processor.resourcedetection "default" {
264-
sampling_percentage = 15
265-
attribute_source = "record"
266-
from_attribute = "logID"
267-
268-
output {
269-
logs = [otelcol.exporter.otlp.default.input]
270-
}
271-
}
272-
```
273-
274-
### Sample logs according to a "priority" attribute
275-
276-
```river
277-
otelcol.processor.resourcedetection "default" {
278-
sampling_percentage = 15
279-
sampling_priority = "priority"
280-
281-
output {
282-
logs = [otelcol.exporter.otlp.default.input]
283-
}
284-
}
285-
```

0 commit comments

Comments
 (0)