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

[WIP] Add Prometheus monitoring server #106

Closed
wants to merge 5 commits into from

Conversation

SuperQ
Copy link
Contributor

@SuperQ SuperQ commented Apr 18, 2017

Add a role for installing a Prometheus monitoring server.

Add a role for installing a Prometheus monitoring server.
Add auto-calculation for memory usage.
@hellais
Copy link
Member

hellais commented Apr 19, 2017

This looks great, thanks for putting it together!

Would it be possible to also add some examples on how we would go abouts adding exporters to one of our components?

I think for the moment the most high priority things to monitor is probably ooni-backend. What we would like to be able to monitor there is:

  • Basic machine metrics (with node_exporter)
  • Something to monitor if the actual ooni-backend collector (a HTTP(s) service) is running properly (it runs inside of docker) either via a process monitor or by reaching the HTTP(s) endpoints

@SuperQ
Copy link
Contributor Author

SuperQ commented Apr 19, 2017

Sure, exporter/metrics examples are pretty easy. I wanted to start with the server side.

For monitoring nodes, we will need to enumerate all of the nodes, this is easy to do with ansible's host inventory.

For monitoring jobs, we will need to enumerate all of the instances of the app running in docker. If this is also in some kind of ansible inventory, it should be easy to do.

As for how to get the data out of the ooni-backend, it will be best to integrate one of the Prometheus application libraries0.

@hellais hellais mentioned this pull request May 5, 2017
11 tasks
@hellais
Copy link
Member

hellais commented May 15, 2017

Note: this is superseeded by #108

@darkk
Copy link
Contributor

darkk commented Aug 11, 2017

@SuperQ thanks a lot for helping to bootstrap that

@darkk darkk closed this Aug 11, 2017
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

Successfully merging this pull request may close these issues.

None yet

3 participants