I am trying to understand the behavior of queue_size in Alloy/OTel Collector when the exporter is down #13892
              
                Unanswered
              
          
                  
                    
                      ashish-sparrows
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Setup
Processor:
all other config is set to default
Test Scenario I am trying:
Log emit rate: 1 log/second
Exporter target: CloudWatch Logs
OTEL endpoint is down until I see the queue full error message in alloy
Observations
Exporter fully down
Logs are emitted at 1 log/sec
Around 90 logs are being stored in local storage
My understanding is that since the queue_size is only 10, there should be only 10 records in the log file
And from 11th on, logs should be dropped because (max_elapsed_time = 0) and queue is also full
is my understanding is correct?
can you please provide if there is any document which explain this in details with some examples
Thanks in Advance
Ashish Agrawal
Beta Was this translation helpful? Give feedback.
All reactions