Skip to main content

Performance Monitor Ontology

Monitoring Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 04 November 2026
Audio Overview
SEMANTIC LIBRARY — PERFORMANCE MONITOR ONTOLOGY
FLOW ALGEBRA v1.0 | 04 November 2026
Authors: Mark Anthony Higgins — Sky, Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/monitoring-entities/performance-monitor-ontology.html
Status: Companion formalisation. The source page identifies the ontology, but its expanded specification was not available in the accessible page text. The rules below are a proposed model, not a verbatim transcription.

1. PURPOSE
Represent a performance monitor as a bounded, auditable entity that observes AI-system measurements, compares them with declared service objectives and baselines, detects deviations, and recommends or triggers only authorised responses.

2. ENTITY DEFINITION
PerformanceMonitor M = (id, target, metric_set, window, baseline, thresholds, policy, evidence, status, version).
Metric observation o = (metric_id, value, unit, timestamp, source, quality, context).
Evaluation e = (monitor_id, window_id, observed, expected, deviation, severity, confidence, evidence_ids).
Action a = (kind, target, rationale, authorisation, idempotency_key, outcome).

3. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: observations, declared targets and operational context.
R_t: metric definitions, aggregation rules, anomaly tests, escalation policies.
B_t: observation windows, data quality limits, permissions, resource and safety bounds.
K_t: verified baselines, prior evaluations, incidents, responses and provenance.
E_t = expand(I_t, R_t)
V_t = {x in E_t | valid(x, B_t) and evidence_supported(x, K_t)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t, verified_observations)
NOTE: The argmax is a ranking abstraction, not proof of calibrated probabilities.

4. METRIC FAMILIES
- Latency: p50, p95, p99 response time in milliseconds.
- Throughput: successful operations per unit time.
- Availability: successful service time or requests divided by eligible total.
- Reliability: error rate, timeout rate, retry rate.
- Resource utilisation: CPU, memory, accelerator, queue depth, storage.
- Model quality: accuracy, task success, calibration or benchmark-specific scores where labelled ground truth exists.
- Cost and efficiency: compute time, energy, cost per successful operation.
Every metric requires a unit, collection method, population and aggregation window.

5. FORMAL FLOW
F_PERFORMANCE_MONITOR:
  INPUT(target, observations, metric_schema, baseline, thresholds, policy)
  -> VALIDATE(identity, timestamps, units, source_integrity, consent_and_access)
  -> NORMALISE(metric_units, dimensions, aggregation_window)
  -> AGGREGATE(valid_observations)
  -> COMPARE(aggregate, baseline, service_objectives)
  -> CLASSIFY(normal | warning | critical | unknown)
  -> EXPLAIN(deviation, confidence, evidence, limitations)
  -> SELECT(notify | investigate | recommend_mitigation | no_action)
  -> AUTHORISE(action, policy)
  -> RECORD(evaluation, decision, provenance)
  -> VERIFY(outcome)
  -> UPDATE(monitor_state, knowledge)
  -> OUTPUT(report, status, authorised_action_or_none).

6. STATE TRANSITIONS
UNCONFIGURED -> CONFIGURED: metric definitions and policy accepted.
CONFIGURED -> COLLECTING: authorised collection begins.
COLLECTING -> EVALUATING: minimum valid sample threshold met.
EVALUATING -> HEALTHY: all evaluated limits satisfied.
EVALUATING -> DEGRADED: warning condition supported by evidence.
EVALUATING -> CRITICAL: critical condition supported by evidence.
ANY_NONTERMINAL -> UNKNOWN: stale, missing or untrustworthy evidence.
DEGRADED/CRITICAL -> RECOVERING: approved mitigation underway.
RECOVERING -> HEALTHY: recovery checks pass over required window.
ANY_NONTERMINAL -> PAUSED: collection or evaluation intentionally suspended.
PAUSED -> COLLECTING: explicit resume authorisation.
ANY_NONTERMINAL -> RETIRED: monitoring target decommissioned.
A retired monitor cannot issue new operational actions without reactivation.

7. INFERENCE RULES
R1: valid(o) iff schema_match(o) and trusted_source(o) and acceptable_freshness(o).
R2: unknown(e) if sample_count(e) < min_samples or data_quality(e) < quality_floor.
R3: warning(e) if observed_metric crosses warning_threshold with sufficient evidence.
R4: critical(e) if observed_metric crosses critical_threshold with sufficient evidence.
R5: alert(e) only if severity(e) in {warning, critical} and not suppressed_by_policy(e).
R6: action_permitted(a) iff policy_allows(a) and scope_valid(a) and authorisation_valid(a).
R7: recovered(e) only if metrics return within recovery bounds for the specified confirmation window.
R8: a missing observation is not proof of healthy performance.
R9: compare like-for-like populations and time windows; otherwise classify comparison as uncertain.
R10: preserve raw measurements and evaluation lineage for auditability where retention policy permits.

8. TRI-MAPPING
Semantic: PerformanceMonitor -> observes -> AI_System / AI_Model / AI_Service.
Formal: observations O -> aggregate A(O) -> deviation D -> severity C(D) -> policy action P(C).
Operational: telemetry collector -> validator -> evaluator -> alert/report -> approved response -> audit log.

9. ENTITY RELATIONSHIPS
PerformanceMonitor --monitors--> TargetEntity
PerformanceMonitor --uses--> MetricDefinition
PerformanceMonitor --comparesAgainst--> Baseline
PerformanceMonitor --governedBy--> MonitoringPolicy
Observation --generatedBy--> TelemetrySource
Evaluation --supportedBy--> Observation
Evaluation --mayRaise--> AlertEntity
AlertEntity --mayRequest--> RecoveryAction
RecoveryAction --requires--> AuthorisationEntity
PerformanceMonitor --records--> MonitoringHistory

10. MAPPING TABLE
Concept | Input | Rule | Output
Observation | telemetry event | validity + provenance | accepted/rejected sample
Window | accepted samples | aggregation + minimum count | aggregate
Deviation | aggregate + baseline | compatible comparison | signed difference
Severity | deviation + threshold | bounded classifier | healthy/warning/critical/unknown
Decision | severity + policy | permission and suppression check | report or candidate action
Outcome | executed approved action | post-action verification | verified result or unresolved

11. MINI RECURSION ENGINE
At cycle t:
  ingest observations for window W_t;
  validate and aggregate;
  evaluate deviations and uncertainty;
  select a bounded next step;
  request approval where required;
  record decision and evidence;
  update K_(t+1) only with verified outcomes;
  repeat until stopped, retired or cycle budget exhausted.
Recursion constraints: max_cycles, time_budget, rate_limit, alert_deduplication, stop_signal.
No recursive step may bypass authorisation or silently redefine the baseline.

12. EXECUTION GUARANTEES (CONDITIONAL)
G1: If observations are valid and rules deterministic, identical inputs yield identical classifications for the same version.
G2: Every emitted alert references a metric, time window, threshold and supporting evidence.
G3: Unauthorised actions are not executed by this formal flow.
G4: Unknown data quality is surfaced explicitly, not silently treated as healthy.
G5: Every state transition has an auditable reason and timestamp.
These are design invariants, not empirical guarantees of a deployed implementation; they require testing and enforcement.

13. AI SEARCH FLOW
FLOW_ID: semantic-library.ai-core.monitoring.performance-monitor.v1
TITLE: Performance Monitor Ontology — Flow Algebra
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/monitoring-entities/performance-monitor-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/monitoring-entities/performance-monitor-ontology.html
PURPOSE: Define measurable, evidence-based monitoring of AI performance and authorised response pathways.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: PerformanceMonitor, TargetEntity, MetricDefinition, Observation, Baseline, Evaluation, AlertEntity, MonitoringPolicy, RecoveryAction, MonitoringHistory
PATHWAYS: collect > validate > aggregate > compare > classify > explain > authorise > record > verify
INFERENCE_RULES: R1-R10
CONFIDENCE: Evidence-dependent; no universal numeric confidence asserted.
SEMANTIC_EQUIVALENCE: performance monitoring ~ telemetry evaluation, subject to scope and metric definitions.
UPDATE_MODEL: versioned definitions, signed policy changes, retained provenance.
FLOW_HASH: compute SHA-256 from the final published UTF-8 file; not preassigned.

14. HOW TO READ
Read each arrow as a constrained transformation, not an automatic external action. The monitor can propose mitigation, but actual intervention depends on explicit policy, permissions and verification. A performance warning is evidence of deviation from a defined reference, not by itself proof of root cause.

15. EXAMPLE
Target: model API. Metric: p95 latency (ms), 5-minute window.
Baseline: 450 ms. Warning threshold: 700 ms. Critical threshold: 1200 ms.
Observed p95: 820 ms from sufficient valid samples.
Classification: WARNING. Output: timestamped alert with observation IDs and recommendation to investigate queue depth.
No restart or deployment change occurs unless independently authorised.

END OF FLOW
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ