Expand description
Cockpit mode and sensor report generation.
This crate provides functionality for generating sensor.report.v1 JSON
envelopes compatible with external performance monitoring tools like Cockpit.
Part of the perfgate workspace.
Structs§
- Capability
- A capability with its status and optional reason.
- Perfgate
Report - A performance report wrapping compare results in a cockpit-compatible envelope.
- Sensor
Artifact - An artifact produced by the sensor.
- Sensor
Capabilities - Capabilities available to the sensor.
- Sensor
Finding - A finding from the sensor.
- Sensor
Report - The sensor.report.v1 envelope for cockpit integration.
- Sensor
Report Builder - Builder for creating SensorReports.
- Sensor
RunMeta - Run metadata for the sensor report.
- Sensor
Verdict - Verdict for the sensor report.
- Sensor
Verdict Counts - Verdict counts for the sensor report.
- Tool
Info
Enums§
- Bench
Outcome - Capability
Status - Capability status for “No Green By Omission” principle.
- Sensor
Severity - Severity level for sensor findings (cockpit vocabulary).
- Sensor
Verdict Status - Verdict status for the sensor report.
- Severity
- Severity level for a finding.
Constants§
- CHECK_
ID_ TOOL_ TRUNCATION - Check ID for tool-level truncation findings.
- FINDING_
CODE_ TRUNCATED - Error code for tool-level truncation.
- SENSOR_
REPORT_ SCHEMA_ V1
Functions§
- default_
engine_ capability - sensor_
fingerprint - Generates a fingerprint for a set of findings.