Export TempCollector, remove unused ProcessNetStats
- SHA
9c4da63c9fc0e4a8f2f52509c37053909ecce7ad- Parents
-
f1d25b2 - Tree
19fc39f
9c4da63
9c4da63c9fc0e4a8f2f52509c37053909ecce7adf1d25b2
19fc39f| Status | File | + | - |
|---|---|---|---|
| M |
gartop/src/collector/mod.rs
|
4 | 2 |
gartop/src/collector/mod.rsmodified@@ -1,6 +1,6 @@ | ||
| 1 | 1 | //! System data collectors |
| 2 | 2 | //! |
| 3 | -//! Collects CPU, memory, process, network, and disk data from procfs. | |
| 3 | +//! Collects CPU, memory, process, network, disk, and temperature data from procfs/sysfs. | |
| 4 | 4 | |
| 5 | 5 | mod cpu; |
| 6 | 6 | mod disk; |
@@ -9,6 +9,7 @@ mod memory; | ||
| 9 | 9 | mod network; |
| 10 | 10 | mod process; |
| 11 | 11 | mod socket; |
| 12 | +mod temperature; | |
| 12 | 13 | |
| 13 | 14 | pub use cpu::CpuCollector; |
| 14 | 15 | pub use disk::DiskCollector; |
@@ -16,4 +17,5 @@ pub use history::History; | ||
| 16 | 17 | pub use memory::MemoryCollector; |
| 17 | 18 | pub use network::NetworkCollector; |
| 18 | 19 | pub use process::ProcessCollector; |
| 19 | -pub use socket::{SocketCollector, ProcessNetStats}; | |
| 20 | +pub use socket::SocketCollector; | |
| 21 | +pub use temperature::TempCollector; | |