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

Proper logging and monitoring #789

Open
empeje opened this issue Apr 27, 2018 · 3 comments
Open

Proper logging and monitoring #789

empeje opened this issue Apr 27, 2018 · 3 comments

Comments

@empeje
Copy link
Contributor

empeje commented Apr 27, 2018

We have three kinds of deployment

  • Earth
  • Nation
  • Community

For earth and nation it is important to log everything so that we can revisit and debug later when we need it. I think log archive is the first step and next step is something like Graylog where we push logs to statsd and it will send to Graylog, and it will give us flexibility when we want to search some problem in production. Thats for the backend (Nginx + CouchDB), for the frontend we should emit the data somewhere like Datadog or Newrelic for later use when debugging a problem.

For the community, it is okay to have the log stored in raspberry pi and the log of client in console.log of the user so when they have a problem they can tell us what is the problem based on the console.log.

So, my point here is we need to be careful with our nation and earth.

Since we also employ docker, we also need to monitor the system-level metrics like CPU, RAM, etc.

@empeje
Copy link
Contributor Author

empeje commented May 22, 2018

What is your plan @dogi about this?

If there is a problem with planet how the user report the problem and told us the step they did until getting an unexpected behavior?

@dogi
Copy link
Member

dogi commented May 22, 2018

@empeje good to think about this now
on the other side there are pieces which are more important which we need to tackle first

@empeje
Copy link
Contributor Author

empeje commented May 22, 2018

got it, will add label pending

@empeje empeje added the pending label May 22, 2018
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

2 participants