{"id":22025173,"url":"https://github.com/drexed/stackeye","last_synced_at":"2025-05-07T09:34:22.107Z","repository":{"id":59156302,"uuid":"139490609","full_name":"drexed/stackeye","owner":"drexed","description":"Simple hardware \u0026 software stats","archived":false,"fork":false,"pushed_at":"2018-09-26T18:23:24.000Z","size":1020,"stargazers_count":17,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T08:43:26.919Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drexed.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-02T20:24:15.000Z","updated_at":"2019-08-07T10:58:19.000Z","dependencies_parsed_at":"2022-09-13T17:52:03.842Z","dependency_job_id":null,"html_url":"https://github.com/drexed/stackeye","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drexed%2Fstackeye","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drexed%2Fstackeye/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drexed%2Fstackeye/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drexed%2Fstackeye/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drexed","download_url":"https://codeload.github.com/drexed/stackeye/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252851619,"owners_count":21814185,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-30T07:14:47.741Z","updated_at":"2025-05-07T09:34:22.080Z","avatar_url":"https://github.com/drexed.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stackeye\n\n#### What is it?\nStackeye is small and lightweight metrics monitoring system.\nIt's meant for projects where longterm and highly detailed metrics\nis not a priority (p.s. thats what Scout and New Relic are for).\n\n#### What are the design decisions?\nOne of the main design aspects of this project was to have as little\ndependencies as possible (currently just Sinatra). All metric commands\nare executed locally and all data is stored locally in JSON files.\n\n#### What does the future hold?\nThis project will continue to grow overtime but I would **love some help\nfrom the community** to really make it blossom into a great project. The\nfollowing is a list of future must/nice to have:\n\n* Metrics\n  * Ruby\n  * Rails\n  * SQLite\n  * PostgreSQL\n  * Redis\n* Alerts\n  * Email\n  * SMS\n* OS\n  * Windows\n  * Mac OS\n  * Unix\n\n![Web UI](https://github.com/drexed/stackeye/raw/master/examples/web-ui.png)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'stackeye'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install stackeye\n\n## Usage\n\n#### Standalone Sinatra app\n```ruby\nruby app.rb\n\n# crontab\n*/5 * * * * /bin/bash -l -c 'cd /path/to/project \u0026\u0026 Stackeye::Metrics::All.set \u003e\u003e /dev/null'\n0 0 * * * /bin/bash -l -c 'cd /path/to/project \u0026\u0026 Stackeye::Tools::Database.truncate \u003e\u003e /dev/null'\n```\n\n#### Mounted Rails app\n```ruby\n# Run initializer generator:\nrails generate stackeye:install\n\n# config/routes.rb\nmount Stackeye::Application, at: '/stackeye'\n\n# The following could be used if you are using\n# the whenever gem to manage your crons.\n\n# config/schedule.rb\nevery 5.minutes do\n  runner 'Stackeye::Metrics::All.set'\nend\n\nevery :day, at: '12:00 am' do\n  runner 'Stackeye::Tools::Database.truncate'\nend\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/drexed/stackeye. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the Stackeye project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/drexed/stackeye/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrexed%2Fstackeye","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrexed%2Fstackeye","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrexed%2Fstackeye/lists"}