Skip to content

feat: add more host metrics - #1616

Merged
dobrac merged 4 commits into
mainfrom
feat/add-more-host-metrics
Dec 15, 2025
Merged

feat: add more host metrics#1616
dobrac merged 4 commits into
mainfrom
feat/add-more-host-metrics

Conversation

@dobrac

@dobrac dobrac commented Dec 15, 2025

Copy link
Copy Markdown
Contributor

Add metrics per host for:

  • file descriptors
  • context switches
  • threads count

Note

Enables process metrics and aggregates them per node into host-level metrics for open file descriptors, context switches, and thread count.

  • Observability (otel-collector) in iac/provider-gcp/nomad/configs/otel-collector.yaml:
    • Receivers:
      • Enable process receiver (with mute_process_all_errors: true) and collect selected metrics: process.open_file_descriptors, process.context_switches, process.threads.
    • Processors:
      • Add metricstransform/aggregate_process_metrics to rename and aggregate per node.id:
        • process.open_file_descriptorssystem.open_file_descriptors (sum)
        • process.context_switchessystem.context_switches (sum)
        • process.threadssystem.threads (sum)
    • Pipelines:
      • Update metrics/host to include metricstransform/aggregate_process_metrics alongside existing processors.

Written by Cursor Bugbot for commit e588b2a. This will update automatically on new commits. Configure here.

Comment thread iac/provider-gcp/nomad/configs/otel-collector.yaml
Comment thread iac/provider-gcp/nomad/configs/otel-collector.yaml Outdated

Copilot AI commented Dec 15, 2025

Copy link
Copy Markdown

@dobrac I've opened a new pull request, #1617, to work on those changes. Once the pull request is ready, I'll request review from you.

@dobrac
dobrac marked this pull request as ready for review December 15, 2025 19:18
@jakubno jakubno assigned jakubno and unassigned sitole Dec 15, 2025
@dobrac
dobrac merged commit fbc53ed into main Dec 15, 2025
29 checks passed
@dobrac
dobrac deleted the feat/add-more-host-metrics branch December 15, 2025 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants