Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OutboundSender stops sending events to a webhook #266

Open
kristinapathak opened this issue May 11, 2021 · 0 comments
Open

OutboundSender stops sending events to a webhook #266

kristinapathak opened this issue May 11, 2021 · 0 comments
Assignees
Projects

Comments

@kristinapathak
Copy link
Contributor

Occasionally, an outbound sender cuts off an endpoint and somehow manages to get into a state where it no longer sends any events to that endpoint ever again for the duration of the outbound sender's existence. The outbound sender receives events and queues them, but no events are ever taken off the queue and attempted to be sent. This leads to the queue slowly filling up and then being cleared when the endpoint is cut off.

The graph of the outgoing_queue_depths for the specific url will look like this:
Screen Shot 2021-05-11 at 10 35 45 AM
and the delivery_count metric for that url is always 0.

I believe the root cause of this issue lies somewhere either with how we are emptying the queue:

func (obs *CaduceusOutboundSender) Empty(droppedCounter metrics.Counter) {

Or with the dispatcher:

func (obs *CaduceusOutboundSender) dispatcher() {

@kristinapathak kristinapathak self-assigned this May 11, 2021
@kristinapathak kristinapathak added this to New issues in XMiDT via automation May 11, 2021
@kristinapathak kristinapathak moved this from New issues to In progress in XMiDT Jun 7, 2021
@kristinapathak kristinapathak moved this from In progress to New issues in XMiDT Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
XMiDT
  
New issues
Development

No branches or pull requests

1 participant