File tree 1 file changed +0
-48
lines changed
docs/sources/flow/reference/components
1 file changed +0
-48
lines changed Original file line number Diff line number Diff line change @@ -235,51 +235,3 @@ information.
235
235
## Examples
236
236
237
237
### 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
- ```
You can’t perform that action at this time.
0 commit comments