Operational Reliability Reports
Latency Budget Reliability Report
Compare observed latency with a target budget and report the latency status.
Latency Budget Reliability Report
latency_budget_reliability_report.cpp
#include <iostream>
#include <string>
int main() {
int observedMs = ;
int targetMs = 200;
std::string status = "watch";
if (observedMs <= targetMs / 2 + 30) {
status = "fast";
}
if (observedMs > targetMs) {
status = "slow";
}
std::cout << "observed=" << observedMs << std::endl;
std::cout << "target=" << targetMs << std::endl;
std::cout << "status=" << status << std::endl;
return 0;
}
#include <iostream>
#include <string>
int main() {
int observedMs = ;
int targetMs = 200;
std::string status = "watch";
if (observedMs <= targetMs / 2 + 30) {
status = "fast";
}
if (observedMs > targetMs) {
status = "slow";
}
std::cout << "observed=" << observedMs << std::endl;
std::cout << "target=" << targetMs << std::endl;
std::cout << "status=" << status << std::endl;
return 0;
}
#include <iostream>
#include <string>
int main() {
int observedMs = ;
int targetMs = 200;
std::string status = "watch";
if (observedMs <= targetMs / 2 + 30) {
status = "fast";
}
if (observedMs > targetMs) {
status = "slow";
}
std::cout << "observed=" << observedMs << std::endl;
std::cout << "target=" << targetMs << std::endl;
std::cout << "status=" << status << std::endl;
return 0;
}
latency budget
The target budget gives every observed latency a clear comparison point.
latency label
The label summarizes whether the report is fast, watchful, or slow.