Skip to content

fix(sandbox): remediate pr 164 review findings on sandbox metrics collection #167

Closed

Description

@dan-petty

Problem Statement

Code review on PR #164 identified several refinements for the sandbox metrics subsystem:

  1. Reused CLI timeout help text (HELP.sandbox.timeout describing SIGKILL instead of scrape timeout).
  2. Missing OpenTelemetry tracing spans and metrics on devops sandbox metrics and WorkloadSandboxEngine.metrics().
  3. Cumulative cpu.stat:usage_usec clamped to 100 without interval/sampling delta.
  4. Missing SSRF boundary check on Prometheus scrape endpoint.
  5. Scrape errors collapsed into empty list without warning or error indicators in SandboxMetricsSnapshot.
  6. Prometheus label parser not unescaping standard exposition escape sequences (\", \\, \n).
  7. Memory leak trajectory and histogram latency degradation detection in evaluator.
  8. Unpopulated network I/O bytes in cgroup/docker collectors.
  9. Evaluator unrecognized status label in HTTP metrics (only checked code).

Acceptance Criteria

Activity

  1. added this to the v0.2.17 milestone on Sep 12, 2026
  2. added
    type/bug
    scope/telemetry
    priority/p1-high
    status/in-progress
    on Sep 12, 2026
  3. added
    status/in-review
    and removed
    status/in-progress
    on Sep 12, 2026
  4. added and removed
    status/in-review
    on Sep 12, 2026
  5. 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/bug

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions