mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-16 18:00:46 +00:00
internal/telemetry: fix undersized span queue causing dropped spans
This commit is contained in:
parent
5695fbc156
commit
f4358b326f
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ func SetupTelemetry(cfg node.OpenTelemetryConfig, stack *node.Node) error {
|
||||||
// Define batch span processor options
|
// Define batch span processor options
|
||||||
batchOpts := []sdktrace.BatchSpanProcessorOption{
|
batchOpts := []sdktrace.BatchSpanProcessorOption{
|
||||||
// The maximum number of spans that can be queued before dropping
|
// The maximum number of spans that can be queued before dropping
|
||||||
sdktrace.WithMaxQueueSize(sdktrace.DefaultMaxExportBatchSize),
|
sdktrace.WithMaxQueueSize(sdktrace.DefaultMaxQueueSize),
|
||||||
// The maximum number of spans to export in a single batch
|
// The maximum number of spans to export in a single batch
|
||||||
sdktrace.WithMaxExportBatchSize(sdktrace.DefaultMaxExportBatchSize),
|
sdktrace.WithMaxExportBatchSize(sdktrace.DefaultMaxExportBatchSize),
|
||||||
// How long an export operation can take before timing out
|
// How long an export operation can take before timing out
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue