Skip to content

[feat] Full live environment support for all features #7

Description

@mrVectorz

Summary

Several features currently only work in sosreport (--local) mode and need to be extended to work on live systems:

Container filters on live systems

The container filter flags (--container-name, --pod-name, --container-id, --annotation, --pci-device) added in #2 are restricted to --local mode. Supporting them on live systems requires implementing load_all_container_data() for live environments (currently it only works with sosreport directories). On a live system, this would enumerate all containers via crictl ps / crictl inspect and build the same data structures that the sosreport path uses.

Live environment testing

There is currently no test coverage for live system mode. We need:

  • A test harness that can validate live-mode behavior (possibly using mock /proc and /sys trees, or a containerized test environment)
  • Tests for filter flags on live systems once they are supported
  • Validation that all analyzers (IRQ, NUMA, LLC) produce consistent output between live and sosreport modes for the same system

Scope

  • Implement load_all_container_data() for live systems in shared_data.py
  • Remove the --local requirement for filter flags
  • Add live-path pod_name/annotations fields where missing (partially done in numa/llc analyzers for single-container paths)
  • Add test infrastructure for live mode validation

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions