10BC0 HTTP 503 "sending queue is full" error when exporting span to jaeger v1 · jaegertracing · Discussion #7522 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

With AI assistance, I identified the key bottleneck in the newSpanProcessor method, which has a default configuration exporterhelper.WithQueue(exporterhelper.NewDefaultQueueConfig()). This queue defaults to 1000, so I tried customizing the queue length to 10000. After rebuilding, the "sending queue is full" errors from other applications disappeared. Of course, this may not be the best practice - theoretically, reducing the application's sampling rate would be the correct approach.

Here's the modification I made:

exporterhelper.WithQueue(exporterhelper.QueueBatchConfig{
    Enabled:      true,
    NumConsumers: 10,
    QueueSize:    10000,
}),

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by figureair
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
0