Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/appsignal/probes-rs
Rust library to read out system stats from a machine running Unix
https://github.com/appsignal/probes-rs
rust stats unix
Last synced: about 2 months ago
JSON representation
Rust library to read out system stats from a machine running Unix
- Host: GitHub
- URL: https://github.com/appsignal/probes-rs
- Owner: appsignal
- License: mit
- Created: 2015-04-01T18:06:36.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2024-07-08T11:48:10.000Z (6 months ago)
- Last Synced: 2024-08-09T17:13:15.907Z (5 months ago)
- Topics: rust, stats, unix
- Language: Rust
- Homepage:
- Size: 229 KB
- Stars: 15
- Watchers: 5
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Probes
[![Build Status](https://travis-ci.org/appsignal/probes-rs.svg?branch=main)](https://travis-ci.org/appsignal/probes-rs)
[![Crate](http://meritbadge.herokuapp.com/probes)](https://crates.io/crates/probes)Rust library to read out system stats from a machine running Unix.
Currently only supports Linux.## Supported stats
### System wide
* load
* cpu
* memory
* network
* io
* disk### Per process
* memory (total, resident, virtual)
## Contributing
Thinking of contributing to our Probes package? Awesome! 🚀
Please follow our [Contributing guide][contributing-guide] in our
documentation and follow our [Code of Conduct][coc].Running `cargo fmt` before contributing changes would reduce diffs for future
contributions.Also, we would be very happy to send you Stroopwafles. Have look at everyone
we send a package to so far on our [Stroopwafles page][waffles-page].## Setup
* Download and install [Docker](https://www.docker.com/)
* Build the images: `make build`
* Make sure that the path where this code resided can be mounted as
a volume with Docker.
* Run the tests on all images: `make test`
* Add awesome features!The tests on Travis are only run directly on that VM. Make sure to run
the full test suite manually before every release.## Release
- Update version in `Cargo.toml`.
- Update `CHANGELOG.md` file.
- Commit your changes.
- Tag the release: `git tag v#.#.#`.
- Run `cargo publish`.[contributing-guide]: http://docs.appsignal.com/appsignal/contributing.html
[coc]: https://docs.appsignal.com/appsignal/code-of-conduct.html
[waffles-page]: https://appsignal.com/waffles