Skip to content

feat(telemetry): cgroup v2 metrics collection and prometheus application scraping (devops sandbox metrics) #108

Closed

Description

@dan-petty

Problem Statement

Ephemeral sandboxes need real-time resource telemetry and application metrics capture to detect memory leaks and performance degradations under load.

Proposed Changes

  1. Implement real-time container telemetry capturing cgroup v2 metrics (CPU utilization %, memory RSS, page faults, open file descriptors, network RX/TX bytes).
  2. Implement Prometheus application scraping on /metrics endpoints for error rates and latency histograms.
  3. Emit automated threshold warnings for memory leak trajectories and resource limits.
  4. Expose CLI command devops sandbox metrics.

Acceptance Criteria

  • Real-time cgroup v2 metrics and Prometheus endpoint scraping.
  • Automated threshold alerts and Rich formatting.
  • Passes all CI quality gates with >=90% test coverage.

Activity

  1. added this to the v0.2.16 milestone on Sep 10, 2026
  2. added
    type/feature
    scope/telemetry
    priority/p1-high
    on Sep 10, 2026
  3. modified the milestones: v0.2.16, v0.2.17 on Sep 12, 2026
  4. added
    status/in-progress
    and removed on Sep 12, 2026
  5. added and removed
    status/in-progress
    on Sep 12, 2026
  6. added a commit that references this issue on Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p1-highscope/telemetrytype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions