You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting the decision_wait parameter to a value lower than 1s, the following error message is shown during the startup:
2023/08/31 09:28:53 collector server run finished with error: failed to build pipelines: failed to create "tail_sampling" processor, in pipeline "traces/export": invalid number of batches, it must be greater than zero
A workaround is to use a decision wait of at least 1s.
2023-08-31T09:31:48.873-0300 info service/telemetry.go:84 Setting up own telemetry...
2023-08-31T09:31:48.874-0300 info service/telemetry.go:201 Serving Prometheus metrics {"address": ":8888", "level": "Basic"}
2023-08-31T09:31:48.874-0300 info exporter@v0.83.0/exporter.go:275 Development component. May change in the future. {"kind": "exporter", "data_type": "traces", "name": "logging"}
Error: failed to build pipelines: failed to create "tail_sampling" processor, in pipeline "traces": invalid number of batches, it must be greater than zero
2023/08/31 09:31:48 collector server run finished with error: failed to build pipelines: failed to create "tail_sampling" processor, in pipeline "traces": invalid number of batches, it must be greater than zero
Additional context
No response
The text was updated successfully, but these errors were encountered:
This PR changes the tail-sampling processor to allow sub-second decision
wait times. Before this PR, the batcher size would be determined based
on the decision time, which would be 0 for sub-second values. This has
now a minimum value of 1.
Fixes#26354
---------
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
Component(s)
processor/tailsampling
What happened?
When setting the decision_wait parameter to a value lower than 1s, the following error message is shown during the startup:
A workaround is to use a decision wait of at least 1s.
Collector version
v0.84.0
Environment information
No response
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: