Skip to content

feat: add sysinfo metrics#1139

Open
nikhilsinhaparseable wants to merge 3 commits intoparseablehq:mainfrom
nikhilsinhaparseable:add-sysinfo-metrics
Open

feat: add sysinfo metrics#1139
nikhilsinhaparseable wants to merge 3 commits intoparseablehq:mainfrom
nikhilsinhaparseable:add-sysinfo-metrics

Conversation

@nikhilsinhaparseable
Copy link
Copy Markdown
Contributor

@nikhilsinhaparseable nikhilsinhaparseable commented Jan 29, 2025

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.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants