2个版本
使用旧的Rust 2015
| 0.0.2 | 2016年12月9日 | 
|---|---|
| 0.0.1 | 2016年9月3日 | 
#9 in #reporter
115KB
 2.5K  SLoC
这是一个用Rust编写的第一类Prometheus报告器。这还是一个早期的工作。这个库目前与metrics捆绑在一起,但我们打算在稳定后将其作为独立的项目推出。Rust metrics使用这个库来实现Prometheus集成。总体目标是提供一个库,为任何Rust应用程序或库提供Prometheus支持。我们使用一个独立的系统线程来收集指标的模式。
本地开发
- 
为 protoc二进制安装protobuf在OS X上,可以使用Homebrew brew install protobuf在Ubuntu上,可以安装 protobuf-compiler软件包,并在travis文件中找到更完整的依赖列表apt-get install protobuf-compiler
- 
安装rust protoc插件cargo install protobuf并确保生成的二进制文件位于 $HOME/.cargo/bin中,并添加到您的路径中。
- 
然后您应该可以使用cargo 
   cargo build # to build the code
   cargo test # to run the tests
## License
`prometheus reporter` is primarily distributed under the terms of both the MIT license and the
Apache License (Version 2.0).
See [LICENSE-APACHE](LICENSE-APACHE), [LICENSE-MIT](LICENSE-MIT) for details.
Copyright (c) 2016 Alex Newman.
依赖关系
~6.5MB
~147K SLoC