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

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() {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant