parseable
parseable copied to clipboard
feat: add sysinfo metrics
collect CPU usage, memory usage of the server collect disk usage of the volume - data, staging, hot-tier add these metrics to Prometheus Metrics
export these metrics to cluster metrics API add the metrics to pmeta stream add the querier node's sysinfo metrics to pmeta and cluster metrics API
Summary by CodeRabbit
- New Features
- Added comprehensive system metrics collection, including disk, memory, and CPU usage, with Prometheus integration for real-time monitoring.
- Improvements
- Enhanced metrics endpoints to include system and disk resource usage details.
- Streamlined internal log ingestion for improved performance.
- Initialization processes now consistently start system and cluster metrics schedulers asynchronously.
- Refactor
- Simplified stream writing logic by always writing records to disk, removing conditional checks based on stream type.
- Bug Fixes
- Corrected naming and usage of metrics scheduler functions for consistency.