Skip to main content

Crate perfgate_sensor

Crate perfgate_sensor 

Source
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.
PerfgateReport
A performance report wrapping compare results in a cockpit-compatible envelope.
SensorArtifact
An artifact produced by the sensor.
SensorCapabilities
Capabilities available to the sensor.
SensorFinding
A finding from the sensor.
SensorReport
The sensor.report.v1 envelope for cockpit integration.
SensorReportBuilder
Builder for creating SensorReports.
SensorRunMeta
Run metadata for the sensor report.
SensorVerdict
Verdict for the sensor report.
SensorVerdictCounts
Verdict counts for the sensor report.
ToolInfo

Enums§

BenchOutcome
CapabilityStatus
Capability status for “No Green By Omission” principle.
SensorSeverity
Severity level for sensor findings (cockpit vocabulary).
SensorVerdictStatus
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.