Why are we getting this message in our ASM Agent logs?
[ERROR] [IntroscopeAgent.Asm.RestClient] Event Stream API server is disconnected because of Queue full
[ERROR] [IntroscopeAgent.Asm.RestClient] Event Stream API server is disconnected because of Queue full
The Agent pulls events from the stream into an internal queue with a fixed size of 2000. If events are removed from the queue slower than being added, it eventually fills up, resulting in a 'Queue full' error message.
Events are removed from the queue sequentially, converted into metrics and pushed to EM. Conversion to metrics may involve downloading additional assets (.har or .jtl) files from ASM.
If either downloading of files or pushing metrics to EM is too slow, the 'Queue full' error will occur.
This is caused by a delay introduced by the disconnecting agent and therefore the Queue is getting full.
Note that the Event Stream server can disconnect from time to time, but that is expected and will not cause any data loss.