feature: qSOFA Scoring & Sepsis Bundle Compliance
This commit is contained in:
@@ -11,7 +11,7 @@ public sealed class ClinicalMetrics
|
||||
"Total observations ingested, labeled by observation code and source.",
|
||||
labelNames: new[] { "observation_code", "source" });
|
||||
|
||||
// Labeled by alert_type (THRESHOLD_BREACH, SEPSIS_WARNING) and severity
|
||||
// Labeled by alert_type (THRESHOLD_BREACH, SEPSIS_WARNING, QSOFA_WARNING) and severity
|
||||
// (Critical, Warning) so the dashboard can show Critical vs Warning rates separately.
|
||||
public readonly Counter ClinicalAlertsTotal = Metrics.CreateCounter(
|
||||
"clinical_alerts_total",
|
||||
@@ -46,6 +46,15 @@ public sealed class ClinicalMetrics
|
||||
"Total alert suppression windows set after acknowledgment.",
|
||||
labelNames: new[] { "alert_type" });
|
||||
|
||||
public readonly Counter QsofaDetectionsTotal = Metrics.CreateCounter(
|
||||
"qsofa_detections_total",
|
||||
"Total QSOFA_WARNING alerts generated by the qSOFA scoring engine.");
|
||||
|
||||
public readonly Counter SepsisBundleComplianceTotal = Metrics.CreateCounter(
|
||||
"sepsis_bundle_compliance_total",
|
||||
"Sepsis bundle compliance outcomes.",
|
||||
labelNames: new[] { "status" });
|
||||
|
||||
// --- Histograms ---
|
||||
|
||||
// Measures the full ingest transaction: Redis cache lookup + alert evaluation +
|
||||
|
||||
Reference in New Issue
Block a user