Skip to content

Latest commit

 

History

History
76 lines (58 loc) · 3.13 KB

README.md

File metadata and controls

76 lines (58 loc) · 3.13 KB

Marvin - Metrics Tracker

What I cannot create, I do not understand. — Richard Feynman

  • Simple daemon built with Rust to track metrics.
  • The goal is run application as a daemon and track specific metrics.
  • We also want to be able to send metrics to a server via a socket connection if option specified when starting the daemon.
  • We would only send metrics to server if threasholds are met.
  • Configuration and threasholds are specified in a config file.
  • Initially only alerts would be sent, not every single measurement.

Requirements

How to run

# Needs to be ran as root
> make build
> sudo make start-daemon

How to find and kill the daemon

make kill-marvin

Project Progress

  • Run application as a daemon
  • Monitor disk usage metric as a POC
  • Monitor memory usage metric as a POC
  • Save data on local file on disk
  • Create Makefile
  • Write tests
  • Publish on github as open source
  • Import config file from /etc/marvin as TOML format
  • Create install/startup script

Roadmap

  • Add flags to control daemon
  • Connect to socket server with address at config if flag specified at startup
  • Send metrics to server if threasholds are met.
  • Improve local file storage

Important Links, Sources and Notes

Contributing

Pull requests are warmly welcome!!!

For major changes, please open an issue first and let's talk about it. We are all ears!

If you'd like to contribute, please fork the repository and make changes as you'd like and shoot a Pull Request our way!

Please make sure to update tests as appropriate.

If you feel like you need it go check the GitHub documentation on creating a pull request.

Code of Conduct

Contribution to the project is organized under the terms of the Contributor Covenant, the maintainer of Marvin, @joaoh82, promises to intervene to uphold that code of conduct.

Contact

If you want to contact me you can reach me at joaoh82@gmail.com.