Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
Loading...
Searching...
No Matches
health_status.h File Reference

Health status thresholds and monitoring for thread pools. More...

#include <chrono>
#include <cstdint>
#include <iomanip>
#include <map>
#include <sstream>
#include <string>
#include <vector>
Include dependency graph for health_status.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::thread::diagnostics::health_thresholds
 Configurable thresholds for health status determination. More...
 
struct  kcenon::thread::diagnostics::component_health
 Health status of a single component. More...
 
struct  kcenon::thread::diagnostics::health_status
 Comprehensive health status of the thread pool. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::thread
 Core threading foundation of the thread system library.
 
namespace  kcenon::thread::diagnostics
 

Enumerations

enum class  kcenon::thread::diagnostics::health_state { kcenon::thread::diagnostics::health_state::healthy , kcenon::thread::diagnostics::health_state::degraded , kcenon::thread::diagnostics::health_state::unhealthy , kcenon::thread::diagnostics::health_state::unknown }
 Overall health state of a component or system. More...
 

Functions

auto kcenon::thread::diagnostics::health_state_to_string (health_state state) -> std::string
 Converts health_state to human-readable string.
 
auto kcenon::thread::diagnostics::health_state_to_http_code (health_state state) -> int
 Gets HTTP status code for health state.
 

Detailed Description

Health status thresholds and monitoring for thread pools.

See also
thread_pool_diagnostics

Definition in file health_status.h.