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

Generate 'snmp traps' #457

Open
kruisdraad opened this issue Aug 4, 2018 · 1 comment
Open

Generate 'snmp traps' #457

kruisdraad opened this issue Aug 4, 2018 · 1 comment

Comments

@kruisdraad
Copy link
Contributor

Routers generate SNMP traps for diagnostics, now i am NOT saying we should use SNMP ... however we could use some kind of push notifications to send out diagnostics messages.

For example state changes as described in issue #456 would be a great candidate for this, to log this in some public / closed channel for ILP operators. You can see sessions flapping etc.

@adrianhopebailie
Copy link
Contributor

There is currently a /metrics endpoint exposed when the admin-api is enabled. The output is formatted to be consumed by Prometheus (i.e. the output is polled)

A common pattern here would be to add a metric that is a state flag, probably one per plugin/account.
The only downside is this is a polling model as opposed to push and it could be that polling to frequently impacts the node if the other metrics are expensive to deliver.

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

No branches or pull requests

2 participants