Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Make sleeve/fastdp status visible in Prometheus #3376

Open
mikebryant opened this issue Aug 10, 2018 · 3 comments
Open

Make sleeve/fastdp status visible in Prometheus #3376

mikebryant opened this issue Aug 10, 2018 · 3 comments

Comments

@mikebryant
Copy link
Collaborator

Feature Request

Our Problem

We had a firewall rule in our test environment that allowed ipsec. This wasn't present in production. As a result weave downgraded all the connections to sleeve, leading to severe latency issues.

The request

Would it be possible to expose the sleeve/fastdp state in Prometheus? We'd like to add alerting so we can't be bitten by this situation in future without being told about it.

@bboreham
Copy link
Contributor

I think you should be able to monitor for weave_flows going to zero, or maybe absent(weave_flows)

@bboreham
Copy link
Contributor

But directly exposing the state is a great idea too.

@mikebryant
Copy link
Collaborator Author

Ah, thanks for the tip. Looks like that would be sufficient right now to give us an idea of status :)

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

No branches or pull requests

4 participants