Files
git.stella-ops.org/docs/features/unchecked/cli/runtime-observations-query-cli.md

23 lines
1.0 KiB
Markdown

# Runtime Observations Query CLI
## Module
Cli
## Status
IMPLEMENTED
## Description
CLI commands for querying historical runtime observations filtered by symbol name (glob pattern), node hash, container, pod, or namespace with time window filtering. Complements function-map verification for runtime linkage analysis.
## Implementation Details
- **Command Group**: `src/Cli/StellaOps.Cli/Commands/Observations/ObservationsCommandGroup.cs` -- `ObservationsCommandGroup` for runtime observations
- **Commands**:
- `stella obs query` -- query runtime observations. Options: `--symbol <glob>`, `--node <hash>`, `--container <name>`, `--pod <name>`, `--namespace <ns>`, `--from <time>`, `--to <time>`, `--format table|json`
## E2E Test Plan
- [ ] Run `stella obs query --symbol "org.example.*"` and verify glob pattern matching
- [ ] Run with `--container my-app` and verify container filtering
- [ ] Run with `--from 2024-01-01 --to 2024-12-31` and verify time window filtering
- [ ] Verify pagination support
- [ ] Verify `--format json` output