Expand description
sentinel-core: core library for perf-sentinel.
Provides the analysis pipeline for detecting performance anti-patterns in runtime traces (SQL queries, HTTP calls).
Re-exports§
pub use report::interpret::InterpretationLevel;
Modules§
- acknowledgments
- Ignore rules / acknowledgments for findings.
- calibrate
- Calibration mode: tune I/O-to-energy coefficients from real measurements.
- config
- Configuration parsing for
.perf-sentinel.toml. - correlate
- Correlation stage: groups normalized events by trace ID into traces.
- detect
- Detection stage: identifies performance anti-patterns in traces.
- diff
- Diff stage: compare two analysis reports and produce a delta.
- event
- Core event types for the perf-sentinel pipeline.
- explain
- Explain mode: builds a tree view of a trace with findings annotated inline.
- ingest
- Ingestion stage: reads raw events from various sources.
- normalize
- Normalization stage: canonicalizes SQL queries and HTTP URLs.
- pipeline
- Pipeline: wires all stages together.
- quality_
gate - Quality gate evaluation: checks findings and
GreenOpsmetrics against thresholds. - report
- Report stage: outputs analysis results.
- score
- Scoring stage: computes
GreenOpsI/O intensity scores. - text_
safety - Pure helpers used by every text renderer that prints attacker-controlled strings to a terminal: ANSI/OSC 8 stripping, BiDi/invisible-format filtering and HTTPS URL gating.