This check in offers alpha support for per process metrics, you can view threads, process CPU usage over time, IO, memory, CPU time, parent process, command, uptime and journal entries. This is unfinished but all major functionality is available and I wanted to make it available to feedback and testing.
18 lines
477 B
Rust
18 lines
477 B
Rust
//! Library interface for socktop_agent functionality
|
|
//! This allows testing of agent functions.
|
|
|
|
pub mod gpu;
|
|
pub mod metrics;
|
|
pub mod proto;
|
|
pub mod state;
|
|
pub mod tls;
|
|
pub mod types;
|
|
pub mod ws;
|
|
|
|
// Re-export commonly used types and functions for testing
|
|
pub use metrics::{collect_journal_entries, collect_process_metrics};
|
|
pub use state::{AppState, CacheEntry};
|
|
pub use types::{
|
|
DetailedProcessInfo, JournalEntry, JournalResponse, LogLevel, ProcessMetricsResponse,
|
|
};
|